blob: ef50a9cb2b7236d52ee5720aa6bc7fe5392775f4 [file] [log] [blame]
Guido van Rossum2242f2f2001-04-11 20:58:20 +00001# Generated by h2py from /usr/include/sys/stropts.h
2
3# Included from sys/types.h
4def quad_low(x): return x.val[0]
5
6ADT_EMASKSIZE = 8
7SHRT_MIN = -32768
8SHRT_MAX = 32767
9INT_MIN = (-2147483647-1)
10INT_MAX = 2147483647
11LONG_MIN = (-2147483647-1)
12LONG_MAX = 2147483647
13OFF32_MAX = LONG_MAX
14ISTAT_ASSERTED = 0
15ISTAT_ASSUMED = 1
16ISTAT_NONE = 2
17OFF_MAX = OFF32_MAX
18CLOCK_MAX = LONG_MAX
19P_MYID = (-1)
20P_MYHOSTID = (-1)
21
22# Included from sys/select.h
23FD_SETSIZE = 4096
24NBBY = 8
25NULL = 0
26
27# Included from sys/conf.h
28D_NEW = 0x00
29D_OLD = 0x01
30D_DMA = 0x02
31D_BLKOFF = 0x400
32D_LFS = 0x8000
33D_STR = 0x0800
34D_MOD = 0x1000
35D_PSEUDO = 0x2000
36D_RANDOM = 0x4000
37D_HOT = 0x10000
38D_SEEKNEG = 0x04
39D_TAPE = 0x08
40D_NOBRKUP = 0x10
41D_INITPUB = 0x20
42D_NOSPECMACDATA = 0x40
43D_RDWEQ = 0x80
44SECMASK = (D_INITPUB|D_NOSPECMACDATA|D_RDWEQ)
45DAF_REQDMA = 0x1
46DAF_PHYSREQ = 0x2
47DAF_PRE8 = 0x4
48DAF_STATIC = 0x8
49DAF_STR = 0x10
50D_MP = 0x100
51D_UPF = 0x200
52ROOTFS_NAMESZ = 7
53FMNAMESZ = 8
54MCD_VERSION = 1
55DI_BCBP = 0
56DI_MEDIA = 1
57
58# Included from sys/secsys.h
59ES_MACOPENLID = 1
60ES_MACSYSLID = 2
61ES_MACROOTLID = 3
62ES_PRVINFO = 4
63ES_PRVSETCNT = 5
64ES_PRVSETS = 6
65ES_MACADTLID = 7
66ES_PRVID = 8
67ES_TPGETMAJOR = 9
Guido van Rossumcd16bf62007-06-13 18:07:49 +000068SA_EXEC = 0o01
69SA_WRITE = 0o02
70SA_READ = 0o04
71SA_SUBSIZE = 0o10
Guido van Rossum2242f2f2001-04-11 20:58:20 +000072
73# Included from sys/stropts_f.h
74X_STR = (ord('S')<<8)
Guido van Rossumcd16bf62007-06-13 18:07:49 +000075X_I_BASE = (X_STR|0o200)
76X_I_NREAD = (X_STR|0o201)
77X_I_PUSH = (X_STR|0o202)
78X_I_POP = (X_STR|0o203)
79X_I_LOOK = (X_STR|0o204)
80X_I_FLUSH = (X_STR|0o205)
81X_I_SRDOPT = (X_STR|0o206)
82X_I_GRDOPT = (X_STR|0o207)
83X_I_STR = (X_STR|0o210)
84X_I_SETSIG = (X_STR|0o211)
85X_I_GETSIG = (X_STR|0o212)
86X_I_FIND = (X_STR|0o213)
87X_I_LINK = (X_STR|0o214)
88X_I_UNLINK = (X_STR|0o215)
89X_I_PEEK = (X_STR|0o217)
90X_I_FDINSERT = (X_STR|0o220)
91X_I_SENDFD = (X_STR|0o221)
92X_I_RECVFD = (X_STR|0o222)
Guido van Rossum2242f2f2001-04-11 20:58:20 +000093
94# Included from unistd.h
95
96# Included from sys/unistd.h
Guido van Rossumcd16bf62007-06-13 18:07:49 +000097R_OK = 0o04
98W_OK = 0o02
99X_OK = 0o01
Guido van Rossum2242f2f2001-04-11 20:58:20 +0000100F_OK = 000
Guido van Rossumcd16bf62007-06-13 18:07:49 +0000101EFF_ONLY_OK = 0o10
102EX_OK = 0o20
Guido van Rossum2242f2f2001-04-11 20:58:20 +0000103SEEK_SET = 0
104SEEK_CUR = 1
105SEEK_END = 2
106_SC_ARG_MAX = 1
107_SC_CHILD_MAX = 2
108_SC_CLK_TCK = 3
109_SC_NGROUPS_MAX = 4
110_SC_OPEN_MAX = 5
111_SC_JOB_CONTROL = 6
112_SC_SAVED_IDS = 7
113_SC_VERSION = 8
114_SC_PASS_MAX = 9
115_SC_LOGNAME_MAX = 10
116_SC_PAGESIZE = 11
117_SC_PAGE_SIZE = _SC_PAGESIZE
118_SC_XOPEN_VERSION = 12
119_SC_NACLS_MAX = 13
120_SC_NPROCESSORS_CONF = 14
121_SC_NPROCESSORS_ONLN = 15
122_SC_NPROCESSES = 39
123_SC_TOTAL_MEMORY = 40
124_SC_USEABLE_MEMORY = 41
125_SC_GENERAL_MEMORY = 42
126_SC_DEDICATED_MEMORY = 43
127_SC_NCGS_CONF = 44
128_SC_NCGS_ONLN = 45
129_SC_MAX_CPUS_PER_CG = 46
130_SC_CG_SIMPLE_IMPL = 47
131_SC_CACHE_LINE = 48
132_SC_SYSTEM_ID = 49
133_SC_THREADS = 51
134_SC_THREAD_ATTR_STACKADDR = 52
135_SC_THREAD_ATTR_STACKSIZE = 53
136_SC_THREAD_DESTRUCTOR_ITERATIONS = 54
137_SC_THREAD_KEYS_MAX = 55
138_SC_THREAD_PRIORITY_SCHEDULING = 56
139_SC_THREAD_PRIO_INHERIT = 57
140_SC_THREAD_PRIO_PROTECT = 58
141_SC_THREAD_STACK_MIN = 59
142_SC_THREAD_PROCESS_SHARED = 60
143_SC_THREAD_SAFE_FUNCTIONS = 61
144_SC_THREAD_THREADS_MAX = 62
145_SC_KERNEL_VM = 63
146_SC_TZNAME_MAX = 320
147_SC_STREAM_MAX = 321
148_SC_XOPEN_CRYPT = 323
149_SC_XOPEN_ENH_I18N = 324
150_SC_XOPEN_SHM = 325
151_SC_XOPEN_XCU_VERSION = 327
152_SC_AES_OS_VERSION = 330
153_SC_ATEXIT_MAX = 331
154_SC_2_C_BIND = 350
155_SC_2_C_DEV = 351
156_SC_2_C_VERSION = 352
157_SC_2_CHAR_TERM = 353
158_SC_2_FORT_DEV = 354
159_SC_2_FORT_RUN = 355
160_SC_2_LOCALEDEF = 356
161_SC_2_SW_DEV = 357
162_SC_2_UPE = 358
163_SC_2_VERSION = 359
164_SC_BC_BASE_MAX = 370
165_SC_BC_DIM_MAX = 371
166_SC_BC_SCALE_MAX = 372
167_SC_BC_STRING_MAX = 373
168_SC_COLL_WEIGHTS_MAX = 380
169_SC_EXPR_NEST_MAX = 381
170_SC_LINE_MAX = 382
171_SC_RE_DUP_MAX = 383
172_SC_IOV_MAX = 390
173_SC_NPROC_CONF = 391
174_SC_NPROC_ONLN = 392
175_SC_XOPEN_UNIX = 400
176_SC_SEMAPHORES = 440
177_CS_PATH = 1
178__O_CS_HOSTNAME = 2
179_CS_RELEASE = 3
180_CS_VERSION = 4
181__O_CS_MACHINE = 5
182__O_CS_ARCHITECTURE = 6
183_CS_HW_SERIAL = 7
184__O_CS_HW_PROVIDER = 8
185_CS_SRPC_DOMAIN = 9
186_CS_INITTAB_NAME = 10
187__O_CS_SYSNAME = 11
188_CS_LFS_CFLAGS = 20
189_CS_LFS_LDFLAGS = 21
190_CS_LFS_LIBS = 22
191_CS_LFS_LINTFLAGS = 23
192_CS_LFS64_CFLAGS = 24
193_CS_LFS64_LDFLAGS = 25
194_CS_LFS64_LIBS = 26
195_CS_LFS64_LINTFLAGS = 27
196_CS_ARCHITECTURE = 100
197_CS_BUSTYPES = 101
198_CS_HOSTNAME = 102
199_CS_HW_PROVIDER = 103
200_CS_KERNEL_STAMP = 104
201_CS_MACHINE = 105
202_CS_OS_BASE = 106
203_CS_OS_PROVIDER = 107
204_CS_SYSNAME = 108
205_CS_USER_LIMIT = 109
206_PC_LINK_MAX = 1
207_PC_MAX_CANON = 2
208_PC_MAX_INPUT = 3
209_PC_NAME_MAX = 4
210_PC_PATH_MAX = 5
211_PC_PIPE_BUF = 6
212_PC_NO_TRUNC = 7
213_PC_VDISABLE = 8
214_PC_CHOWN_RESTRICTED = 9
215_PC_FILESIZEBITS = 10
Guido van Rossume2a383d2007-01-15 16:59:06 +0000216_POSIX_VERSION = 199009
Guido van Rossum2242f2f2001-04-11 20:58:20 +0000217_XOPEN_VERSION = 4
218GF_PATH = "/etc/group"
219PF_PATH = "/etc/passwd"
220F_ULOCK = 0
221F_LOCK = 1
222F_TLOCK = 2
223F_TEST = 3
224_POSIX_JOB_CONTROL = 1
225_POSIX_SAVED_IDS = 1
226_POSIX_VDISABLE = 0
227NULL = 0
228STDIN_FILENO = 0
229STDOUT_FILENO = 1
230STDERR_FILENO = 2
231_XOPEN_UNIX = 1
232_XOPEN_ENH_I18N = 1
233_XOPEN_XPG4 = 1
Guido van Rossume2a383d2007-01-15 16:59:06 +0000234_POSIX2_C_VERSION = 199209
235_POSIX2_VERSION = 199209
Guido van Rossum2242f2f2001-04-11 20:58:20 +0000236_XOPEN_XCU_VERSION = 4
237_POSIX_SEMAPHORES = 1
238_POSIX_THREADS = 1
239_POSIX_THREAD_ATTR_STACKADDR = 1
240_POSIX_THREAD_ATTR_STACKSIZE = 1
241_POSIX_THREAD_PRIORITY_SCHEDULING = 1
242_POSIX_THREAD_PROCESS_SHARED = 1
243_POSIX_THREAD_SAFE_FUNCTIONS = 1
244_POSIX2_C_BIND = 1
245_POSIX2_CHAR_TERM = 1
246_POSIX2_FORT_RUN = 1
247_POSIX2_LOCALEDEF = 1
248_POSIX2_UPE = 1
249_LFS_ASYNCHRONOUS_IO = 1
250_LFS_LARGEFILE = 1
251_LFS64_ASYNCHRONOUS_IO = 1
252_LFS64_LARGEFILE = 1
253_LFS64_STDIO = 1
254FMNAMESZ = 8
255SNDZERO = 0x001
256SNDPIPE = 0x002
257RNORM = 0x000
258RMSGD = 0x001
259RMSGN = 0x002
260RMODEMASK = 0x003
261RPROTDAT = 0x004
262RPROTDIS = 0x008
263RPROTNORM = 0x010
264RPROTMASK = 0x01c
265FLUSHR = 0x01
266FLUSHW = 0x02
267FLUSHRW = 0x03
268FLUSHBAND = 0x04
269S_INPUT = 0x0001
270S_HIPRI = 0x0002
271S_OUTPUT = 0x0004
272S_MSG = 0x0008
273S_ERROR = 0x0010
274S_HANGUP = 0x0020
275S_RDNORM = 0x0040
276S_WRNORM = S_OUTPUT
277S_RDBAND = 0x0080
278S_WRBAND = 0x0100
279S_BANDURG = 0x0200
280RS_HIPRI = 0x01
281MSG_HIPRI = 0x01
282MSG_ANY = 0x02
283MSG_BAND = 0x04
284MSG_DISCARD = 0x08
285MSG_PEEKIOCTL = 0x10
286MORECTL = 1
287MOREDATA = 2
288MUXID_ALL = (-1)
289ANYMARK = 0x01
290LASTMARK = 0x02
291STR = (ord('S')<<8)
Guido van Rossumcd16bf62007-06-13 18:07:49 +0000292I_NREAD = (STR|0o1)
293I_PUSH = (STR|0o2)
294I_POP = (STR|0o3)
295I_LOOK = (STR|0o4)
296I_FLUSH = (STR|0o5)
297I_SRDOPT = (STR|0o6)
298I_GRDOPT = (STR|0o7)
299I_STR = (STR|0o10)
300I_SETSIG = (STR|0o11)
301I_GETSIG = (STR|0o12)
302I_FIND = (STR|0o13)
303I_LINK = (STR|0o14)
304I_UNLINK = (STR|0o15)
305I_PEEK = (STR|0o17)
306I_FDINSERT = (STR|0o20)
307I_SENDFD = (STR|0o21)
308I_RECVFD = (STR|0o22)
309I_E_RECVFD = (STR|0o16)
310I_RECVFD = (STR|0o16)
311I_RECVFD = (STR|0o22)
312I_SWROPT = (STR|0o23)
313I_GWROPT = (STR|0o24)
314I_LIST = (STR|0o25)
315I_PLINK = (STR|0o26)
316I_PUNLINK = (STR|0o27)
317I_FLUSHBAND = (STR|0o34)
318I_CKBAND = (STR|0o35)
319I_GETBAND = (STR|0o36)
320I_ATMARK = (STR|0o37)
321I_SETCLTIME = (STR|0o40)
322I_GETCLTIME = (STR|0o41)
323I_CANPUT = (STR|0o42)
324I_S_RECVFD = (STR|0o43)
325I_STATS = (STR|0o44)
326I_BIGPIPE = (STR|0o45)
327I_GETTP = (STR|0o46)
Guido van Rossum2242f2f2001-04-11 20:58:20 +0000328INFTIM = -1