libc: Add new flags to open()
Since we now have write support, we can add O_WRONLY and O_RDWR to fcntl.h :)
This commit is contained in:
parent
12cf37d0a7
commit
53a4b3b85e
@ -2,6 +2,8 @@
|
|||||||
#define _FCNTL_H
|
#define _FCNTL_H
|
||||||
|
|
||||||
#define O_RDONLY 1
|
#define O_RDONLY 1
|
||||||
|
#define O_WRONLY 2
|
||||||
|
#define O_RDWR 3
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
Loading…
Reference in New Issue
Block a user