blob: 8862073241e3ee258557c0163d529ad56028f94d [file] [log] [blame]
Guido van Rossum24cf88d1996-07-30 21:05:10 +00001# Generated by h2py from /usr/include/sys/fcntl.h
2
3
4# Included from machine/endian.h
5_MACHINE_ENDIAN_H_ = 1
6_QUAD_HIGHWORD = 1
7_QUAD_LOWWORD = 0
8LITTLE_ENDIAN = 1234
9BIG_ENDIAN = 4321
10PDP_ENDIAN = 3412
11BYTE_ORDER = LITTLE_ENDIAN
12
13# Included from machine/types.h
14NBBY = 8
15FD_SETSIZE = 256
16O_RDONLY = 0x0000
17O_WRONLY = 0x0001
18O_RDWR = 0x0002
19O_ACCMODE = 0x0003
20FREAD = 0x0001
21FWRITE = 0x0002
22O_NONBLOCK = 0x0004
23O_APPEND = 0x0008
24O_SHLOCK = 0x0010
25O_EXLOCK = 0x0020
26O_ASYNC = 0x0040
27O_FSYNC = 0x0080
28O_CREAT = 0x0200
29O_TRUNC = 0x0400
30O_EXCL = 0x0800
31FMARK = 0x1000
32FDEFER = 0x2000
33FHASLOCK = 0x4000
34O_NOCTTY = 0
35
36FAPPEND = O_APPEND
37FASYNC = O_ASYNC
38FFSYNC = O_FSYNC
39FNONBLOCK = O_NONBLOCK
40FNDELAY = O_NONBLOCK
41O_NDELAY = O_NONBLOCK
42F_DUPFD = 0
43F_GETFD = 1
44F_SETFD = 2
45F_GETFL = 3
46F_SETFL = 4
47F_GETOWN = 5
48F_SETOWN = 6
49F_GETLK = 7
50F_SETLK = 8
51F_SETLKW = 9
52FD_CLOEXEC = 1
53F_RDLCK = 1
54F_UNLCK = 2
55F_WRLCK = 3
56F_WAIT = 0x010
57F_FLOCK = 0x020
58F_POSIX = 0x040
59LOCK_SH = 0x01
60LOCK_EX = 0x02
61LOCK_NB = 0x04
62LOCK_UN = 0x08