Add memtest support.
[syslinux-debian/hramrach.git] / com32 / include / fcntl.h
blobc8a9cb52624fab2370171d023cc10293fccbe8f4
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_DIRECTORY 010
18 #define O_CREAT 0100
19 #define O_EXCL 0200
20 #define O_TRUNC 01000
21 #define O_APPEND 02000
23 __extern int open(const char *, int, ...);
25 #endif /* _FCNTL_H */