blob: 1256d8100a91539ea5d346c83b554b75c30f0683 [file] [log] [blame]
Guido van Rossumb6775db1994-08-01 11:34:53 +00001# Generated by h2py from stdin
Guido van Rossume30cb841993-12-29 16:37:25 +00002_FOPEN = (-1)
3_FREAD = 0x0001
4_FWRITE = 0x0002
5_FNDELAY = 0x0004
6_FAPPEND = 0x0008
Guido van Rossumb6775db1994-08-01 11:34:53 +00007_FSETBLK = 0x0010
Guido van Rossume30cb841993-12-29 16:37:25 +00008_FASYNC = 0x0040
9_FSHLOCK = 0x0080
10_FEXLOCK = 0x0100
11_FCREAT = 0x0200
12_FTRUNC = 0x0400
13_FEXCL = 0x0800
14_FNBIO = 0x1000
15_FSYNC = 0x2000
16_FNONBLOCK = 0x4000
17_FNOCTTY = 0x8000
Guido van Rossumb6775db1994-08-01 11:34:53 +000018_FMARK = 0x10000
19_FDEFER = 0x20000
Guido van Rossume30cb841993-12-29 16:37:25 +000020O_RDONLY = 0
21O_WRONLY = 1
22O_RDWR = 2
23O_APPEND = _FAPPEND
24O_CREAT = _FCREAT
25O_TRUNC = _FTRUNC
26O_EXCL = _FEXCL
27O_NONBLOCK = _FNONBLOCK
28O_NOCTTY = _FNOCTTY
29O_SYNC = _FSYNC
Guido van Rossume30cb841993-12-29 16:37:25 +000030FAPPEND = _FAPPEND
31FSYNC = _FSYNC
32FASYNC = _FASYNC
33FNBIO = _FNBIO
34FNONBIO = _FNONBLOCK
35FNDELAY = _FNDELAY
36FREAD = _FREAD
37FWRITE = _FWRITE
38FMARK = _FMARK
39FDEFER = _FDEFER
Guido van Rossumb6775db1994-08-01 11:34:53 +000040FSETBLK = _FSETBLK
Guido van Rossume30cb841993-12-29 16:37:25 +000041FSHLOCK = _FSHLOCK
42FEXLOCK = _FEXLOCK
43FOPEN = _FOPEN
44FCREAT = _FCREAT
45FTRUNC = _FTRUNC
46FEXCL = _FEXCL
47FNOCTTY = _FNOCTTY
48FD_CLOEXEC = 1
49F_DUPFD = 0
50F_GETFD = 1
51F_SETFD = 2
52F_GETFL = 3
53F_SETFL = 4
54F_GETOWN = 5
55F_SETOWN = 6
56F_GETLK = 7
57F_SETLK = 8
58F_SETLKW = 9
59F_RGETLK = 10
60F_RSETLK = 11
61F_CNVT = 12
62F_RSETLKW = 13
63F_RDLCK = 1
64F_WRLCK = 2
65F_UNLCK = 3
66F_UNLKSYS = 4
Guido van Rossumb6775db1994-08-01 11:34:53 +000067O_ACCMODE = (O_RDONLY|O_WRONLY|O_RDWR)