summaryrefslogtreecommitdiff
path: root/src/libc/include/fcntl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libc/include/fcntl.h')
-rw-r--r--src/libc/include/fcntl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libc/include/fcntl.h b/src/libc/include/fcntl.h
index 6338d1f..ba9b9e0 100644
--- a/src/libc/include/fcntl.h
+++ b/src/libc/include/fcntl.h
@@ -11,10 +11,10 @@
#define O_CREAT 0
#define O_EXCL 0
#define O_NONBLOCK 0
-#define O_RDONLY 0
-#define O_RDWR 0
#define O_TRUNC 0
-#define O_WRONLY 0
+#define O_RDONLY 1
+#define O_WRONLY 2
+#define O_RDWR 3
#define R_OK 1
#define W_OK 2