1 # Generated by h2py from /usr/include/sys/types.h
4 # Included from features.h
10 _POSIX_C_SOURCE
= 199506L
12 _XOPEN_SOURCE_EXTENDED
= 1
13 _LARGEFILE64_SOURCE
= 1
21 _POSIX_C_SOURCE
= 199506L
27 __USE_XOPEN_EXTENDED
= 1
32 __USE_XOPEN_EXTENDED
= 1
35 __USE_FILE_OFFSET64
= 1
42 __STDC_IEC_559_COMPLEX__
= 1
43 __STDC_ISO_10646__
= 200009L
48 # Included from sys/cdefs.h
50 def __PMT(args
): return args
52 def __P(args
): return args
54 def __PMT(args
): return args
56 def __STRING(x
): return #x
62 def __ASMNAME(cname
): return __ASMNAME2 (__USER_LABEL_PREFIX__
, cname
)
64 def __attribute__(xyz
): return
66 def __attribute_format_arg__(x
): return __attribute__ ((__format_arg__ (x
)))
68 def __attribute_format_arg__(x
): return
72 __USE_EXTERN_INLINES
= 1
74 # Included from gnu/stubs.h
76 # Included from bits/types.h
80 # Included from bits/pthreadtypes.h
81 _BITS_PTHREADTYPES_H
= 1
83 # Included from bits/sched.h
90 CLONE_FILES
= 0x00000400
91 CLONE_SIGHAND
= 0x00000800
92 CLONE_PID
= 0x00001000
93 CLONE_PTRACE
= 0x00002000
94 CLONE_VFORK
= 0x00004000
95 __defined_schedparam
= 1
97 # Included from time.h
100 # Included from bits/time.h
102 CLOCKS_PER_SEC
= 1000000l
104 CLOCK_PROCESS_CPUTIME_ID
= 2
105 CLOCK_THREAD_CPUTIME_ID
= 3
108 CLK_TCK
= CLOCKS_PER_SEC
109 __clock_t_defined
= 1
111 __clockid_t_defined
= 1
112 __timer_t_defined
= 1
113 __timespec_defined
= 1
114 def __isleap(year
): return \
116 __BIT_TYPES_DEFINED__
= 1
118 # Included from endian.h
120 __LITTLE_ENDIAN
= 1234
124 # Included from bits/endian.h
125 __BYTE_ORDER
= __LITTLE_ENDIAN
126 __FLOAT_WORD_ORDER
= __BYTE_ORDER
127 LITTLE_ENDIAN
= __LITTLE_ENDIAN
128 BIG_ENDIAN
= __BIG_ENDIAN
129 PDP_ENDIAN
= __PDP_ENDIAN
130 BYTE_ORDER
= __BYTE_ORDER
132 # Included from sys/select.h
135 # Included from bits/select.h
136 def __FD_ZERO(fdsp
): return \
138 def __FD_ZERO(set): return \
141 # Included from bits/sigset.h
144 def __sigmask(sig
): return \
146 def __sigemptyset(set): return \
148 def __sigfillset(set): return \
150 def __sigisemptyset(set): return \
152 def __FDELT(d
): return ((d
) / __NFDBITS
)
154 FD_SETSIZE
= __FD_SETSIZE
155 def FD_ZERO(fdsetp
): return __FD_ZERO (fdsetp
)
158 # Included from sys/sysmacros.h
160 def major(dev
): return ((int)(((dev
) >> 8) & 0xff))
162 def minor(dev
): return ((int)((dev
) & 0xff))
164 def major(dev
): return (((dev
).__val
[1] >> 8) & 0xff)
166 def minor(dev
): return ((dev
).__val
[1] & 0xff)
168 def major(dev
): return (((dev
).__val
[0] >> 8) & 0xff)
170 def minor(dev
): return ((dev
).__val
[0] & 0xff)