2001-08-09 12:48:17 +00:00
|
|
|
# Generated by h2py from /usr/include/sys/types.h
|
|
|
|
_SYS_TYPES_H = 1
|
|
|
|
|
|
|
|
# Included from features.h
|
|
|
|
_FEATURES_H = 1
|
|
|
|
__USE_ANSI = 1
|
|
|
|
__FAVOR_BSD = 1
|
|
|
|
_ISOC99_SOURCE = 1
|
|
|
|
_POSIX_SOURCE = 1
|
2007-01-15 16:59:06 +00:00
|
|
|
_POSIX_C_SOURCE = 199506
|
2001-08-09 12:48:17 +00:00
|
|
|
_XOPEN_SOURCE = 600
|
|
|
|
_XOPEN_SOURCE_EXTENDED = 1
|
|
|
|
_LARGEFILE64_SOURCE = 1
|
|
|
|
_BSD_SOURCE = 1
|
|
|
|
_SVID_SOURCE = 1
|
|
|
|
_BSD_SOURCE = 1
|
|
|
|
_SVID_SOURCE = 1
|
|
|
|
__USE_ISOC99 = 1
|
|
|
|
_POSIX_SOURCE = 1
|
|
|
|
_POSIX_C_SOURCE = 2
|
2007-01-15 16:59:06 +00:00
|
|
|
_POSIX_C_SOURCE = 199506
|
2001-08-09 12:48:17 +00:00
|
|
|
__USE_POSIX = 1
|
|
|
|
__USE_POSIX2 = 1
|
|
|
|
__USE_POSIX199309 = 1
|
|
|
|
__USE_POSIX199506 = 1
|
|
|
|
__USE_XOPEN = 1
|
|
|
|
__USE_XOPEN_EXTENDED = 1
|
|
|
|
__USE_UNIX98 = 1
|
|
|
|
_LARGEFILE_SOURCE = 1
|
|
|
|
__USE_XOPEN2K = 1
|
|
|
|
__USE_ISOC99 = 1
|
|
|
|
__USE_XOPEN_EXTENDED = 1
|
|
|
|
__USE_LARGEFILE = 1
|
|
|
|
__USE_LARGEFILE64 = 1
|
|
|
|
__USE_FILE_OFFSET64 = 1
|
|
|
|
__USE_MISC = 1
|
|
|
|
__USE_BSD = 1
|
|
|
|
__USE_SVID = 1
|
|
|
|
__USE_GNU = 1
|
|
|
|
__USE_REENTRANT = 1
|
|
|
|
__STDC_IEC_559__ = 1
|
|
|
|
__STDC_IEC_559_COMPLEX__ = 1
|
2007-01-15 16:59:06 +00:00
|
|
|
__STDC_ISO_10646__ = 200009
|
2001-08-09 12:48:17 +00:00
|
|
|
__GNU_LIBRARY__ = 6
|
|
|
|
__GLIBC__ = 2
|
|
|
|
__GLIBC_MINOR__ = 2
|
|
|
|
|
|
|
|
# Included from sys/cdefs.h
|
|
|
|
_SYS_CDEFS_H = 1
|
|
|
|
def __PMT(args): return args
|
|
|
|
|
|
|
|
def __P(args): return args
|
|
|
|
|
|
|
|
def __PMT(args): return args
|
|
|
|
|
|
|
|
def __STRING(x): return #x
|
|
|
|
|
|
|
|
__flexarr = []
|
|
|
|
__flexarr = [0]
|
|
|
|
__flexarr = []
|
|
|
|
__flexarr = [1]
|
|
|
|
def __ASMNAME(cname): return __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
|
|
|
|
|
2004-07-18 06:16:08 +00:00
|
|
|
def __attribute__(xyz): return
|
2001-08-09 12:48:17 +00:00
|
|
|
|
|
|
|
def __attribute_format_arg__(x): return __attribute__ ((__format_arg__ (x)))
|
|
|
|
|
2004-07-18 06:16:08 +00:00
|
|
|
def __attribute_format_arg__(x): return
|
2001-08-09 12:48:17 +00:00
|
|
|
|
|
|
|
__USE_LARGEFILE = 1
|
|
|
|
__USE_LARGEFILE64 = 1
|
|
|
|
__USE_EXTERN_INLINES = 1
|
|
|
|
|
|
|
|
# Included from gnu/stubs.h
|
|
|
|
|
|
|
|
# Included from bits/types.h
|
|
|
|
_BITS_TYPES_H = 1
|
|
|
|
__FD_SETSIZE = 1024
|
|
|
|
|
|
|
|
# Included from bits/pthreadtypes.h
|
|
|
|
_BITS_PTHREADTYPES_H = 1
|
|
|
|
|
|
|
|
# Included from bits/sched.h
|
|
|
|
SCHED_OTHER = 0
|
|
|
|
SCHED_FIFO = 1
|
|
|
|
SCHED_RR = 2
|
|
|
|
CSIGNAL = 0x000000ff
|
|
|
|
CLONE_VM = 0x00000100
|
|
|
|
CLONE_FS = 0x00000200
|
|
|
|
CLONE_FILES = 0x00000400
|
|
|
|
CLONE_SIGHAND = 0x00000800
|
|
|
|
CLONE_PID = 0x00001000
|
|
|
|
CLONE_PTRACE = 0x00002000
|
|
|
|
CLONE_VFORK = 0x00004000
|
|
|
|
__defined_schedparam = 1
|
|
|
|
|
|
|
|
# Included from time.h
|
|
|
|
_TIME_H = 1
|
|
|
|
|
|
|
|
# Included from bits/time.h
|
|
|
|
_BITS_TIME_H = 1
|
2007-01-15 16:59:06 +00:00
|
|
|
CLOCKS_PER_SEC = 1000000
|
2001-08-09 12:48:17 +00:00
|
|
|
CLOCK_REALTIME = 0
|
|
|
|
CLOCK_PROCESS_CPUTIME_ID = 2
|
|
|
|
CLOCK_THREAD_CPUTIME_ID = 3
|
|
|
|
TIMER_ABSTIME = 1
|
|
|
|
_STRUCT_TIMEVAL = 1
|
|
|
|
CLK_TCK = CLOCKS_PER_SEC
|
|
|
|
__clock_t_defined = 1
|
|
|
|
__time_t_defined = 1
|
|
|
|
__clockid_t_defined = 1
|
|
|
|
__timer_t_defined = 1
|
|
|
|
__timespec_defined = 1
|
|
|
|
def __isleap(year): return \
|
|
|
|
|
|
|
|
__BIT_TYPES_DEFINED__ = 1
|
|
|
|
|
|
|
|
# Included from endian.h
|
|
|
|
_ENDIAN_H = 1
|
|
|
|
__LITTLE_ENDIAN = 1234
|
|
|
|
__BIG_ENDIAN = 4321
|
|
|
|
__PDP_ENDIAN = 3412
|
|
|
|
|
|
|
|
# Included from bits/endian.h
|
|
|
|
__BYTE_ORDER = __LITTLE_ENDIAN
|
|
|
|
__FLOAT_WORD_ORDER = __BYTE_ORDER
|
|
|
|
LITTLE_ENDIAN = __LITTLE_ENDIAN
|
|
|
|
BIG_ENDIAN = __BIG_ENDIAN
|
|
|
|
PDP_ENDIAN = __PDP_ENDIAN
|
|
|
|
BYTE_ORDER = __BYTE_ORDER
|
|
|
|
|
|
|
|
# Included from sys/select.h
|
|
|
|
_SYS_SELECT_H = 1
|
|
|
|
|
|
|
|
# Included from bits/select.h
|
|
|
|
def __FD_ZERO(fdsp): return \
|
|
|
|
|
|
|
|
def __FD_ZERO(set): return \
|
|
|
|
|
|
|
|
|
|
|
|
# Included from bits/sigset.h
|
|
|
|
_SIGSET_H_types = 1
|
|
|
|
_SIGSET_H_fns = 1
|
|
|
|
def __sigmask(sig): return \
|
|
|
|
|
|
|
|
def __sigemptyset(set): return \
|
|
|
|
|
|
|
|
def __sigfillset(set): return \
|
|
|
|
|
|
|
|
def __sigisemptyset(set): return \
|
|
|
|
|
|
|
|
def __FDELT(d): return ((d) / __NFDBITS)
|
|
|
|
|
|
|
|
FD_SETSIZE = __FD_SETSIZE
|
|
|
|
def FD_ZERO(fdsetp): return __FD_ZERO (fdsetp)
|
|
|
|
|
|
|
|
|
|
|
|
# Included from sys/sysmacros.h
|
|
|
|
_SYS_SYSMACROS_H = 1
|
|
|
|
def major(dev): return ((int)(((dev) >> 8) & 0xff))
|
|
|
|
|
|
|
|
def minor(dev): return ((int)((dev) & 0xff))
|
|
|
|
|
|
|
|
def major(dev): return (((dev).__val[1] >> 8) & 0xff)
|
|
|
|
|
|
|
|
def minor(dev): return ((dev).__val[1] & 0xff)
|
|
|
|
|
|
|
|
def major(dev): return (((dev).__val[0] >> 8) & 0xff)
|
|
|
|
|
|
|
|
def minor(dev): return ((dev).__val[0] & 0xff)
|