29 handle = (HANDLE) _get_osfhandle(
fd);
30 if (handle == INVALID_HANDLE_VALUE)
39 memset(&iosb, 0,
sizeof(iosb));
46 if (NT_SUCCESS(status))
static int fd(const char *x, int i)
void _dosmaperr(unsigned long)
PGDLLIMPORT NtFlushBuffersFileEx_t pg_NtFlushBuffersFileEx
int initialize_ntdll(void)
#define FLUSH_FLAGS_FILE_DATA_SYNC_ONLY
PGDLLIMPORT RtlNtStatusToDosError_t pg_RtlNtStatusToDosError