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 */
17 #define O_DIRECTORY 010
21 #define O_APPEND 02000
23 __extern
int open(const char *, int, ...);