lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


From: "DirtyFinger" <[email protected]>
>    how can I read the content of a directory ?
>    The only examples I found used some c-libraries or external tools.

For the LuaCheia project we are building a small set of C-functions to do
that.
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/luacheia/luacheia/src/libchei
a/cheiafs.c
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/luacheia/luacheia/src/libchei
a/

Lua itself is strict ANSI-C and that does not support the needed
functions...

-Martin