1 |
|
#include <caml/mlvalues.h> |
2 |
|
#include <caml/alloc.h> |
3 |
|
#include <caml/memory.h> |
4 |
|
#include <caml/custom.h> |
5 |
|
#include <caml/callback.h> |
6 |
|
#include <caml/fail.h> |
7 |
|
|
8 |
#include "../../utils/lib/os_stubs.h" |
#include "../../utils/lib/os_stubs.h" |
9 |
|
|
10 |
#ifdef HAS_SIGNALS_H |
#ifdef HAS_SIGNALS_H |
17 |
|
|
18 |
#define UNIX_BUFFER_SIZE 16384 |
#define UNIX_BUFFER_SIZE 16384 |
19 |
|
|
20 |
|
extern void enter_blocking_section(); |
21 |
|
extern void leave_blocking_section(); |
22 |
|
|
23 |
extern int os_read(OS_FD fd, char *buf, int len) |
extern int os_read(OS_FD fd, char *buf, int len) |
24 |
{ |
{ |
25 |
DWORD numread; |
DWORD numread; |
122 |
} |
} |
123 |
} |
} |
124 |
} |
} |
|
|
|