Fixed definitions of O_* flags.

This commit is contained in:
dtrg 2010-08-20 19:27:09 +00:00
parent 8efccf82c7
commit d0ac75ea66

View File

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