mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Added a O_ACCMODE flag for GNU compatibility.
This commit is contained in:
parent
8ae9f6bd79
commit
b650c9a8f0
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ __BEGIN_DECLS
|
|||
#define O_RDONLY 1
|
||||
#define O_WRONLY 2
|
||||
#define O_RDWR 3
|
||||
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
||||
#define O_EXEC 4
|
||||
#define O_SEARCH 5
|
||||
#define O_LOWERFLAGS 0x7
|
||||
|
|
Loading…
Add table
Reference in a new issue