ReactOS 0.4.15-dev-7953-g1f49173
fcntl.h
Go to the documentation of this file.
1
6#include <crtdefs.h>
7
8#ifndef _INC_FCNTL
9#define _INC_FCNTL
10
11#define _O_RDONLY 0x0000
12#define _O_WRONLY 0x0001
13#define _O_RDWR 0x0002
14#define _O_APPEND 0x0008
15#define _O_CREAT 0x0100
16#define _O_TRUNC 0x0200
17#define _O_EXCL 0x0400
18#define _O_TEXT 0x4000
19#define _O_BINARY 0x8000
20#define _O_WTEXT 0x10000
21#define _O_U16TEXT 0x20000
22#define _O_U8TEXT 0x40000
23#define _O_ACCMODE (_O_RDONLY|_O_WRONLY|_O_RDWR)
24
25#define _O_RAW _O_BINARY
26#define _O_NOINHERIT 0x0080
27#define _O_TEMPORARY 0x0040
28#define _O_SHORT_LIVED 0x1000
29
30#define _O_SEQUENTIAL 0x0020
31#define _O_RANDOM 0x0010
32
33#if !defined(NO_OLDNAMES) || defined(_POSIX)
34#define O_RDONLY _O_RDONLY
35#define O_WRONLY _O_WRONLY
36#define O_RDWR _O_RDWR
37#define O_APPEND _O_APPEND
38#define O_CREAT _O_CREAT
39#define O_TRUNC _O_TRUNC
40#define O_EXCL _O_EXCL
41#define O_TEXT _O_TEXT
42#define O_BINARY _O_BINARY
43#define O_RAW _O_BINARY
44#define O_TEMPORARY _O_TEMPORARY
45#define O_NOINHERIT _O_NOINHERIT
46#define O_SEQUENTIAL _O_SEQUENTIAL
47#define O_RANDOM _O_RANDOM
48#define O_ACCMODE _O_ACCMODE
49#endif
50#endif