lua-users home
lua-l archive

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


Can someone point me to an example of a C function that returns a table?  I
have the need to read a directory and place the filenames in a table.
While I could decompose this with wrappers for opendir(), readdir(), and
closedir(), I would rather just return everything in a single table in one
shot.