- enable flags in fs.h (O_RDONLY O_WRONLY O_RDWR)

This commit is contained in:
Marian Ohligs 2011-08-02 11:59:26 +02:00
parent c7012f7bc0
commit 9c7b565344

View file

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