syslinux-3.08-2 sources from FC4
[bootcd.git] / syslinux / com32 / include / fcntl.h
1 /*
2  * fcntl.h
3  */
4
5 #ifndef _FCNTL_H
6 #define _FCNTL_H
7
8 #include <klibc/extern.h>
9 #include <klibc/compiler.h>
10 #include <sys/types.h>
11
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
21
22 __extern int open(const char *, int, ...);
23
24 #endif /* _FCNTL_H */