Added a O_ACCMODE flag for GNU compatibility.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-05-28 22:52:11 +02:00
parent 8ae9f6bd79
commit b650c9a8f0
1 changed files with 1 additions and 0 deletions

View File

@ -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