1# 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
68SA_EXEC = 001
69SA_WRITE = 002
70SA_READ = 004
71SA_SUBSIZE = 010
72
73# Included from sys/stropts_f.h
74X_STR = (ord('S')<<8)
75X_I_BASE = (X_STR|0200)
76X_I_NREAD = (X_STR|0201)
77X_I_PUSH = (X_STR|0202)
78X_I_POP = (X_STR|0203)
79X_I_LOOK = (X_STR|0204)
80X_I_FLUSH = (X_STR|0205)
81X_I_SRDOPT = (X_STR|0206)
82X_I_GRDOPT = (X_STR|0207)
83X_I_STR = (X_STR|0210)
84X_I_SETSIG = (X_STR|0211)
85X_I_GETSIG = (X_STR|0212)
86X_I_FIND = (X_STR|0213)
87X_I_LINK = (X_STR|0214)
88X_I_UNLINK = (X_STR|0215)
89X_I_PEEK = (X_STR|0217)
90X_I_FDINSERT = (X_STR|0220)
91X_I_SENDFD = (X_STR|0221)
92X_I_RECVFD = (X_STR|0222)
93
94# Included from unistd.h
95
96# Included from sys/unistd.h
97R_OK = 004
98W_OK = 002
99X_OK = 001
100F_OK = 000
101EFF_ONLY_OK = 010
102EX_OK = 020
103SEEK_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
216_POSIX_VERSION = 199009L
217_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
234_POSIX2_C_VERSION = 199209L
235_POSIX2_VERSION = 199209L
236_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)
292I_NREAD = (STR|01)
293I_PUSH = (STR|02)
294I_POP = (STR|03)
295I_LOOK = (STR|04)
296I_FLUSH = (STR|05)
297I_SRDOPT = (STR|06)
298I_GRDOPT = (STR|07)
299I_STR = (STR|010)
300I_SETSIG = (STR|011)
301I_GETSIG = (STR|012)
302I_FIND = (STR|013)
303I_LINK = (STR|014)
304I_UNLINK = (STR|015)
305I_PEEK = (STR|017)
306I_FDINSERT = (STR|020)
307I_SENDFD = (STR|021)
308I_RECVFD = (STR|022)
309I_E_RECVFD = (STR|016)
310I_RECVFD = (STR|016)
311I_RECVFD = (STR|022)
312I_SWROPT = (STR|023)
313I_GWROPT = (STR|024)
314I_LIST = (STR|025)
315I_PLINK = (STR|026)
316I_PUNLINK = (STR|027)
317I_FLUSHBAND = (STR|034)
318I_CKBAND = (STR|035)
319I_GETBAND = (STR|036)
320I_ATMARK = (STR|037)
321I_SETCLTIME = (STR|040)
322I_GETCLTIME = (STR|041)
323I_CANPUT = (STR|042)
324I_S_RECVFD = (STR|043)
325I_STATS = (STR|044)
326I_BIGPIPE = (STR|045)
327I_GETTP = (STR|046)
328INFTIM = -1
329