source: trunk/include/win/msvcrt/fcntl.h@ 10367

Last change on this file since 10367 was 8207, checked in by sandervl, 23 years ago

added

File size: 1.3 KB
Line 
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#define __WINE_USE_MSVCRT
11
12
13#define _O_RDONLY 0
14#define _O_WRONLY 1
15#define _O_RDWR 2
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
29
30
31#ifndef USE_MSVCRT_PREFIX
32#define O_RDONLY _O_RDONLY
33#define O_WRONLY _O_WRONLY
34#define O_RDWR _O_RDWR
35#define O_ACCMODE _O_ACCMODE
36#define O_APPEND _O_APPEND
37#define O_RANDOM _O_RANDOM
38#define O_SEQENTIAL _O_SEQUENTIAL
39#define O_TEMPORARY _O_TEMPORARY
40#define O_NOINHERIT _O_NOINHERIT
41#define O_CREAT _O_CREAT
42#define O_TRUNC _O_TRUNC
43#define O_EXCL _O_EXCL
44#define O_TEXT _O_TEXT
45#define O_BINARY _O_BINARY
46#define O_RAW _O_BINARY
47#endif /* USE_MSVCRT_PREFIX */
48
49#endif /* __WINE_FCNTL_H */
Note: See TracBrowser for help on using the repository browser.