Martin v. Löwis | dbdcb0f | 2001-08-09 12:48:17 +0000 | [diff] [blame] | 1 | # Generated by h2py from /usr/include/sys/types.h |
| 2 | _SYS_TYPES_H = 1 |
| 3 | |
| 4 | # Included from features.h |
| 5 | _FEATURES_H = 1 |
| 6 | __USE_ANSI = 1 |
| 7 | __FAVOR_BSD = 1 |
| 8 | _ISOC99_SOURCE = 1 |
| 9 | _POSIX_SOURCE = 1 |
| 10 | _POSIX_C_SOURCE = 199506L |
| 11 | _XOPEN_SOURCE = 600 |
| 12 | _XOPEN_SOURCE_EXTENDED = 1 |
| 13 | _LARGEFILE64_SOURCE = 1 |
| 14 | _BSD_SOURCE = 1 |
| 15 | _SVID_SOURCE = 1 |
| 16 | _BSD_SOURCE = 1 |
| 17 | _SVID_SOURCE = 1 |
| 18 | __USE_ISOC99 = 1 |
| 19 | _POSIX_SOURCE = 1 |
| 20 | _POSIX_C_SOURCE = 2 |
| 21 | _POSIX_C_SOURCE = 199506L |
| 22 | __USE_POSIX = 1 |
| 23 | __USE_POSIX2 = 1 |
| 24 | __USE_POSIX199309 = 1 |
| 25 | __USE_POSIX199506 = 1 |
| 26 | __USE_XOPEN = 1 |
| 27 | __USE_XOPEN_EXTENDED = 1 |
| 28 | __USE_UNIX98 = 1 |
| 29 | _LARGEFILE_SOURCE = 1 |
| 30 | __USE_XOPEN2K = 1 |
| 31 | __USE_ISOC99 = 1 |
| 32 | __USE_XOPEN_EXTENDED = 1 |
| 33 | __USE_LARGEFILE = 1 |
| 34 | __USE_LARGEFILE64 = 1 |
| 35 | __USE_FILE_OFFSET64 = 1 |
| 36 | __USE_MISC = 1 |
| 37 | __USE_BSD = 1 |
| 38 | __USE_SVID = 1 |
| 39 | __USE_GNU = 1 |
| 40 | __USE_REENTRANT = 1 |
| 41 | __STDC_IEC_559__ = 1 |
| 42 | __STDC_IEC_559_COMPLEX__ = 1 |
| 43 | __STDC_ISO_10646__ = 200009L |
| 44 | __GNU_LIBRARY__ = 6 |
| 45 | __GLIBC__ = 2 |
| 46 | __GLIBC_MINOR__ = 2 |
| 47 | |
| 48 | # Included from sys/cdefs.h |
| 49 | _SYS_CDEFS_H = 1 |
| 50 | def __PMT(args): return args |
| 51 | |
| 52 | def __P(args): return args |
| 53 | |
| 54 | def __PMT(args): return args |
| 55 | |
| 56 | def __STRING(x): return #x |
| 57 | |
| 58 | __flexarr = [] |
| 59 | __flexarr = [0] |
| 60 | __flexarr = [] |
| 61 | __flexarr = [1] |
| 62 | def __ASMNAME(cname): return __ASMNAME2 (__USER_LABEL_PREFIX__, cname) |
| 63 | |
Tim Peters | 182b5ac | 2004-07-18 06:16:08 +0000 | [diff] [blame^] | 64 | def __attribute__(xyz): return |
Martin v. Löwis | dbdcb0f | 2001-08-09 12:48:17 +0000 | [diff] [blame] | 65 | |
| 66 | def __attribute_format_arg__(x): return __attribute__ ((__format_arg__ (x))) |
| 67 | |
Tim Peters | 182b5ac | 2004-07-18 06:16:08 +0000 | [diff] [blame^] | 68 | def __attribute_format_arg__(x): return |
Martin v. Löwis | dbdcb0f | 2001-08-09 12:48:17 +0000 | [diff] [blame] | 69 | |
| 70 | __USE_LARGEFILE = 1 |
| 71 | __USE_LARGEFILE64 = 1 |
| 72 | __USE_EXTERN_INLINES = 1 |
| 73 | |
| 74 | # Included from gnu/stubs.h |
| 75 | |
| 76 | # Included from bits/types.h |
| 77 | _BITS_TYPES_H = 1 |
| 78 | __FD_SETSIZE = 1024 |
| 79 | |
| 80 | # Included from bits/pthreadtypes.h |
| 81 | _BITS_PTHREADTYPES_H = 1 |
| 82 | |
| 83 | # Included from bits/sched.h |
| 84 | SCHED_OTHER = 0 |
| 85 | SCHED_FIFO = 1 |
| 86 | SCHED_RR = 2 |
| 87 | CSIGNAL = 0x000000ff |
| 88 | CLONE_VM = 0x00000100 |
| 89 | CLONE_FS = 0x00000200 |
| 90 | CLONE_FILES = 0x00000400 |
| 91 | CLONE_SIGHAND = 0x00000800 |
| 92 | CLONE_PID = 0x00001000 |
| 93 | CLONE_PTRACE = 0x00002000 |
| 94 | CLONE_VFORK = 0x00004000 |
| 95 | __defined_schedparam = 1 |
| 96 | |
| 97 | # Included from time.h |
| 98 | _TIME_H = 1 |
| 99 | |
| 100 | # Included from bits/time.h |
| 101 | _BITS_TIME_H = 1 |
| 102 | CLOCKS_PER_SEC = 1000000l |
| 103 | CLOCK_REALTIME = 0 |
| 104 | CLOCK_PROCESS_CPUTIME_ID = 2 |
| 105 | CLOCK_THREAD_CPUTIME_ID = 3 |
| 106 | TIMER_ABSTIME = 1 |
| 107 | _STRUCT_TIMEVAL = 1 |
| 108 | CLK_TCK = CLOCKS_PER_SEC |
| 109 | __clock_t_defined = 1 |
| 110 | __time_t_defined = 1 |
| 111 | __clockid_t_defined = 1 |
| 112 | __timer_t_defined = 1 |
| 113 | __timespec_defined = 1 |
| 114 | def __isleap(year): return \ |
| 115 | |
| 116 | __BIT_TYPES_DEFINED__ = 1 |
| 117 | |
| 118 | # Included from endian.h |
| 119 | _ENDIAN_H = 1 |
| 120 | __LITTLE_ENDIAN = 1234 |
| 121 | __BIG_ENDIAN = 4321 |
| 122 | __PDP_ENDIAN = 3412 |
| 123 | |
| 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 |
| 131 | |
| 132 | # Included from sys/select.h |
| 133 | _SYS_SELECT_H = 1 |
| 134 | |
| 135 | # Included from bits/select.h |
| 136 | def __FD_ZERO(fdsp): return \ |
| 137 | |
| 138 | def __FD_ZERO(set): return \ |
| 139 | |
| 140 | |
| 141 | # Included from bits/sigset.h |
| 142 | _SIGSET_H_types = 1 |
| 143 | _SIGSET_H_fns = 1 |
| 144 | def __sigmask(sig): return \ |
| 145 | |
| 146 | def __sigemptyset(set): return \ |
| 147 | |
| 148 | def __sigfillset(set): return \ |
| 149 | |
| 150 | def __sigisemptyset(set): return \ |
| 151 | |
| 152 | def __FDELT(d): return ((d) / __NFDBITS) |
| 153 | |
| 154 | FD_SETSIZE = __FD_SETSIZE |
| 155 | def FD_ZERO(fdsetp): return __FD_ZERO (fdsetp) |
| 156 | |
| 157 | |
| 158 | # Included from sys/sysmacros.h |
| 159 | _SYS_SYSMACROS_H = 1 |
| 160 | def major(dev): return ((int)(((dev) >> 8) & 0xff)) |
| 161 | |
| 162 | def minor(dev): return ((int)((dev) & 0xff)) |
| 163 | |
| 164 | def major(dev): return (((dev).__val[1] >> 8) & 0xff) |
| 165 | |
| 166 | def minor(dev): return ((dev).__val[1] & 0xff) |
| 167 | |
| 168 | def major(dev): return (((dev).__val[0] >> 8) & 0xff) |
| 169 | |
| 170 | def minor(dev): return ((dev).__val[0] & 0xff) |