blob: 78dbe70b2ef0148348ecb107f9cb520a20d535d0 [file] [log] [blame]
Guido van Rossume5e73b91994-10-09 23:03:12 +00001# Generated by h2py from /usr/include/sys/fcntl.h
Guido van Rossum725a67e1997-05-13 17:45:56 +00002
3# Included from sys/feature_tests.h
4_POSIX_C_SOURCE = 1
5
6# Included from sys/types.h
7
8# Included from sys/isa_defs.h
9_CHAR_ALIGNMENT = 1
10_SHORT_ALIGNMENT = 2
11_INT_ALIGNMENT = 4
12_LONG_ALIGNMENT = 4
13_LONG_LONG_ALIGNMENT = 4
14_DOUBLE_ALIGNMENT = 4
15_LONG_DOUBLE_ALIGNMENT = 4
16_POINTER_ALIGNMENT = 4
17_MAX_ALIGNMENT = 4
18_ALIGNMENT_REQUIRED = 0
19_CHAR_ALIGNMENT = 1
20_SHORT_ALIGNMENT = 2
21_INT_ALIGNMENT = 4
22_LONG_ALIGNMENT = 4
23_LONG_LONG_ALIGNMENT = 8
24_DOUBLE_ALIGNMENT = 8
25_LONG_DOUBLE_ALIGNMENT = 16
26_POINTER_ALIGNMENT = 4
27_MAX_ALIGNMENT = 16
28_ALIGNMENT_REQUIRED = 1
29_CHAR_ALIGNMENT = 1
30_SHORT_ALIGNMENT = 2
31_INT_ALIGNMENT = 4
32_LONG_ALIGNMENT = 4
33_LONG_LONG_ALIGNMENT = 8
34_DOUBLE_ALIGNMENT = 8
35_LONG_DOUBLE_ALIGNMENT = 8
36_POINTER_ALIGNMENT = 4
37_MAX_ALIGNMENT = 8
38_ALIGNMENT_REQUIRED = 1
39
40# Included from sys/machtypes.h
41SHRT_MIN = -32768
42SHRT_MAX = 32767
43INT_MIN = (-2147483647-1)
44INT_MAX = 2147483647
45LONG_MIN = (-2147483647-1)
46LONG_MAX = 2147483647
47P_MYID = (-1)
48
49# Included from sys/select.h
50
51# Included from sys/time.h
52DST_NONE = 0
53DST_USA = 1
54DST_AUST = 2
55DST_WET = 3
56DST_MET = 4
57DST_EET = 5
58DST_CAN = 6
59DST_GB = 7
60DST_RUM = 8
61DST_TUR = 9
62DST_AUSTALT = 10
63ITIMER_REAL = 0
64ITIMER_VIRTUAL = 1
65ITIMER_PROF = 2
66ITIMER_REALPROF = 3
67SEC = 1
68MILLISEC = 1000
69MICROSEC = 1000000
70NANOSEC = 1000000000
71__CLOCK_REALTIME0 = 0
72CLOCK_VIRTUAL = 1
73CLOCK_PROF = 2
74__CLOCK_REALTIME3 = 3
75CLOCK_REALTIME = __CLOCK_REALTIME3
76CLOCK_REALTIME = __CLOCK_REALTIME0
77TIMER_RELTIME = 0x0
78TIMER_ABSTIME = 0x1
79
80# Included from sys/mutex.h
81
82# Included from sys/dki_lkinfo.h
83
84# Included from sys/dl.h
85NOSTATS = 1
86LSB_NLKDS = 91
87def MUTEX_HELD(x): return (mutex_owned(x))
88
89
90# Included from time.h
91NULL = 0
92CLOCKS_PER_SEC = 1000000
93
94# Included from sys/siginfo.h
95SIGEV_NONE = 1
96SIGEV_SIGNAL = 2
97SIGEV_THREAD = 3
98SI_NOINFO = 32767
99SI_USER = 0
100SI_LWP = (-1)
101SI_QUEUE = (-2)
102SI_TIMER = (-3)
103SI_ASYNCIO = (-4)
104SI_MESGQ = (-5)
105
106# Included from sys/machsig.h
107ILL_ILLOPC = 1
108ILL_ILLOPN = 2
109ILL_ILLADR = 3
110ILL_ILLTRP = 4
111ILL_PRVOPC = 5
112ILL_PRVREG = 6
113ILL_COPROC = 7
114ILL_BADSTK = 8
115NSIGILL = 8
116EMT_TAGOVF = 1
117NSIGEMT = 1
118FPE_INTDIV = 1
119FPE_INTOVF = 2
120FPE_FLTDIV = 3
121FPE_FLTOVF = 4
122FPE_FLTUND = 5
123FPE_FLTRES = 6
124FPE_FLTINV = 7
125FPE_FLTSUB = 8
126NSIGFPE = 8
127SEGV_MAPERR = 1
128SEGV_ACCERR = 2
129NSIGSEGV = 2
130BUS_ADRALN = 1
131BUS_ADRERR = 2
132BUS_OBJERR = 3
133NSIGBUS = 3
134TRAP_BRKPT = 1
135TRAP_TRACE = 2
136NSIGTRAP = 2
137CLD_EXITED = 1
138CLD_KILLED = 2
139CLD_DUMPED = 3
140CLD_TRAPPED = 4
141CLD_STOPPED = 5
142CLD_CONTINUED = 6
143NSIGCLD = 6
144POLL_IN = 1
145POLL_OUT = 2
146POLL_MSG = 3
147POLL_ERR = 4
148POLL_PRI = 5
149POLL_HUP = 6
150NSIGPOLL = 6
151PROF_SIG = 1
152NSIGPROF = 1
153SI_MAXSZ = 128
154def SI_CANQUEUE(c): return ((c) <= SI_QUEUE)
155
156FD_SETSIZE = 1024
157NBBY = 8
Guido van Rossume5e73b91994-10-09 23:03:12 +0000158O_RDONLY = 0
159O_WRONLY = 1
160O_RDWR = 2
161O_NDELAY = 0x04
162O_APPEND = 0x08
163O_SYNC = 0x10
164O_DSYNC = 0x40
165O_RSYNC = 0x8000
166O_NONBLOCK = 0x80
167O_PRIV = 0x1000
168O_CREAT = 0x100
169O_TRUNC = 0x200
170O_EXCL = 0x400
171O_NOCTTY = 0x800
172F_DUPFD = 0
173F_GETFD = 1
174F_SETFD = 2
175F_GETFL = 3
176F_SETFL = 4
177F_SETLK = 6
178F_SETLKW = 7
179F_O_GETLK = 5
180F_SETLK = 6
181F_SETLKW = 7
182F_CHKFL = 8
183F_ALLOCSP = 10
184F_FREESP = 11
185F_ISSTREAM = 13
186F_GETLK = 14
187F_PRIV = 15
188F_NPRIV = 16
189F_QUOTACTL = 17
190F_BLOCKS = 18
191F_BLKSIZE = 19
192F_RSETLK = 20
193F_RGETLK = 21
194F_RSETLKW = 22
195F_GETOWN = 23
196F_SETOWN = 24
197F_REVOKE = 25
Guido van Rossum725a67e1997-05-13 17:45:56 +0000198F_HASREMOTELOCKS = 26
Guido van Rossume5e73b91994-10-09 23:03:12 +0000199F_RDLCK = 01
200F_WRLCK = 02
201F_UNLCK = 03
202F_UNLKSYS = 04
203O_ACCMODE = 3
204FD_CLOEXEC = 1