Magnus Hagander <mag...@hagander.net> writes:
> Yeah, Windows does not have those API calls, but it shouldn't be rocket
> science to write a wrapper for it. The standard windows APIs can do the
> same thing -- but they'll need access to the HANDLE for the file and not
> the posix file descriptor.
> It also has things like ReadFileScatter() (
> which is not the same, but might also be interesting as a future
That looks a lot like POSIX readv()
and as far as I can tell it has the same issue as it in that it doesn't
take an offset argument, but requires you to seek first.
Linux and modern BSDs however have preadv()
which takes an offset and an iovec array. I don't know if Windows and
other platforms have anything similar.
- Twitter seems more influential [than blogs] in the 'gets reported in
the mainstream press' sense at least. - Matt McLeod
- That'd be because the content of a tweet is easier to condense down
to a mainstream media article. - Calle Dybedahl
Sent via pgsql-hackers mailing list (email@example.com)
To make changes to your subscription: