Usermode - Added O_RDWR and friends to unistd.h
authorJohn Hodge <[email protected]>
Sun, 27 May 2012 05:08:18 +0000 (13:08 +0800)
committerJohn Hodge <[email protected]>
Sun, 27 May 2012 05:08:18 +0000 (13:08 +0800)
Usermode/Libraries/ld-acess.so_src/include_exp/unistd.h

index d7d194d..3dc523a 100644 (file)
@@ -2,6 +2,9 @@
 #define _UNISTD_H_
 
 #define        O_RDWR  (OPENFLAG_READ|OPENFLAG_WRITE)
+#define O_WR   (OPENFLAG_WRITE)
+#define O_RD   (OPENFLAG_READ)
+#define O_CREAT        (OPENFLAG_CREATE)
 
 #include "acess/sys.h"
 

UCC git Repository :: git.ucc.asn.au