curl-users
Re: Bug report: curl win32 ftruncate64 not working correctly.
From: Brian Dessent <brian_at_dessent.net>
Date: Thu, 13 Dec 2007 23:10:20 -0800
Date: Thu, 13 Dec 2007 23:10:20 -0800
gdb007 wrote:
> file. there is another API SetEndOfFile can do the job, but which
> won't suit curl as it require win32 HANDLE as input and need lots of
> code changes.
That's not a problem, you can get the underlying HANDLE for a fd with
_get_osfhandle(fd).
Brian
Received on 2007-12-14