4 * Derived from the mingw header written by Colin Peters.
5 * Modified for Wine use by Jon Griffiths and Francois Gouget.
6 * This file is in the public domain.
16 #define _O_ACCMODE (_O_RDONLY|_O_WRONLY|_O_RDWR)
17 #define _O_APPEND 0x0008
18 #define _O_RANDOM 0x0010
19 #define _O_SEQUENTIAL 0x0020
20 #define _O_TEMPORARY 0x0040
21 #define _O_NOINHERIT 0x0080
22 #define _O_CREAT 0x0100
23 #define _O_TRUNC 0x0200
24 #define _O_EXCL 0x0400
25 #define _O_SHORT_LIVED 0x1000
26 #define _O_TEXT 0x4000
27 #define _O_BINARY 0x8000
28 #define _O_RAW _O_BINARY
30 #define _O_WTEXT 0x10000
31 #define _O_U16TEXT 0x20000
32 #define _O_U8TEXT 0x40000
34 #define O_RDONLY _O_RDONLY
35 #define O_WRONLY _O_WRONLY
36 #define O_RDWR _O_RDWR
37 #define O_ACCMODE _O_ACCMODE
38 #define O_APPEND _O_APPEND
39 #define O_RANDOM _O_RANDOM
40 #define O_SEQENTIAL _O_SEQUENTIAL
41 #define O_TEMPORARY _O_TEMPORARY
42 #define O_NOINHERIT _O_NOINHERIT
43 #define O_CREAT _O_CREAT
44 #define O_TRUNC _O_TRUNC
45 #define O_EXCL _O_EXCL
46 #define O_TEXT _O_TEXT
47 #define O_BINARY _O_BINARY
48 #define O_RAW _O_BINARY
50 #endif /* __WINE_FCNTL_H */