lua-users home
lua-l archive

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


> > If it's this easy, why add a special library to what's 
> already there?
> 
> For a very very minimal footprint, using the FILE* operations 
> in the libc means you have to use the libc.  Using direct 
> system calls means you don't, so you can use a smaller 
> runtime library.

And besides fopen/fread/fwrite/tmpfile have some limitations in Windows.

I.e: Up to 512 files may be open simultaneously at the stdio level (that is,
opened and accessed by means of the fopen, fgetc, fputc, and so forth family
of functions).

-- Danilo