[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Windows IO lib
- From: Nodir Temirhodzhaev <tnodir@...>
- Date: Fri, 10 Sep 2004 09:46:50 +0400 (MSD)
> 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?
Yes and more (sockets), take a look at LuaSys (http://lua-users.
org/files/wiki_insecure/users/tnodir/).