lua-users home
lua-l archive

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


From: "DirtyFinger" <dirtyfinger@gmx.net>
>    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