Martin v. Löwis | f90ae20 | 2002-06-11 06:22:31 +0000 | [diff] [blame] | 1 | # Generated by h2py from /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 | _ISOC9X_SOURCE = 1 |
| 9 | _POSIX_SOURCE = 1 |
Guido van Rossum | e2a383d | 2007-01-15 16:59:06 +0000 | [diff] [blame] | 10 | _POSIX_C_SOURCE = 199506 |
Martin v. Löwis | f90ae20 | 2002-06-11 06:22:31 +0000 | [diff] [blame] | 11 | _XOPEN_SOURCE = 500 |
| 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_ISOC9X = 1 |
| 19 | _POSIX_SOURCE = 1 |
| 20 | _POSIX_C_SOURCE = 2 |
Guido van Rossum | e2a383d | 2007-01-15 16:59:06 +0000 | [diff] [blame] | 21 | _POSIX_C_SOURCE = 199506 |
Martin v. Löwis | f90ae20 | 2002-06-11 06:22:31 +0000 | [diff] [blame] | 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_XOPEN_EXTENDED = 1 |
| 31 | __USE_LARGEFILE = 1 |
| 32 | __USE_LARGEFILE64 = 1 |
| 33 | __USE_FILE_OFFSET64 = 1 |
| 34 | __USE_MISC = 1 |
| 35 | __USE_BSD = 1 |
| 36 | __USE_SVID = 1 |
| 37 | __USE_GNU = 1 |
| 38 | __USE_REENTRANT = 1 |
| 39 | __STDC_IEC_559__ = 1 |
| 40 | __STDC_IEC_559_COMPLEX__ = 1 |
| 41 | __GNU_LIBRARY__ = 6 |
| 42 | __GLIBC__ = 2 |
| 43 | __GLIBC_MINOR__ = 1 |
| 44 | |
| 45 | # Included from sys/cdefs.h |
| 46 | _SYS_CDEFS_H = 1 |
| 47 | def __PMT(args): return args |
| 48 | |
| 49 | def __P(args): return args |
| 50 | |
| 51 | def __PMT(args): return args |
| 52 | |
Tim Peters | 182b5ac | 2004-07-18 06:16:08 +0000 | [diff] [blame] | 53 | def __P(args): return () |
Martin v. Löwis | f90ae20 | 2002-06-11 06:22:31 +0000 | [diff] [blame] | 54 | |
| 55 | def __PMT(args): return () |
| 56 | |
| 57 | def __STRING(x): return #x |
| 58 | |
| 59 | def __STRING(x): return "x" |
| 60 | |
| 61 | def __ASMNAME(cname): return __ASMNAME2 (__USER_LABEL_PREFIX__, cname) |
| 62 | |
Tim Peters | 182b5ac | 2004-07-18 06:16:08 +0000 | [diff] [blame] | 63 | def __attribute__(xyz): return |
Martin v. Löwis | f90ae20 | 2002-06-11 06:22:31 +0000 | [diff] [blame] | 64 | |
| 65 | __USE_EXTERN_INLINES = 1 |
| 66 | |
| 67 | # Included from gnu/stubs.h |
| 68 | |
| 69 | # Included from bits/types.h |
| 70 | _BITS_TYPES_H = 1 |
| 71 | __FD_SETSIZE = 1024 |
| 72 | def __FDELT(d): return ((d) / __NFDBITS) |
| 73 | |
| 74 | |
| 75 | # Included from bits/pthreadtypes.h |
| 76 | |
| 77 | # Included from time.h |
| 78 | _TIME_H = 1 |
| 79 | |
| 80 | # Included from bits/time.h |
| 81 | |
| 82 | # Included from posix/time.h |
| 83 | |
| 84 | # Included from posix/types.h |
| 85 | MAXHOSTNAMELEN = 64 |
| 86 | FD_SETSIZE = 1024 |
| 87 | CLOCKS_PER_SEC = 1000000 |
| 88 | _BITS_TIME_H = 1 |
| 89 | CLOCKS_PER_SEC = 1000000 |
| 90 | CLK_TCK = 100 |
| 91 | _STRUCT_TIMEVAL = 1 |
| 92 | CLK_TCK = CLOCKS_PER_SEC |
| 93 | __clock_t_defined = 1 |
| 94 | __time_t_defined = 1 |
| 95 | __timespec_defined = 1 |
| 96 | def __isleap(year): return \ |
| 97 | |
| 98 | __BIT_TYPES_DEFINED__ = 1 |
| 99 | |
| 100 | # Included from endian.h |
| 101 | _ENDIAN_H = 1 |
| 102 | __LITTLE_ENDIAN = 1234 |
| 103 | __BIG_ENDIAN = 4321 |
| 104 | __PDP_ENDIAN = 3412 |
| 105 | |
| 106 | # Included from bits/endian.h |
| 107 | __BYTE_ORDER = __LITTLE_ENDIAN |
| 108 | __FLOAT_WORD_ORDER = __BYTE_ORDER |
| 109 | LITTLE_ENDIAN = __LITTLE_ENDIAN |
| 110 | BIG_ENDIAN = __BIG_ENDIAN |
| 111 | PDP_ENDIAN = __PDP_ENDIAN |
| 112 | BYTE_ORDER = __BYTE_ORDER |
| 113 | |
| 114 | # Included from sys/select.h |
| 115 | _SYS_SELECT_H = 1 |
| 116 | |
| 117 | # Included from bits/select.h |
| 118 | def __FD_ZERO(fdsp): return \ |
| 119 | |
| 120 | def __FD_ZERO(set): return \ |
| 121 | |
| 122 | |
| 123 | # Included from bits/sigset.h |
| 124 | _SIGSET_H_types = 1 |
| 125 | _SIGSET_H_fns = 1 |
| 126 | def __sigmask(sig): return \ |
| 127 | |
| 128 | def __sigemptyset(set): return \ |
| 129 | |
| 130 | def __sigfillset(set): return \ |
| 131 | |
| 132 | def __sigisemptyset(set): return \ |
| 133 | |
| 134 | FD_SETSIZE = __FD_SETSIZE |
| 135 | def FD_ZERO(fdsetp): return __FD_ZERO (fdsetp) |
| 136 | |
| 137 | |
| 138 | # Included from sys/sysmacros.h |
| 139 | _SYS_SYSMACROS_H = 1 |
| 140 | def major(dev): return ( (( (dev) >> 8) & 0xff)) |
| 141 | |
| 142 | def minor(dev): return ( ((dev) & 0xff)) |