Adding upstream version 3.61.
[syslinux-debian/hramrach.git] / com32 / include / fcntl.h
blobb691b5cdfefc41f1b79f72ff8a9e27523ab897fa
1 /*
2 * fcntl.h
3 */
5 #ifndef _FCNTL_H
6 #define _FCNTL_H
8 #include <klibc/extern.h>
9 #include <klibc/compiler.h>
10 #include <sys/types.h>
12 /* None of these are actually supported, although O_RDONLY works */
13 /* Note this is different from the classical Unix way of doing it */
14 #define O_RDONLY 1
15 #define O_WRONLY 2
16 #define O_RDWR 3
17 #define O_CREAT 0100
18 #define O_EXCL 0200
19 #define O_TRUNC 01000
20 #define O_APPEND 02000
22 __extern int open(const char *, int, ...);
24 #endif /* _FCNTL_H */