Fixed definitions of O_* flags.
This commit is contained in:
parent
c326f3c6a3
commit
085f346f8c
1 changed files with 3 additions and 3 deletions
|
@ -43,9 +43,9 @@ enum
|
||||||
O_WRONLY = 1,
|
O_WRONLY = 1,
|
||||||
O_RDWR = 2,
|
O_RDWR = 2,
|
||||||
|
|
||||||
O_CREAT = 0x10,
|
O_CREAT = 0x40,
|
||||||
O_TRUNC = 0x20,
|
O_TRUNC = 0x200,
|
||||||
O_APPEND = 0x40
|
O_APPEND = 0x400
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int open(const char* path, int access, ...);
|
extern int open(const char* path, int access, ...);
|
||||||
|
|
Loading…
Reference in a new issue