diff options
author | dzwdz | 2023-08-24 19:10:35 +0200 |
---|---|---|
committer | dzwdz | 2023-08-24 19:10:35 +0200 |
commit | 3e09037780ca95633749be3acd52e817eed7f98c (patch) | |
tree | 83bcf5026cd4383809c81c5f38473a6b1e46755e /src/libc/include/fcntl.h | |
parent | 292b2386d766826b15f5ca084d37aa2c485fdda6 (diff) |
libc: get most of binutils to compile
Diffstat (limited to 'src/libc/include/fcntl.h')
-rw-r--r-- | src/libc/include/fcntl.h | 6 |
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 |