From: John Hodge Date: Sun, 27 May 2012 05:08:18 +0000 (+0800) Subject: Usermode - Added O_RDWR and friends to unistd.h X-Git-Tag: rel0.15~611^2~68 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=be1f5320115622b322cb49b2780b6cc21b271eda;p=tpg%2Facess2.git Usermode - Added O_RDWR and friends to unistd.h --- diff --git a/Usermode/Libraries/ld-acess.so_src/include_exp/unistd.h b/Usermode/Libraries/ld-acess.so_src/include_exp/unistd.h index d7d194db..3dc523a1 100644 --- a/Usermode/Libraries/ld-acess.so_src/include_exp/unistd.h +++ b/Usermode/Libraries/ld-acess.so_src/include_exp/unistd.h @@ -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"