Fixed definitions of O_* flags.
authordtrg <none@none>
Fri, 20 Aug 2010 19:27:09 +0000 (19:27 +0000)
committerdtrg <none@none>
Fri, 20 Aug 2010 19:27:09 +0000 (19:27 +0000)
plat/linux386/include/unistd.h

index 5cbdc1b..1002da5 100644 (file)
@@ -43,9 +43,9 @@ enum
        O_WRONLY = 1,
        O_RDWR = 2,
        
-       O_CREAT = 0x10,
-       O_TRUNC = 0x20,
-       O_APPEND = 0x40
+       O_CREAT = 0x40,
+       O_TRUNC = 0x200,
+       O_APPEND = 0x400
 };
 
 extern int open(const char* path, int access, ...);