- enable flags in fs.h (O_RDONLY O_WRONLY O_RDWR)
This commit is contained in:
parent
c7012f7bc0
commit
9c7b565344
1 changed files with 4 additions and 4 deletions
|
@ -44,12 +44,12 @@
|
|||
|
||||
/*open flags*/
|
||||
|
||||
//#define O_RDONLY 0
|
||||
//#define O_WRONLY 1
|
||||
//#define O_RDWR 2
|
||||
#define O_RDONLY 0
|
||||
#define O_WRONLY 1
|
||||
#define O_RDWR 2
|
||||
|
||||
#define O_CREAT 64
|
||||
#define O_EXCL 128
|
||||
#define O_EXCL 128
|
||||
//#define O_NOCTTY 256
|
||||
#define O_TRUNC 512
|
||||
#define O_APPEND 1024
|
||||
|
|
Loading…
Add table
Reference in a new issue