144 lines
2.6 KiB
Python
144 lines
2.6 KiB
Python
# Generated by h2py from /include/sys/types.h
|
|
_SYS_TYPES_H = 1
|
|
|
|
# Included from features.h
|
|
_FEATURES_H = 1
|
|
__USE_ANSI = 1
|
|
__FAVOR_BSD = 1
|
|
_ISOC9X_SOURCE = 1
|
|
_POSIX_SOURCE = 1
|
|
_POSIX_C_SOURCE = 199506L
|
|
_XOPEN_SOURCE = 500
|
|
_XOPEN_SOURCE_EXTENDED = 1
|
|
_LARGEFILE64_SOURCE = 1
|
|
_BSD_SOURCE = 1
|
|
_SVID_SOURCE = 1
|
|
_BSD_SOURCE = 1
|
|
_SVID_SOURCE = 1
|
|
__USE_ISOC9X = 1
|
|
_POSIX_SOURCE = 1
|
|
_POSIX_C_SOURCE = 2
|
|
_POSIX_C_SOURCE = 199506L
|
|
__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_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
|
|
__GNU_LIBRARY__ = 6
|
|
__GLIBC__ = 2
|
|
__GLIBC_MINOR__ = 1
|
|
|
|
# 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 __P(args): return ()
|
|
|
|
def __PMT(args): return ()
|
|
|
|
def __STRING(x): return #x
|
|
|
|
def __STRING(x): return "x"
|
|
|
|
def __ASMNAME(cname): return __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
|
|
|
|
def __attribute__(xyz): return
|
|
|
|
__USE_EXTERN_INLINES = 1
|
|
|
|
# Included from gnu/stubs.h
|
|
|
|
# Included from bits/types.h
|
|
_BITS_TYPES_H = 1
|
|
__FD_SETSIZE = 1024
|
|
def __FDELT(d): return ((d) / __NFDBITS)
|
|
|
|
|
|
# Included from bits/pthreadtypes.h
|
|
|
|
# Included from time.h
|
|
_TIME_H = 1
|
|
|
|
# Included from bits/time.h
|
|
|
|
# Included from posix/time.h
|
|
|
|
# Included from posix/types.h
|
|
MAXHOSTNAMELEN = 64
|
|
FD_SETSIZE = 1024
|
|
CLOCKS_PER_SEC = 1000000
|
|
_BITS_TIME_H = 1
|
|
CLOCKS_PER_SEC = 1000000
|
|
CLK_TCK = 100
|
|
_STRUCT_TIMEVAL = 1
|
|
CLK_TCK = CLOCKS_PER_SEC
|
|
__clock_t_defined = 1
|
|
__time_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 \
|
|
|
|
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 ( (( (dev) >> 8) & 0xff))
|
|
|
|
def minor(dev): return ( ((dev) & 0xff))
|
|
|