LibC: add missing O_EXEC and O_SEARCH

This commit is contained in:
Bananymous 2023-06-10 23:21:43 +03:00
parent e209ca7c82
commit f7de310889
1 changed files with 4 additions and 3 deletions

View File

@ -55,12 +55,13 @@ __BEGIN_DECLS
#define O_RSYNC 0x08000 #define O_RSYNC 0x08000
#define O_SYNC 0x10000 #define O_SYNC 0x10000
#define O_ACCMODE 0x00003 /* bits 0-3 */
/* bits 0-1 */
#define O_RDONLY 0x00001 #define O_RDONLY 0x00001
#define O_WRONLY 0x00002 #define O_WRONLY 0x00002
#define O_RDWR (O_RDONLY | O_WRONLY) #define O_RDWR (O_RDONLY | O_WRONLY)
#define O_SEARCH 0x00004
#define O_EXEC 0x00008
#define O_ACCMODE 0x0000F
/* bit 17 */ /* bit 17 */
#define AT_FDCWD 0x20000 #define AT_FDCWD 0x20000