Adding upstream version 3.30~pre4.
[syslinux-debian/hramrach.git] / com32 / include / unistd.h
blob84120d38fdf9f87f7da8a5f1f1e6b833cf642486
1 /*
2 * unistd.h
3 */
5 #ifndef _UNISTD_H
6 #define _UNISTD_H
8 #include <klibc/extern.h>
9 #include <klibc/compiler.h>
10 #include <stddef.h>
11 #include <sys/types.h>
13 __extern __noreturn _exit(int);
15 __extern int open(const char *, int, ...);
16 __extern int close(int);
18 __extern ssize_t read(int, void *, size_t);
19 __extern ssize_t write(int, const void *, size_t);
21 __extern int isatty(int);
24 /* Standard file descriptor numbers. */
25 #define STDIN_FILENO 0
26 #define STDOUT_FILENO 1
27 #define STDERR_FILENO 2
29 #endif /* _UNISTD_H */