#include "c.h"
#include <windows.h>
Go to the source code of this file.
◆ pg_pread()
Definition at line 20 of file win32pread.c.
21{
25
28 {
30 return -1;
31 }
32
33
34 size =
Min(size, 1024 * 1024 * 1024);
35
36
39
41 {
43 return 0;
44
46 return -1;
47 }
48
50}
static char buf[DEFAULT_XLOG_SEG_SIZE]
static int fd(const char *x, int i)
void _dosmaperr(unsigned long)
References _dosmaperr(), buf, fb(), fd(), Min, and result.