Browse Source

Fixed definitions of O_* flags.

dtrg 13 years ago
parent
commit
d0ac75ea66
1 changed files with 3 additions and 3 deletions
  1. 3 3
      plat/linux386/include/unistd.h

+ 3 - 3
plat/linux386/include/unistd.h

@@ -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, ...);