Fixed some issues found by winapi_check.
[wine] / include / msvcrt / fcntl.h
1 /*
2  * File definitions
3  *
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.
7  */
8 #ifndef __WINE_FCNTL_H
9 #define __WINE_FCNTL_H
10
11
12 #define _O_RDONLY      0
13 #define _O_WRONLY      1
14 #define _O_RDWR        2
15 #define _O_ACCMODE     (_O_RDONLY|_O_WRONLY|_O_RDWR)
16 #define _O_APPEND      0x0008
17 #define _O_RANDOM      0x0010
18 #define _O_SEQUENTIAL  0x0020
19 #define _O_TEMPORARY   0x0040
20 #define _O_NOINHERIT   0x0080
21 #define _O_CREAT       0x0100
22 #define _O_TRUNC       0x0200
23 #define _O_EXCL        0x0400
24 #define _O_SHORT_LIVED 0x1000
25 #define _O_TEXT        0x4000
26 #define _O_BINARY      0x8000
27 #define _O_RAW         _O_BINARY
28
29
30 #ifndef USE_MSVCRT_PREFIX
31 #define O_RDONLY    _O_RDONLY
32 #define O_WRONLY    _O_WRONLY
33 #define O_RDWR      _O_RDWR
34 #define O_ACCMODE   _O_ACCMODE
35 #define O_APPEND    _O_APPEND
36 #define O_RANDOM    _O_RANDOM
37 #define O_SEQENTIAL _O_SEQUENTIAL
38 #define O_TEMPORARY _O_TEMPORARY
39 #define O_NOINHERIT _O_NOINHERIT
40 #define O_CREAT     _O_CREAT
41 #define O_TRUNC     _O_TRUNC
42 #define O_EXCL      _O_EXCL
43 #define O_TEXT      _O_TEXT
44 #define O_BINARY    _O_BINARY
45 #define O_RAW       _O_BINARY
46 #endif /* USE_MSVCRT_PREFIX */
47
48 #endif /* __WINE_FCNTL_H */