diff options
Diffstat (limited to 'userland/libc/include/fcntl.h')
-rw-r--r-- | userland/libc/include/fcntl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/userland/libc/include/fcntl.h b/userland/libc/include/fcntl.h index 7f0906d..29134be 100644 --- a/userland/libc/include/fcntl.h +++ b/userland/libc/include/fcntl.h @@ -4,9 +4,10 @@ #define O_WRITE (1 << 2) #define O_CREAT (1 << 3) #define O_TRUNC (1 << 4) +#define O_APPEND (1 << 5) #define O_RDONLY O_READ #define O_WRONLY O_WRITE #define O_RDWR (O_WRITE | O_READ) -int open(const char *file, int flags, int mode); +int open(const char *file, int flags, ...); |