curl-library
Re: FILE * => fd ?
Date: Fri, 10 Aug 2001 04:22:36 +0400
At 22:04 09-08-2001 +0800, Andrew Francis wrote:
>Win32 has it's own native file routines - CreateFile, WriteFile, etc.. the
>stdio functions are just implemented by the standard C library you happen
>to link against.
It is more efficient to use CreateFile and WriteFile, etc under Win32.
>Win16 used to provide <io.h> style I/O routines (open, close etc..)
>and these functions are still available to me in Visual C++ - I'm not sure
>whether they're implemented by the C library or in the actual Win32
>system, though. In either case, I suspect they would also be a thin
>wrapper around the CreateFile-style functions.
These routines are implemented in the MS VC Runtime library. cURL does not
do that much file I/O for this to affect performance. I don't have any
benchmarks btw.
Regards,
-sm
_______________________________________________
Curl-library mailing list
http://curl.haxx.se/libcurl/
Received on 2001-08-10