PostgreSQL Source Code: src/port/win32pwrite.c File Reference (original) (raw)
#include "[c.h](c%5F8h%5Fsource.html)"#include <windows.h>
Include dependency graph for win32pwrite.c:

Go to the source code of this file.
Function Documentation
◆ pg_pwrite()
Definition at line 20 of file win32pwrite.c.
21{
25
28 {
30 return -1;
31 }
32
33 /* Avoid overflowing DWORD. */
34 size = Min(size, 1024 * 1024 * 1024);
35
36 /* Note that this changes the file position, despite not using it. */
39
41 {
43 return -1;
44 }
45
46 return result;
47}
static char buf[DEFAULT_XLOG_SEG_SIZE]
static int fd(const char *x, int i)
void _dosmaperr(unsigned long)
References _dosmaperr(), buf, fb(), fd(), and Min.