2 #ifndef POSIX_HEADERS_MISSING
9 #ifndef STDC_HEADERS_MISSING
16 #include <sys/types.h>
21 #undef POSIX_HEADERS_MISSING
22 #define VERSION "MSDOS Compile"
25 #if __STDC__ && !defined(__minix)
31 #ifdef STDC_HEADERS_MISSING
32 char *strcpy
P((char *s1
, const char *s2
));
33 char *strrchr
P((const char *s
, int c
));
34 int memcmp
P((const void *s1
, const void *s2
, unsigned n
));
35 int strcmp
P((const char *s1
, const char *s2
));
36 int strncmp
P((const char *s1
, const char *s2
, unsigned n
));
37 unsigned strlen
P((const char *s
));
38 void *malloc
P((unsigned size
));
39 void *memset
P((void *s
, int c
, unsigned n
));
40 void exit
P((int status
));
43 #ifdef POSIX_HEADERS_MISSING
44 int close
P((int fd
));
45 int creat
P((const char *path
, int mode
));
46 int open
P((const char *path
, int oflag
, ...));
47 int read
P((int fd
, void *buf
, unsigned nbytes
));
48 int write
P((int fd
, const void *buf
, unsigned nbytes
));
50 off_t lseek
P((int fd
, off_t offset
, int whence
));
51 #define BIGBUFFER 0 /* Can't use a big buffer ... sorry */