lua-users home
lua-l archive

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


>>>>> "DirtyFinger" == DirtyFinger  <dirtyfinger@gmx.net> writes:

    DirtyFinger> Hi, how can I read the content of a directory ?

I'm not a Lua expert, but it seems to me that Lua aims mostly AnsiC
compliance, and AnsiC (or ISO99 C) does not know about directories.

That being said, an interface to the usual (Posix)
readdir/closedir/opendir ... functions would be nice.


-- 

Basile STARYNKEVITCH         http://starynkevitch.net/Basile/ 
email: basile<at>starynkevitch<dot>net 
aliases: basile<at>tunes<dot>org = bstarynk<at>nerim<dot>net
8, rue de la Faïencerie, 92340 Bourg La Reine, France