22 OVERLAPPED overlapped = {0};
26 handle = (HANDLE) _get_osfhandle(
fd);
27 if (handle == INVALID_HANDLE_VALUE)
37 overlapped.Offset = offset;
38 if (!WriteFile(handle,
buf,
size, &result, &overlapped))
static int fd(const char *x, int i)
static pg_noinline void Size size
void _dosmaperr(unsigned long)
ssize_t pg_pwrite(int fd, const void *buf, size_t size, off_t offset)