lua-users home
lua-l archive

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


Hi,

I need an IO lib specifically for Windows, which uses the windows file
management functions.
The list below shows the mapping I would do:

FILE* -> HANDLE
fopen -> CreateFile
fread -> ReadFile
fwrite -> WriteFile
tmpfile -> GetTempFileName + CreateFile
fclose -> CloseHandle

Is this already done?

Thanks,
Danilo