open: fix flags bug

This commit is contained in:
Matheus
2026-05-13 18:25:51 -03:00
parent 5cfc6cf782
commit a02c7cb731
2 changed files with 25 additions and 2 deletions
+1
View File
@@ -42,6 +42,7 @@ int fd_insert(file_t *file, int *fdp, int flags);
#define O_RDONLY 0
#define O_WRONLY 1
#define O_RDWR 2
#define O_ACCMODE 3
#define AT_FDCWD -100
#define O_CREAT 0100