modernc.org/libc@v1.24.1/unistd/unistd_darwin_amd64.go (about)

     1  // Code generated by 'ccgo unistd/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o unistd/unistd_darwin_amd64.go -pkgname unistd', DO NOT EDIT.
     2  
     3  package unistd
     4  
     5  import (
     6  	"math"
     7  	"reflect"
     8  	"sync/atomic"
     9  	"unsafe"
    10  )
    11  
    12  var _ = math.Pi
    13  var _ reflect.Kind
    14  var _ atomic.Value
    15  var _ unsafe.Pointer
    16  
    17  const (
    18  	ACCESSX_MAX_DESCRIPTORS                = 100     // unistd.h:137:1:
    19  	ACCESSX_MAX_TABLESIZE                  = 16384   // unistd.h:138:1:
    20  	FD_SETSIZE                             = 1024    // _fd_setsize.h:29:1:
    21  	F_LOCK                                 = 1       // unistd.h:528:1:
    22  	F_OK                                   = 0       // unistd.h:89:1:
    23  	F_TEST                                 = 3       // unistd.h:530:1:
    24  	F_TLOCK                                = 2       // unistd.h:529:1:
    25  	F_ULOCK                                = 0       // unistd.h:527:1:
    26  	L_INCR                                 = 1       // unistd.h:127:1:
    27  	L_SET                                  = 0       // unistd.h:126:1:
    28  	L_XTND                                 = 2       // unistd.h:128:1:
    29  	R_OK                                   = 4       // unistd.h:92:1:
    30  	SEEK_CUR                               = 1       // _seek_set.h:34:1:
    31  	SEEK_DATA                              = 4       // _seek_set.h:44:1:
    32  	SEEK_END                               = 2       // _seek_set.h:35:1:
    33  	SEEK_HOLE                              = 3       // _seek_set.h:40:1:
    34  	SEEK_SET                               = 0       // _seek_set.h:33:1:
    35  	STDERR_FILENO                          = 2       // unistd.h:88:1:
    36  	STDIN_FILENO                           = 0       // unistd.h:86:1:
    37  	STDOUT_FILENO                          = 1       // unistd.h:87:1:
    38  	SYNC_VOLUME_FULLSYNC                   = 0x01    // unistd.h:776:1:
    39  	SYNC_VOLUME_WAIT                       = 0x02    // unistd.h:777:1:
    40  	W_OK                                   = 2       // unistd.h:91:1:
    41  	X_OK                                   = 1       // unistd.h:90:1:
    42  	X_ACCESS_EXTENDED_MASK                 = 4193792 // unistd.h:114:1:
    43  	X_APPEND_OK                            = 8192    // unistd.h:104:1:
    44  	X_BSD_I386__TYPES_H_                   = 0       // _types.h:29:1:
    45  	X_BSD_MACHINE_TYPES_H_                 = 0       // types.h:32:1:
    46  	X_BSD_MACHINE__TYPES_H_                = 0       // _types.h:29:1:
    47  	X_CDEFS_H_                             = 0       // cdefs.h:68:1:
    48  	X_CHOWN_OK                             = 2097152 // unistd.h:112:1:
    49  	X_CS_DARWIN_USER_CACHE_DIR             = 65538   // unistd.h:415:1:
    50  	X_CS_DARWIN_USER_DIR                   = 65536   // unistd.h:413:1:
    51  	X_CS_DARWIN_USER_TEMP_DIR              = 65537   // unistd.h:414:1:
    52  	X_CS_PATH                              = 1       // unistd.h:175:1:
    53  	X_CS_POSIX_V6_ILP32_OFF32_CFLAGS       = 2       // unistd.h:377:1:
    54  	X_CS_POSIX_V6_ILP32_OFF32_LDFLAGS      = 3       // unistd.h:378:1:
    55  	X_CS_POSIX_V6_ILP32_OFF32_LIBS         = 4       // unistd.h:379:1:
    56  	X_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS      = 5       // unistd.h:380:1:
    57  	X_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS     = 6       // unistd.h:381:1:
    58  	X_CS_POSIX_V6_ILP32_OFFBIG_LIBS        = 7       // unistd.h:382:1:
    59  	X_CS_POSIX_V6_LP64_OFF64_CFLAGS        = 8       // unistd.h:383:1:
    60  	X_CS_POSIX_V6_LP64_OFF64_LDFLAGS       = 9       // unistd.h:384:1:
    61  	X_CS_POSIX_V6_LP64_OFF64_LIBS          = 10      // unistd.h:385:1:
    62  	X_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS      = 11      // unistd.h:386:1:
    63  	X_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS     = 12      // unistd.h:387:1:
    64  	X_CS_POSIX_V6_LPBIG_OFFBIG_LIBS        = 13      // unistd.h:388:1:
    65  	X_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS    = 14      // unistd.h:389:1:
    66  	X_CS_XBS5_ILP32_OFF32_CFLAGS           = 20      // unistd.h:394:1:
    67  	X_CS_XBS5_ILP32_OFF32_LDFLAGS          = 21      // unistd.h:395:1:
    68  	X_CS_XBS5_ILP32_OFF32_LIBS             = 22      // unistd.h:396:1:
    69  	X_CS_XBS5_ILP32_OFF32_LINTFLAGS        = 23      // unistd.h:397:1:
    70  	X_CS_XBS5_ILP32_OFFBIG_CFLAGS          = 24      // unistd.h:398:1:
    71  	X_CS_XBS5_ILP32_OFFBIG_LDFLAGS         = 25      // unistd.h:399:1:
    72  	X_CS_XBS5_ILP32_OFFBIG_LIBS            = 26      // unistd.h:400:1:
    73  	X_CS_XBS5_ILP32_OFFBIG_LINTFLAGS       = 27      // unistd.h:401:1:
    74  	X_CS_XBS5_LP64_OFF64_CFLAGS            = 28      // unistd.h:402:1:
    75  	X_CS_XBS5_LP64_OFF64_LDFLAGS           = 29      // unistd.h:403:1:
    76  	X_CS_XBS5_LP64_OFF64_LIBS              = 30      // unistd.h:404:1:
    77  	X_CS_XBS5_LP64_OFF64_LINTFLAGS         = 31      // unistd.h:405:1:
    78  	X_CS_XBS5_LPBIG_OFFBIG_CFLAGS          = 32      // unistd.h:406:1:
    79  	X_CS_XBS5_LPBIG_OFFBIG_LDFLAGS         = 33      // unistd.h:407:1:
    80  	X_CS_XBS5_LPBIG_OFFBIG_LIBS            = 34      // unistd.h:408:1:
    81  	X_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS       = 35      // unistd.h:409:1:
    82  	X_CTERMID_H_                           = 0       // _ctermid.h:25:1:
    83  	X_DARWIN_FEATURE_64_BIT_INODE          = 1       // cdefs.h:745:1:
    84  	X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1       // cdefs.h:771:1:
    85  	X_DARWIN_FEATURE_UNIX_CONFORMANCE      = 3       // cdefs.h:779:1:
    86  	X_DELETE_OK                            = 4096    // unistd.h:103:1:
    87  	X_DEV_T                                = 0       // _dev_t.h:29:1:
    88  	X_EXECUTE_OK                           = 2048    // unistd.h:102:1:
    89  	X_FD_SET                               = 0       // _fd_def.h:29:1:
    90  	X_FILE_OFFSET_BITS                     = 64      // <builtin>:25:1:
    91  	X_FORTIFY_SOURCE                       = 2       // _types.h:65:1:
    92  	X_GID_T                                = 0       // _gid_t.h:29:1:
    93  	X_INT16_T                              = 0       // _int16_t.h:29:1:
    94  	X_INT32_T                              = 0       // _int32_t.h:29:1:
    95  	X_INT64_T                              = 0       // _int64_t.h:29:1:
    96  	X_INT8_T                               = 0       // _int8_t.h:29:1:
    97  	X_INTPTR_T                             = 0       // _intptr_t.h:29:1:
    98  	X_LP64                                 = 1       // <predefined>:1:1:
    99  	X_MACHTYPES_H_                         = 0       // types.h:67:1:
   100  	X_MODE_T                               = 0       // _mode_t.h:29:1:
   101  	X_Nonnull                              = 0       // cdefs.h:243:1:
   102  	X_Null_unspecified                     = 0       // cdefs.h:246:1:
   103  	X_Nullable                             = 0       // cdefs.h:240:1:
   104  	X_OFF_T                                = 0       // _off_t.h:29:1:
   105  	X_PC_2_SYMLINKS                        = 15      // unistd.h:160:1:
   106  	X_PC_ALLOC_SIZE_MIN                    = 16      // unistd.h:161:1:
   107  	X_PC_ASYNC_IO                          = 17      // unistd.h:162:1:
   108  	X_PC_AUTH_OPAQUE_NP                    = 14      // unistd.h:157:1:
   109  	X_PC_CASE_PRESERVING                   = 12      // unistd.h:155:1:
   110  	X_PC_CASE_SENSITIVE                    = 11      // unistd.h:154:1:
   111  	X_PC_CHOWN_RESTRICTED                  = 7       // unistd.h:148:1:
   112  	X_PC_EXTENDED_SECURITY_NP              = 13      // unistd.h:156:1:
   113  	X_PC_FILESIZEBITS                      = 18      // unistd.h:163:1:
   114  	X_PC_LINK_MAX                          = 1       // unistd.h:142:1:
   115  	X_PC_MAX_CANON                         = 2       // unistd.h:143:1:
   116  	X_PC_MAX_INPUT                         = 3       // unistd.h:144:1:
   117  	X_PC_MIN_HOLE_SIZE                     = 27      // unistd.h:172:1:
   118  	X_PC_NAME_CHARS_MAX                    = 10      // unistd.h:153:1:
   119  	X_PC_NAME_MAX                          = 4       // unistd.h:145:1:
   120  	X_PC_NO_TRUNC                          = 8       // unistd.h:149:1:
   121  	X_PC_PATH_MAX                          = 5       // unistd.h:146:1:
   122  	X_PC_PIPE_BUF                          = 6       // unistd.h:147:1:
   123  	X_PC_PRIO_IO                           = 19      // unistd.h:164:1:
   124  	X_PC_REC_INCR_XFER_SIZE                = 20      // unistd.h:165:1:
   125  	X_PC_REC_MAX_XFER_SIZE                 = 21      // unistd.h:166:1:
   126  	X_PC_REC_MIN_XFER_SIZE                 = 22      // unistd.h:167:1:
   127  	X_PC_REC_XFER_ALIGN                    = 23      // unistd.h:168:1:
   128  	X_PC_SYMLINK_MAX                       = 24      // unistd.h:169:1:
   129  	X_PC_SYNC_IO                           = 25      // unistd.h:170:1:
   130  	X_PC_VDISABLE                          = 9       // unistd.h:150:1:
   131  	X_PC_XATTR_SIZE_BITS                   = 26      // unistd.h:171:1:
   132  	X_PID_T                                = 0       // _pid_t.h:29:1:
   133  	X_POSIX2_CHAR_TERM                     = 200112  // unistd.h:152:1:
   134  	X_POSIX2_C_BIND                        = 200112  // unistd.h:150:1:
   135  	X_POSIX2_C_DEV                         = 200112  // unistd.h:151:1:
   136  	X_POSIX2_FORT_DEV                      = -1      // unistd.h:153:1:
   137  	X_POSIX2_FORT_RUN                      = 200112  // unistd.h:154:1:
   138  	X_POSIX2_LOCALEDEF                     = 200112  // unistd.h:155:1:
   139  	X_POSIX2_PBS                           = -1      // unistd.h:156:1:
   140  	X_POSIX2_PBS_ACCOUNTING                = -1      // unistd.h:157:1:
   141  	X_POSIX2_PBS_CHECKPOINT                = -1      // unistd.h:158:1:
   142  	X_POSIX2_PBS_LOCATE                    = -1      // unistd.h:159:1:
   143  	X_POSIX2_PBS_MESSAGE                   = -1      // unistd.h:160:1:
   144  	X_POSIX2_PBS_TRACK                     = -1      // unistd.h:161:1:
   145  	X_POSIX2_SW_DEV                        = 200112  // unistd.h:162:1:
   146  	X_POSIX2_UPE                           = 200112  // unistd.h:163:1:
   147  	X_POSIX2_VERSION                       = 200112  // unistd.h:80:1:
   148  	X_POSIX_ADVISORY_INFO                  = -1      // unistd.h:98:1:
   149  	X_POSIX_ASYNCHRONOUS_IO                = -1      // unistd.h:99:1:
   150  	X_POSIX_BARRIERS                       = -1      // unistd.h:100:1:
   151  	X_POSIX_CHOWN_RESTRICTED               = 200112  // unistd.h:101:1:
   152  	X_POSIX_CLOCK_SELECTION                = -1      // unistd.h:102:1:
   153  	X_POSIX_CPUTIME                        = -1      // unistd.h:103:1:
   154  	X_POSIX_FSYNC                          = 200112  // unistd.h:104:1:
   155  	X_POSIX_IPV6                           = 200112  // unistd.h:105:1:
   156  	X_POSIX_JOB_CONTROL                    = 200112  // unistd.h:106:1:
   157  	X_POSIX_MAPPED_FILES                   = 200112  // unistd.h:107:1:
   158  	X_POSIX_MEMLOCK                        = -1      // unistd.h:108:1:
   159  	X_POSIX_MEMLOCK_RANGE                  = -1      // unistd.h:109:1:
   160  	X_POSIX_MEMORY_PROTECTION              = 200112  // unistd.h:110:1:
   161  	X_POSIX_MESSAGE_PASSING                = -1      // unistd.h:111:1:
   162  	X_POSIX_MONOTONIC_CLOCK                = -1      // unistd.h:112:1:
   163  	X_POSIX_NO_TRUNC                       = 200112  // unistd.h:113:1:
   164  	X_POSIX_PRIORITIZED_IO                 = -1      // unistd.h:114:1:
   165  	X_POSIX_PRIORITY_SCHEDULING            = -1      // unistd.h:115:1:
   166  	X_POSIX_RAW_SOCKETS                    = -1      // unistd.h:116:1:
   167  	X_POSIX_READER_WRITER_LOCKS            = 200112  // unistd.h:117:1:
   168  	X_POSIX_REALTIME_SIGNALS               = -1      // unistd.h:118:1:
   169  	X_POSIX_REGEXP                         = 200112  // unistd.h:119:1:
   170  	X_POSIX_SAVED_IDS                      = 200112  // unistd.h:120:1:
   171  	X_POSIX_SEMAPHORES                     = -1      // unistd.h:121:1:
   172  	X_POSIX_SHARED_MEMORY_OBJECTS          = -1      // unistd.h:122:1:
   173  	X_POSIX_SHELL                          = 200112  // unistd.h:123:1:
   174  	X_POSIX_SPAWN                          = -1      // unistd.h:124:1:
   175  	X_POSIX_SPIN_LOCKS                     = -1      // unistd.h:125:1:
   176  	X_POSIX_SPORADIC_SERVER                = -1      // unistd.h:126:1:
   177  	X_POSIX_SYNCHRONIZED_IO                = -1      // unistd.h:127:1:
   178  	X_POSIX_THREADS                        = 200112  // unistd.h:137:1:
   179  	X_POSIX_THREAD_ATTR_STACKADDR          = 200112  // unistd.h:128:1:
   180  	X_POSIX_THREAD_ATTR_STACKSIZE          = 200112  // unistd.h:129:1:
   181  	X_POSIX_THREAD_CPUTIME                 = -1      // unistd.h:130:1:
   182  	X_POSIX_THREAD_KEYS_MAX                = 128     // unistd.h:86:1:
   183  	X_POSIX_THREAD_PRIORITY_SCHEDULING     = -1      // unistd.h:133:1:
   184  	X_POSIX_THREAD_PRIO_INHERIT            = -1      // unistd.h:131:1:
   185  	X_POSIX_THREAD_PRIO_PROTECT            = -1      // unistd.h:132:1:
   186  	X_POSIX_THREAD_PROCESS_SHARED          = 200112  // unistd.h:134:1:
   187  	X_POSIX_THREAD_SAFE_FUNCTIONS          = 200112  // unistd.h:135:1:
   188  	X_POSIX_THREAD_SPORADIC_SERVER         = -1      // unistd.h:136:1:
   189  	X_POSIX_TIMEOUTS                       = -1      // unistd.h:138:1:
   190  	X_POSIX_TIMERS                         = -1      // unistd.h:139:1:
   191  	X_POSIX_TRACE                          = -1      // unistd.h:140:1:
   192  	X_POSIX_TRACE_EVENT_FILTER             = -1      // unistd.h:141:1:
   193  	X_POSIX_TRACE_INHERIT                  = -1      // unistd.h:142:1:
   194  	X_POSIX_TRACE_LOG                      = -1      // unistd.h:143:1:
   195  	X_POSIX_TYPED_MEMORY_OBJECTS           = -1      // unistd.h:144:1:
   196  	X_POSIX_V6_ILP32_OFF32                 = -1      // unistd.h:173:1:
   197  	X_POSIX_V6_ILP32_OFFBIG                = -1      // unistd.h:174:1:
   198  	X_POSIX_V6_LP64_OFF64                  = 1       // unistd.h:175:1:
   199  	X_POSIX_V6_LPBIG_OFFBIG                = 1       // unistd.h:176:1:
   200  	X_POSIX_V7_ILP32_OFF32                 = -1      // unistd.h:180:1:
   201  	X_POSIX_V7_ILP32_OFFBIG                = -1      // unistd.h:181:1:
   202  	X_POSIX_V7_LP64_OFF64                  = 1       // unistd.h:182:1:
   203  	X_POSIX_V7_LPBIG_OFFBIG                = 1       // unistd.h:183:1:
   204  	X_POSIX_VERSION                        = 200112  // unistd.h:79:1:
   205  	X_RATTR_OK                             = 32768   // unistd.h:106:1:
   206  	X_READ_OK                              = 512     // unistd.h:100:1:
   207  	X_REXT_OK                              = 131072  // unistd.h:108:1:
   208  	X_RMFILE_OK                            = 16384   // unistd.h:105:1:
   209  	X_RPERM_OK                             = 524288  // unistd.h:110:1:
   210  	X_SC_2_CHAR_TERM                       = 20      // unistd.h:232:1:
   211  	X_SC_2_C_BIND                          = 18      // unistd.h:230:1:
   212  	X_SC_2_C_DEV                           = 19      // unistd.h:231:1:
   213  	X_SC_2_FORT_DEV                        = 21      // unistd.h:233:1:
   214  	X_SC_2_FORT_RUN                        = 22      // unistd.h:234:1:
   215  	X_SC_2_LOCALEDEF                       = 23      // unistd.h:235:1:
   216  	X_SC_2_PBS                             = 59      // unistd.h:275:1:
   217  	X_SC_2_PBS_ACCOUNTING                  = 60      // unistd.h:276:1:
   218  	X_SC_2_PBS_CHECKPOINT                  = 61      // unistd.h:277:1:
   219  	X_SC_2_PBS_LOCATE                      = 62      // unistd.h:278:1:
   220  	X_SC_2_PBS_MESSAGE                     = 63      // unistd.h:279:1:
   221  	X_SC_2_PBS_TRACK                       = 64      // unistd.h:280:1:
   222  	X_SC_2_SW_DEV                          = 24      // unistd.h:236:1:
   223  	X_SC_2_UPE                             = 25      // unistd.h:237:1:
   224  	X_SC_2_VERSION                         = 17      // unistd.h:229:1:
   225  	X_SC_ADVISORY_INFO                     = 65      // unistd.h:281:1:
   226  	X_SC_AIO_LISTIO_MAX                    = 42      // unistd.h:256:1:
   227  	X_SC_AIO_MAX                           = 43      // unistd.h:257:1:
   228  	X_SC_AIO_PRIO_DELTA_MAX                = 44      // unistd.h:258:1:
   229  	X_SC_ARG_MAX                           = 1       // unistd.h:213:1:
   230  	X_SC_ASYNCHRONOUS_IO                   = 28      // unistd.h:242:1:
   231  	X_SC_ATEXIT_MAX                        = 107     // unistd.h:329:1:
   232  	X_SC_BARRIERS                          = 66      // unistd.h:282:1:
   233  	X_SC_BC_BASE_MAX                       = 9       // unistd.h:221:1:
   234  	X_SC_BC_DIM_MAX                        = 10      // unistd.h:222:1:
   235  	X_SC_BC_SCALE_MAX                      = 11      // unistd.h:223:1:
   236  	X_SC_BC_STRING_MAX                     = 12      // unistd.h:224:1:
   237  	X_SC_CHILD_MAX                         = 2       // unistd.h:214:1:
   238  	X_SC_CLK_TCK                           = 3       // unistd.h:215:1:
   239  	X_SC_CLOCK_SELECTION                   = 67      // unistd.h:283:1:
   240  	X_SC_COLL_WEIGHTS_MAX                  = 13      // unistd.h:225:1:
   241  	X_SC_CPUTIME                           = 68      // unistd.h:284:1:
   242  	X_SC_DELAYTIMER_MAX                    = 45      // unistd.h:259:1:
   243  	X_SC_EXPR_NEST_MAX                     = 14      // unistd.h:226:1:
   244  	X_SC_FILE_LOCKING                      = 69      // unistd.h:285:1:
   245  	X_SC_FSYNC                             = 38      // unistd.h:252:1:
   246  	X_SC_GETGR_R_SIZE_MAX                  = 70      // unistd.h:286:1:
   247  	X_SC_GETPW_R_SIZE_MAX                  = 71      // unistd.h:287:1:
   248  	X_SC_HOST_NAME_MAX                     = 72      // unistd.h:288:1:
   249  	X_SC_IOV_MAX                           = 56      // unistd.h:330:1:
   250  	X_SC_IPV6                              = 118     // unistd.h:323:1:
   251  	X_SC_JOB_CONTROL                       = 6       // unistd.h:218:1:
   252  	X_SC_LINE_MAX                          = 15      // unistd.h:227:1:
   253  	X_SC_LOGIN_NAME_MAX                    = 73      // unistd.h:289:1:
   254  	X_SC_MAPPED_FILES                      = 47      // unistd.h:261:1:
   255  	X_SC_MEMLOCK                           = 30      // unistd.h:244:1:
   256  	X_SC_MEMLOCK_RANGE                     = 31      // unistd.h:245:1:
   257  	X_SC_MEMORY_PROTECTION                 = 32      // unistd.h:246:1:
   258  	X_SC_MESSAGE_PASSING                   = 33      // unistd.h:247:1:
   259  	X_SC_MONOTONIC_CLOCK                   = 74      // unistd.h:290:1:
   260  	X_SC_MQ_OPEN_MAX                       = 46      // unistd.h:260:1:
   261  	X_SC_MQ_PRIO_MAX                       = 75      // unistd.h:291:1:
   262  	X_SC_NGROUPS_MAX                       = 4       // unistd.h:216:1:
   263  	X_SC_NPROCESSORS_CONF                  = 57      // unistd.h:270:1:
   264  	X_SC_NPROCESSORS_ONLN                  = 58      // unistd.h:271:1:
   265  	X_SC_OPEN_MAX                          = 5       // unistd.h:217:1:
   266  	X_SC_PAGESIZE                          = 29      // unistd.h:243:1:
   267  	X_SC_PAGE_SIZE                         = 29      // unistd.h:331:1:
   268  	X_SC_PASS_MAX                          = 131     // unistd.h:362:1:
   269  	X_SC_PHYS_PAGES                        = 200     // unistd.h:367:1:
   270  	X_SC_PRIORITIZED_IO                    = 34      // unistd.h:248:1:
   271  	X_SC_PRIORITY_SCHEDULING               = 35      // unistd.h:249:1:
   272  	X_SC_RAW_SOCKETS                       = 119     // unistd.h:324:1:
   273  	X_SC_READER_WRITER_LOCKS               = 76      // unistd.h:292:1:
   274  	X_SC_REALTIME_SIGNALS                  = 36      // unistd.h:250:1:
   275  	X_SC_REGEXP                            = 77      // unistd.h:293:1:
   276  	X_SC_RE_DUP_MAX                        = 16      // unistd.h:228:1:
   277  	X_SC_RTSIG_MAX                         = 48      // unistd.h:262:1:
   278  	X_SC_SAVED_IDS                         = 7       // unistd.h:219:1:
   279  	X_SC_SEMAPHORES                        = 37      // unistd.h:251:1:
   280  	X_SC_SEM_NSEMS_MAX                     = 49      // unistd.h:263:1:
   281  	X_SC_SEM_VALUE_MAX                     = 50      // unistd.h:264:1:
   282  	X_SC_SHARED_MEMORY_OBJECTS             = 39      // unistd.h:253:1:
   283  	X_SC_SHELL                             = 78      // unistd.h:294:1:
   284  	X_SC_SIGQUEUE_MAX                      = 51      // unistd.h:265:1:
   285  	X_SC_SPAWN                             = 79      // unistd.h:295:1:
   286  	X_SC_SPIN_LOCKS                        = 80      // unistd.h:296:1:
   287  	X_SC_SPORADIC_SERVER                   = 81      // unistd.h:297:1:
   288  	X_SC_SS_REPL_MAX                       = 126     // unistd.h:353:1:
   289  	X_SC_STREAM_MAX                        = 26      // unistd.h:238:1:
   290  	X_SC_SYMLOOP_MAX                       = 120     // unistd.h:325:1:
   291  	X_SC_SYNCHRONIZED_IO                   = 40      // unistd.h:254:1:
   292  	X_SC_THREADS                           = 96      // unistd.h:312:1:
   293  	X_SC_THREAD_ATTR_STACKADDR             = 82      // unistd.h:298:1:
   294  	X_SC_THREAD_ATTR_STACKSIZE             = 83      // unistd.h:299:1:
   295  	X_SC_THREAD_CPUTIME                    = 84      // unistd.h:300:1:
   296  	X_SC_THREAD_DESTRUCTOR_ITERATIONS      = 85      // unistd.h:301:1:
   297  	X_SC_THREAD_KEYS_MAX                   = 86      // unistd.h:302:1:
   298  	X_SC_THREAD_PRIORITY_SCHEDULING        = 89      // unistd.h:305:1:
   299  	X_SC_THREAD_PRIO_INHERIT               = 87      // unistd.h:303:1:
   300  	X_SC_THREAD_PRIO_PROTECT               = 88      // unistd.h:304:1:
   301  	X_SC_THREAD_PROCESS_SHARED             = 90      // unistd.h:306:1:
   302  	X_SC_THREAD_SAFE_FUNCTIONS             = 91      // unistd.h:307:1:
   303  	X_SC_THREAD_SPORADIC_SERVER            = 92      // unistd.h:308:1:
   304  	X_SC_THREAD_STACK_MIN                  = 93      // unistd.h:309:1:
   305  	X_SC_THREAD_THREADS_MAX                = 94      // unistd.h:310:1:
   306  	X_SC_TIMEOUTS                          = 95      // unistd.h:311:1:
   307  	X_SC_TIMERS                            = 41      // unistd.h:255:1:
   308  	X_SC_TIMER_MAX                         = 52      // unistd.h:266:1:
   309  	X_SC_TRACE                             = 97      // unistd.h:313:1:
   310  	X_SC_TRACE_EVENT_FILTER                = 98      // unistd.h:314:1:
   311  	X_SC_TRACE_EVENT_NAME_MAX              = 127     // unistd.h:354:1:
   312  	X_SC_TRACE_INHERIT                     = 99      // unistd.h:315:1:
   313  	X_SC_TRACE_LOG                         = 100     // unistd.h:316:1:
   314  	X_SC_TRACE_NAME_MAX                    = 128     // unistd.h:355:1:
   315  	X_SC_TRACE_SYS_MAX                     = 129     // unistd.h:356:1:
   316  	X_SC_TRACE_USER_EVENT_MAX              = 130     // unistd.h:357:1:
   317  	X_SC_TTY_NAME_MAX                      = 101     // unistd.h:317:1:
   318  	X_SC_TYPED_MEMORY_OBJECTS              = 102     // unistd.h:318:1:
   319  	X_SC_TZNAME_MAX                        = 27      // unistd.h:239:1:
   320  	X_SC_V6_ILP32_OFF32                    = 103     // unistd.h:319:1:
   321  	X_SC_V6_ILP32_OFFBIG                   = 104     // unistd.h:320:1:
   322  	X_SC_V6_LP64_OFF64                     = 105     // unistd.h:321:1:
   323  	X_SC_V6_LPBIG_OFFBIG                   = 106     // unistd.h:322:1:
   324  	X_SC_VERSION                           = 8       // unistd.h:220:1:
   325  	X_SC_XBS5_ILP32_OFF32                  = 122     // unistd.h:346:1:
   326  	X_SC_XBS5_ILP32_OFFBIG                 = 123     // unistd.h:347:1:
   327  	X_SC_XBS5_LP64_OFF64                   = 124     // unistd.h:348:1:
   328  	X_SC_XBS5_LPBIG_OFFBIG                 = 125     // unistd.h:349:1:
   329  	X_SC_XOPEN_CRYPT                       = 108     // unistd.h:332:1:
   330  	X_SC_XOPEN_ENH_I18N                    = 109     // unistd.h:333:1:
   331  	X_SC_XOPEN_LEGACY                      = 110     // unistd.h:334:1:
   332  	X_SC_XOPEN_REALTIME                    = 111     // unistd.h:335:1:
   333  	X_SC_XOPEN_REALTIME_THREADS            = 112     // unistd.h:336:1:
   334  	X_SC_XOPEN_SHM                         = 113     // unistd.h:337:1:
   335  	X_SC_XOPEN_STREAMS                     = 114     // unistd.h:338:1:
   336  	X_SC_XOPEN_UNIX                        = 115     // unistd.h:339:1:
   337  	X_SC_XOPEN_VERSION                     = 116     // unistd.h:340:1:
   338  	X_SC_XOPEN_XCU_VERSION                 = 121     // unistd.h:341:1:
   339  	X_SIGSET_T                             = 0       // _sigset_t.h:29:1:
   340  	X_SIZE_T                               = 0       // _size_t.h:29:1:
   341  	X_SSIZE_T                              = 0       // _ssize_t.h:29:1:
   342  	X_SUSECONDS_T                          = 0       // _suseconds_t.h:29:1:
   343  	X_SYS_SELECT_H_                        = 0       // select.h:64:1:
   344  	X_SYS_UNISTD_H_                        = 0       // unistd.h:65:1:
   345  	X_SYS__PTHREAD_TYPES_H_                = 0       // _pthread_types.h:30:1:
   346  	X_SYS__SELECT_H_                       = 0       // _select.h:37:1:
   347  	X_SYS__TYPES_H_                        = 0       // _types.h:30:1:
   348  	X_TIME_T                               = 0       // _time_t.h:29:1:
   349  	X_UID_T                                = 0       // _uid_t.h:29:1:
   350  	X_UINT32_T                             = 0       // _uint32_t.h:30:1:
   351  	X_UINT64_T                             = 0       // _uint64_t.h:30:1:
   352  	X_UINTPTR_T                            = 0       // _uintptr_t.h:29:1:
   353  	X_UNISTD_H_                            = 0       // unistd.h:69:1:
   354  	X_USECONDS_T                           = 0       // _useconds_t.h:29:1:
   355  	X_UUID_T                               = 0       // _uuid_t.h:29:1:
   356  	X_U_INT16_T                            = 0       // _u_int16_t.h:29:1:
   357  	X_U_INT32_T                            = 0       // _u_int32_t.h:29:1:
   358  	X_U_INT64_T                            = 0       // _u_int64_t.h:29:1:
   359  	X_U_INT8_T                             = 0       // _u_int8_t.h:29:1:
   360  	X_V6_ILP32_OFF32                       = -1      // unistd.h:187:1:
   361  	X_V6_ILP32_OFFBIG                      = -1      // unistd.h:188:1:
   362  	X_V6_LP64_OFF64                        = 1       // unistd.h:189:1:
   363  	X_V6_LPBIG_OFFBIG                      = 1       // unistd.h:190:1:
   364  	X_WATTR_OK                             = 65536   // unistd.h:107:1:
   365  	X_WEXT_OK                              = 262144  // unistd.h:109:1:
   366  	X_WPERM_OK                             = 1048576 // unistd.h:111:1:
   367  	X_WRITE_OK                             = 1024    // unistd.h:101:1:
   368  	X_XBS5_ILP32_OFF32                     = -1      // unistd.h:195:1:
   369  	X_XBS5_ILP32_OFFBIG                    = -1      // unistd.h:196:1:
   370  	X_XBS5_LP64_OFF64                      = 1       // unistd.h:197:1:
   371  	X_XBS5_LPBIG_OFFBIG                    = 1       // unistd.h:198:1:
   372  	X_XOPEN_CRYPT                          = 1       // unistd.h:202:1:
   373  	X_XOPEN_ENH_I18N                       = 1       // unistd.h:203:1:
   374  	X_XOPEN_LEGACY                         = -1      // unistd.h:204:1:
   375  	X_XOPEN_REALTIME                       = -1      // unistd.h:205:1:
   376  	X_XOPEN_REALTIME_THREADS               = -1      // unistd.h:206:1:
   377  	X_XOPEN_SHM                            = 1       // unistd.h:207:1:
   378  	X_XOPEN_STREAMS                        = -1      // unistd.h:208:1:
   379  	X_XOPEN_UNIX                           = 1       // unistd.h:209:1:
   380  	X_XOPEN_VERSION                        = 600     // unistd.h:93:1:
   381  	X_XOPEN_XCU_VERSION                    = 4       // unistd.h:94:1:
   382  )
   383  
   384  type Ptrdiff_t = int64 /* <builtin>:3:26 */
   385  
   386  type Size_t = uint64 /* <builtin>:9:23 */
   387  
   388  type Wchar_t = int32 /* <builtin>:15:24 */
   389  
   390  type X__int128_t = struct {
   391  	Flo int64
   392  	Fhi int64
   393  } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
   394  type X__uint128_t = struct {
   395  	Flo uint64
   396  	Fhi uint64
   397  } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
   398  
   399  type X__builtin_va_list = uintptr /* <builtin>:46:14 */
   400  type X__float128 = float64        /* <builtin>:47:21 */
   401  
   402  var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
   403  
   404  // Copyright (c) 2000, 2002-2006, 2008-2010, 2012 Apple Inc. All rights reserved.
   405  //
   406  // @APPLE_LICENSE_HEADER_START@
   407  //
   408  // This file contains Original Code and/or Modifications of Original Code
   409  // as defined in and that are subject to the Apple Public Source License
   410  // Version 2.0 (the 'License'). You may not use this file except in
   411  // compliance with the License. Please obtain a copy of the License at
   412  // http://www.opensource.apple.com/apsl/ and read it before using this
   413  // file.
   414  //
   415  // The Original Code and all software distributed under the License are
   416  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   417  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   418  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   419  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   420  // Please see the License for the specific language governing rights and
   421  // limitations under the License.
   422  //
   423  // @APPLE_LICENSE_HEADER_END@
   424  // -
   425  // Copyright (c) 1998-1999 Apple Computer, Inc. All Rights Reserved
   426  // Copyright (c) 1991, 1993, 1994
   427  //	The Regents of the University of California.  All rights reserved.
   428  //
   429  // Redistribution and use in source and binary forms, with or without
   430  // modification, are permitted provided that the following conditions
   431  // are met:
   432  // 1. Redistributions of source code must retain the above copyright
   433  //    notice, this list of conditions and the following disclaimer.
   434  // 2. Redistributions in binary form must reproduce the above copyright
   435  //    notice, this list of conditions and the following disclaimer in the
   436  //    documentation and/or other materials provided with the distribution.
   437  // 3. All advertising materials mentioning features or use of this software
   438  //    must display the following acknowledgement:
   439  //	This product includes software developed by the University of
   440  //	California, Berkeley and its contributors.
   441  // 4. Neither the name of the University nor the names of its contributors
   442  //    may be used to endorse or promote products derived from this software
   443  //    without specific prior written permission.
   444  //
   445  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   446  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   447  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   448  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   449  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   450  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   451  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   452  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   453  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   454  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   455  // SUCH DAMAGE.
   456  //
   457  //	@(#)unistd.h	8.12 (Berkeley) 4/27/95
   458  //
   459  //  Copyright (c)  1998 Apple Compter, Inc.
   460  //  All Rights Reserved
   461  
   462  // History:
   463  //         7/14/99 EKN at Apple fixed getdirentriesattr from getdirentryattr
   464  //         3/26/98 CHW at Apple added real interface to searchfs call
   465  //   	3/5/98  CHW at Apple added hfs semantic system calls headers
   466  
   467  // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
   468  //
   469  // @APPLE_LICENSE_HEADER_START@
   470  //
   471  // This file contains Original Code and/or Modifications of Original Code
   472  // as defined in and that are subject to the Apple Public Source License
   473  // Version 2.0 (the 'License'). You may not use this file except in
   474  // compliance with the License. Please obtain a copy of the License at
   475  // http://www.opensource.apple.com/apsl/ and read it before using this
   476  // file.
   477  //
   478  // The Original Code and all software distributed under the License are
   479  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   480  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   481  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   482  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   483  // Please see the License for the specific language governing rights and
   484  // limitations under the License.
   485  //
   486  // @APPLE_LICENSE_HEADER_END@
   487  
   488  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   489  //
   490  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   491  //
   492  // This file contains Original Code and/or Modifications of Original Code
   493  // as defined in and that are subject to the Apple Public Source License
   494  // Version 2.0 (the 'License'). You may not use this file except in
   495  // compliance with the License. The rights granted to you under the License
   496  // may not be used to create, or enable the creation or redistribution of,
   497  // unlawful or unlicensed copies of an Apple operating system, or to
   498  // circumvent, violate, or enable the circumvention or violation of, any
   499  // terms of an Apple operating system software license agreement.
   500  //
   501  // Please obtain a copy of the License at
   502  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   503  //
   504  // The Original Code and all software distributed under the License are
   505  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   506  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   507  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   508  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   509  // Please see the License for the specific language governing rights and
   510  // limitations under the License.
   511  //
   512  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   513  
   514  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
   515  //
   516  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   517  //
   518  // This file contains Original Code and/or Modifications of Original Code
   519  // as defined in and that are subject to the Apple Public Source License
   520  // Version 2.0 (the 'License'). You may not use this file except in
   521  // compliance with the License. The rights granted to you under the License
   522  // may not be used to create, or enable the creation or redistribution of,
   523  // unlawful or unlicensed copies of an Apple operating system, or to
   524  // circumvent, violate, or enable the circumvention or violation of, any
   525  // terms of an Apple operating system software license agreement.
   526  //
   527  // Please obtain a copy of the License at
   528  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   529  //
   530  // The Original Code and all software distributed under the License are
   531  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   532  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   533  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   534  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   535  // Please see the License for the specific language governing rights and
   536  // limitations under the License.
   537  //
   538  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   539  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
   540  // Copyright (c) 1991, 1993
   541  //	The Regents of the University of California.  All rights reserved.
   542  //
   543  // This code is derived from software contributed to Berkeley by
   544  // Berkeley Software Design, Inc.
   545  //
   546  // Redistribution and use in source and binary forms, with or without
   547  // modification, are permitted provided that the following conditions
   548  // are met:
   549  // 1. Redistributions of source code must retain the above copyright
   550  //    notice, this list of conditions and the following disclaimer.
   551  // 2. Redistributions in binary form must reproduce the above copyright
   552  //    notice, this list of conditions and the following disclaimer in the
   553  //    documentation and/or other materials provided with the distribution.
   554  // 3. All advertising materials mentioning features or use of this software
   555  //    must display the following acknowledgement:
   556  //	This product includes software developed by the University of
   557  //	California, Berkeley and its contributors.
   558  // 4. Neither the name of the University nor the names of its contributors
   559  //    may be used to endorse or promote products derived from this software
   560  //    without specific prior written permission.
   561  //
   562  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
   563  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   564  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   565  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
   566  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   567  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   568  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   569  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   570  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   571  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   572  // SUCH DAMAGE.
   573  //
   574  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
   575  
   576  // This SDK is designed to work with clang and specific versions of
   577  // gcc >= 4.0 with Apple's patch sets
   578  
   579  // Compatibility with compilers and environments that don't support compiler
   580  // feature checking function-like macros.
   581  
   582  // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
   583  // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
   584  // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
   585  // in between its arguments.  __CONCAT can also concatenate double-quoted
   586  // strings produced by the __STRING macro, but this only works with ANSI C.
   587  
   588  // In non-ANSI C environments, new programs will want ANSI-only C keywords
   589  // deleted from the program and old programs will want them left alone.
   590  // When using a compiler other than gcc, programs using the ANSI C keywords
   591  // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
   592  // When using "gcc -traditional", we assume that this is the intent; if
   593  // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
   594  
   595  // __unused denotes variables and functions that may not be used, preventing
   596  // the compiler from warning about it if not used.
   597  
   598  // __used forces variables and functions to be included even if it appears
   599  // to the compiler that they are not used (and would thust be discarded).
   600  
   601  // __cold marks code used for debugging or that is rarely taken
   602  // and tells the compiler to optimize for size and outline code.
   603  
   604  // __deprecated causes the compiler to produce a warning when encountering
   605  // code using the deprecated functionality.
   606  // __deprecated_msg() does the same, and compilers that support it will print
   607  // a message along with the deprecation warning.
   608  // This may require turning on such warning with the -Wdeprecated flag.
   609  // __deprecated_enum_msg() should be used on enums, and compilers that support
   610  // it will print the deprecation warning.
   611  // __kpi_deprecated() specifically indicates deprecation of kernel programming
   612  // interfaces in Kernel.framework used by KEXTs.
   613  
   614  // __unavailable causes the compiler to error out when encountering
   615  // code using the tagged function of variable.
   616  
   617  // Delete pseudo-keywords wherever they are not available or needed.
   618  
   619  // We use `__restrict' as a way to define the `restrict' type qualifier
   620  // without disturbing older software that is unaware of C99 keywords.
   621  
   622  // Compatibility with compilers and environments that don't support the
   623  // nullability feature.
   624  
   625  // __disable_tail_calls causes the compiler to not perform tail call
   626  // optimization inside the marked function.
   627  
   628  // __not_tail_called causes the compiler to prevent tail call optimization
   629  // on statically bound calls to the function.  It has no effect on indirect
   630  // calls.  Virtual functions, objective-c methods, and functions marked as
   631  // "always_inline" cannot be marked as __not_tail_called.
   632  
   633  // __result_use_check warns callers of a function that not using the function
   634  // return value is a bug, i.e. dismissing malloc() return value results in a
   635  // memory leak.
   636  
   637  // __swift_unavailable causes the compiler to mark a symbol as specifically
   638  // unavailable in Swift, regardless of any other availability in C.
   639  
   640  // __abortlike is the attribute to put on functions like abort() that are
   641  // typically used to mark assertions. These optimize the codegen
   642  // for outlining while still maintaining debugability.
   643  
   644  // Declaring inline functions within headers is error-prone due to differences
   645  // across various versions of the C language and extensions.  __header_inline
   646  // can be used to declare inline functions within system headers.  In cases
   647  // where you want to force inlining instead of letting the compiler make
   648  // the decision, you can use __header_always_inline.
   649  //
   650  // Be aware that using inline for functions which compilers may also provide
   651  // builtins can behave differently under various compilers.  If you intend to
   652  // provide an inline version of such a function, you may want to use a macro
   653  // instead.
   654  //
   655  // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
   656  // support c99 inline in some cases:
   657  // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
   658  
   659  // Compiler-dependent macros that bracket portions of code where the
   660  // "-Wunreachable-code" warning should be ignored. Please use sparingly.
   661  
   662  // Compiler-dependent macros to declare that functions take printf-like
   663  // or scanf-like arguments.  They are null except for versions of gcc
   664  // that are known to support the features properly.  Functions declared
   665  // with these attributes will cause compilation warnings if there is a
   666  // mismatch between the format string and subsequent function parameter
   667  // types.
   668  
   669  // Source compatibility only, ID string not emitted in object file
   670  
   671  // __alloc_size can be used to label function arguments that represent the
   672  // size of memory that the function allocates and returns. The one-argument
   673  // form labels a single argument that gives the allocation size (where the
   674  // arguments are numbered from 1):
   675  //
   676  // void	*malloc(size_t __size) __alloc_size(1);
   677  //
   678  // The two-argument form handles the case where the size is calculated as the
   679  // product of two arguments:
   680  //
   681  // void	*calloc(size_t __count, size_t __size) __alloc_size(1,2);
   682  
   683  // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
   684  //
   685  // DEFAULT	By default newly complied code will get POSIX APIs plus
   686  //		Apple API extensions in scope.
   687  //
   688  //		Most users will use this compilation environment to avoid
   689  //		behavioral differences between 32 and 64 bit code.
   690  //
   691  // LEGACY	Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
   692  //		API extensions in scope.
   693  //
   694  //		This is generally equivalent to the Tiger release compilation
   695  //		environment, except that it cannot be applied to 64 bit code;
   696  //		its use is discouraged.
   697  //
   698  //		We expect this environment to be deprecated in the future.
   699  //
   700  // STRICT	Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
   701  //		available APIs to exactly the set of APIs defined by the
   702  //		corresponding standard, based on the value defined.
   703  //
   704  //		A correct, portable definition for _POSIX_C_SOURCE is 200112L.
   705  //		A correct, portable definition for _XOPEN_SOURCE is 600L.
   706  //
   707  //		Apple API extensions are not visible in this environment,
   708  //		which can cause Apple specific code to fail to compile,
   709  //		or behave incorrectly if prototypes are not in scope or
   710  //		warnings about missing prototypes are not enabled or ignored.
   711  //
   712  // In any compilation environment, for correct symbol resolution to occur,
   713  // function prototypes must be in scope.  It is recommended that all Apple
   714  // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
   715  // compiler flags to their projects to be warned when a function is being
   716  // used without a prototype in scope.
   717  
   718  // These settings are particular to each product.
   719  // Platform: MacOSX
   720  // #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit)
   721  
   722  // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
   723  // legacy code to use the old symbol, thus maintaining binary compatibility
   724  // while new code can use a standards compliant version of the same function.
   725  //
   726  // __DARWIN_ALIAS is used by itself if the function signature has not
   727  // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
   728  // if the signature has changed.  Because the __LP64__ environment
   729  // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
   730  // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
   731  //
   732  // As a special case, when XCode is used to target a specific version of the
   733  // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
   734  // will be defined by the compiler, with the digits representing major version
   735  // time 100 + minor version times 10 (e.g. 10.5 := 1050).  If we are targeting
   736  // pre-10.5, and it is the default compilation environment, revert the
   737  // compilation environment to pre-__DARWIN_UNIX03.
   738  
   739  // symbol suffixes used for symbol versioning
   740  
   741  // symbol versioning macros
   742  
   743  // symbol release macros
   744  // Copyright (c) 2010 Apple Inc. All rights reserved.
   745  //
   746  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   747  //
   748  // This file contains Original Code and/or Modifications of Original Code
   749  // as defined in and that are subject to the Apple Public Source License
   750  // Version 2.0 (the 'License'). You may not use this file except in
   751  // compliance with the License. The rights granted to you under the License
   752  // may not be used to create, or enable the creation or redistribution of,
   753  // unlawful or unlicensed copies of an Apple operating system, or to
   754  // circumvent, violate, or enable the circumvention or violation of, any
   755  // terms of an Apple operating system software license agreement.
   756  //
   757  // Please obtain a copy of the License at
   758  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   759  //
   760  // The Original Code and all software distributed under the License are
   761  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   762  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   763  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   764  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   765  // Please see the License for the specific language governing rights and
   766  // limitations under the License.
   767  //
   768  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   769  
   770  // POSIX.1 requires that the macros we test be defined before any standard
   771  // header file is included.  This permits us to convert values for feature
   772  // testing, as necessary, using only _POSIX_C_SOURCE.
   773  //
   774  // Here's a quick run-down of the versions:
   775  //  defined(_POSIX_SOURCE)		1003.1-1988
   776  //  _POSIX_C_SOURCE == 1L		1003.1-1990
   777  //  _POSIX_C_SOURCE == 2L		1003.2-1992 C Language Binding Option
   778  //  _POSIX_C_SOURCE == 199309L		1003.1b-1993
   779  //  _POSIX_C_SOURCE == 199506L		1003.1c-1995, 1003.1i-1995,
   780  //					and the omnibus ISO/IEC 9945-1: 1996
   781  //  _POSIX_C_SOURCE == 200112L		1003.1-2001
   782  //  _POSIX_C_SOURCE == 200809L		1003.1-2008
   783  //
   784  // In addition, the X/Open Portability Guide, which is now the Single UNIX
   785  // Specification, defines a feature-test macro which indicates the version of
   786  // that specification, and which subsumes _POSIX_C_SOURCE.
   787  
   788  // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
   789  
   790  // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
   791  
   792  // Deal with various X/Open Portability Guides and Single UNIX Spec.
   793  
   794  // Deal with all versions of POSIX.  The ordering relative to the tests above is
   795  // important.
   796  
   797  // POSIX C deprecation macros
   798  // Copyright (c) 2010 Apple Inc. All rights reserved.
   799  //
   800  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   801  //
   802  // This file contains Original Code and/or Modifications of Original Code
   803  // as defined in and that are subject to the Apple Public Source License
   804  // Version 2.0 (the 'License'). You may not use this file except in
   805  // compliance with the License. The rights granted to you under the License
   806  // may not be used to create, or enable the creation or redistribution of,
   807  // unlawful or unlicensed copies of an Apple operating system, or to
   808  // circumvent, violate, or enable the circumvention or violation of, any
   809  // terms of an Apple operating system software license agreement.
   810  //
   811  // Please obtain a copy of the License at
   812  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   813  //
   814  // The Original Code and all software distributed under the License are
   815  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   816  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   817  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   818  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   819  // Please see the License for the specific language governing rights and
   820  // limitations under the License.
   821  //
   822  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   823  
   824  // Set a single macro which will always be defined and can be used to determine
   825  // the appropriate namespace.  For POSIX, these values will correspond to
   826  // _POSIX_C_SOURCE value.  Currently there are two additional levels corresponding
   827  // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
   828  
   829  // If the developer has neither requested a strict language mode nor a version
   830  // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
   831  // of __DARWIN_C_FULL.
   832  
   833  // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
   834  // c99 still want long longs.  While not perfect, we allow long longs for
   835  // g++.
   836  
   837  // ****************************************
   838  //
   839  //  Public darwin-specific feature macros
   840  //
   841  
   842  // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
   843  // structures modified for 64-bit inodes (like struct stat) will be used.
   844  
   845  // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
   846  // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
   847  // (and non-zero).  There is no struct stat64 either, as the regular
   848  // struct stat will already be the 64-bit version.
   849  
   850  // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
   851  // in 10.5 exists; no pre-10.5 variants are available.
   852  
   853  // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
   854  // are available (the legacy BSD APIs are not available)
   855  
   856  // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
   857  // and specifies the conformance level (3 is SUSv3)
   858  
   859  // This macro casts away the qualifier from the variable
   860  //
   861  // Note: use at your own risk, removing qualifiers can result in
   862  // catastrophic run-time failures.
   863  
   864  // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
   865  // used from other compilation units, but not other libraries or executables.
   866  
   867  // Architecture validation for current SDK
   868  
   869  // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
   870  //
   871  // This provides more advanced type checking on compilers supporting
   872  // the proper extensions, even in C.
   873  
   874  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
   875  //
   876  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   877  //
   878  // This file contains Original Code and/or Modifications of Original Code
   879  // as defined in and that are subject to the Apple Public Source License
   880  // Version 2.0 (the 'License'). You may not use this file except in
   881  // compliance with the License. The rights granted to you under the License
   882  // may not be used to create, or enable the creation or redistribution of,
   883  // unlawful or unlicensed copies of an Apple operating system, or to
   884  // circumvent, violate, or enable the circumvention or violation of, any
   885  // terms of an Apple operating system software license agreement.
   886  //
   887  // Please obtain a copy of the License at
   888  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   889  //
   890  // The Original Code and all software distributed under the License are
   891  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   892  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   893  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   894  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   895  // Please see the License for the specific language governing rights and
   896  // limitations under the License.
   897  //
   898  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   899  
   900  // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
   901  //
   902  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
   903  //
   904  // This file contains Original Code and/or Modifications of Original Code
   905  // as defined in and that are subject to the Apple Public Source License
   906  // Version 2.0 (the 'License'). You may not use this file except in
   907  // compliance with the License. The rights granted to you under the License
   908  // may not be used to create, or enable the creation or redistribution of,
   909  // unlawful or unlicensed copies of an Apple operating system, or to
   910  // circumvent, violate, or enable the circumvention or violation of, any
   911  // terms of an Apple operating system software license agreement.
   912  //
   913  // Please obtain a copy of the License at
   914  // http://www.opensource.apple.com/apsl/ and read it before using this file.
   915  //
   916  // The Original Code and all software distributed under the License are
   917  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   918  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   919  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   920  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   921  // Please see the License for the specific language governing rights and
   922  // limitations under the License.
   923  //
   924  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
   925  
   926  // This header file contains integer types.  It's intended to also contain
   927  // flotaing point and other arithmetic types, as needed, later.
   928  
   929  type X__int8_t = int8     /* _types.h:37:33 */
   930  type X__uint8_t = uint8   /* _types.h:41:33 */
   931  type X__int16_t = int16   /* _types.h:42:33 */
   932  type X__uint16_t = uint16 /* _types.h:43:33 */
   933  type X__int32_t = int32   /* _types.h:44:33 */
   934  type X__uint32_t = uint32 /* _types.h:45:33 */
   935  type X__int64_t = int64   /* _types.h:46:33 */
   936  type X__uint64_t = uint64 /* _types.h:47:33 */
   937  
   938  type X__darwin_intptr_t = int64   /* _types.h:49:33 */
   939  type X__darwin_natural_t = uint32 /* _types.h:50:33 */
   940  
   941  // The rune type below is declared to be an ``int'' instead of the more natural
   942  // ``unsigned long'' or ``long''.  Two things are happening here.  It is not
   943  // unsigned so that EOF (-1) can be naturally assigned to it and used.  Also,
   944  // it looks like 10646 will be a 31 bit standard.  This means that if your
   945  // ints cannot hold 32 bits, you will be in trouble.  The reason an int was
   946  // chosen over a long is that the is*() and to*() routines take ints (says
   947  // ANSI C), but they use __darwin_ct_rune_t instead of int.  By changing it
   948  // here, you lose a bit of ANSI conformance, but your programs will still
   949  // work.
   950  //
   951  // NOTE: rune_t is not covered by ANSI nor other standards, and should not
   952  // be instantiated outside of lib/libc/locale.  Use wchar_t.  wchar_t and
   953  // rune_t must be the same type.  Also wint_t must be no narrower than
   954  // wchar_t, and should also be able to hold all members of the largest
   955  // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
   956  
   957  type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
   958  
   959  // mbstate_t is an opaque object to keep conversion state, during multibyte
   960  // stream conversions.  The content must not be referenced by user programs.
   961  type X__mbstate_t = struct {
   962  	F__ccgo_pad1 [0]uint64
   963  	F__mbstate8  [128]int8
   964  } /* _types.h:79:3 */
   965  
   966  type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t
   967  
   968  type X__darwin_ptrdiff_t = int64 /* _types.h:84:33 */ // ptr1 - ptr2
   969  
   970  type X__darwin_size_t = uint64 /* _types.h:92:33 */ // sizeof()
   971  
   972  type X__darwin_va_list = X__builtin_va_list /* _types.h:98:33 */ // va_list
   973  
   974  type X__darwin_wchar_t = int32 /* _types.h:104:33 */ // wchar_t
   975  
   976  type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:109:33 */ // rune_t
   977  
   978  type X__darwin_wint_t = int32 /* _types.h:112:33 */ // wint_t
   979  
   980  type X__darwin_clock_t = uint64        /* _types.h:117:33 */ // clock()
   981  type X__darwin_socklen_t = X__uint32_t /* _types.h:118:33 */ // socklen_t (duh)
   982  type X__darwin_ssize_t = int64         /* _types.h:119:33 */ // byte count or error
   983  type X__darwin_time_t = int64          /* _types.h:120:33 */ // time()
   984  
   985  // Type definitions; takes common type definitions that must be used
   986  // in multiple header files due to [XSI], removes them from the system
   987  // space, and puts them in the implementation space.
   988  
   989  type X__darwin_blkcnt_t = X__int64_t                    /* _types.h:55:25 */ // total blocks
   990  type X__darwin_blksize_t = X__int32_t                   /* _types.h:56:25 */ // preferred block size
   991  type X__darwin_dev_t = X__int32_t                       /* _types.h:57:25 */ // dev_t
   992  type X__darwin_fsblkcnt_t = uint32                      /* _types.h:58:25 */ // Used by statvfs and fstatvfs
   993  type X__darwin_fsfilcnt_t = uint32                      /* _types.h:59:25 */ // Used by statvfs and fstatvfs
   994  type X__darwin_gid_t = X__uint32_t                      /* _types.h:60:25 */ // [???] process and group IDs
   995  type X__darwin_id_t = X__uint32_t                       /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
   996  type X__darwin_ino64_t = X__uint64_t                    /* _types.h:62:25 */ // [???] Used for 64 bit inodes
   997  type X__darwin_ino_t = X__darwin_ino64_t                /* _types.h:64:26 */ // [???] Used for inodes
   998  type X__darwin_mach_port_name_t = X__darwin_natural_t   /* _types.h:68:28 */ // Used by mach
   999  type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
  1000  type X__darwin_mode_t = X__uint16_t                     /* _types.h:70:25 */ // [???] Some file attributes
  1001  type X__darwin_off_t = X__int64_t                       /* _types.h:71:25 */ // [???] Used for file sizes
  1002  type X__darwin_pid_t = X__int32_t                       /* _types.h:72:25 */ // [???] process and group IDs
  1003  type X__darwin_sigset_t = X__uint32_t                   /* _types.h:73:25 */ // [???] signal set
  1004  type X__darwin_suseconds_t = X__int32_t                 /* _types.h:74:25 */ // [???] microseconds
  1005  type X__darwin_uid_t = X__uint32_t                      /* _types.h:75:25 */ // [???] user IDs
  1006  type X__darwin_useconds_t = X__uint32_t                 /* _types.h:76:25 */ // [???] microseconds
  1007  type X__darwin_uuid_t = [16]uint8                       /* _types.h:77:25 */
  1008  type X__darwin_uuid_string_t = [37]int8                 /* _types.h:78:17 */
  1009  
  1010  // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  1011  //
  1012  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1013  //
  1014  // This file contains Original Code and/or Modifications of Original Code
  1015  // as defined in and that are subject to the Apple Public Source License
  1016  // Version 2.0 (the 'License'). You may not use this file except in
  1017  // compliance with the License. The rights granted to you under the License
  1018  // may not be used to create, or enable the creation or redistribution of,
  1019  // unlawful or unlicensed copies of an Apple operating system, or to
  1020  // circumvent, violate, or enable the circumvention or violation of, any
  1021  // terms of an Apple operating system software license agreement.
  1022  //
  1023  // Please obtain a copy of the License at
  1024  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1025  //
  1026  // The Original Code and all software distributed under the License are
  1027  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1028  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1029  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1030  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1031  // Please see the License for the specific language governing rights and
  1032  // limitations under the License.
  1033  //
  1034  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1035  
  1036  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1037  //
  1038  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1039  //
  1040  // This file contains Original Code and/or Modifications of Original Code
  1041  // as defined in and that are subject to the Apple Public Source License
  1042  // Version 2.0 (the 'License'). You may not use this file except in
  1043  // compliance with the License. The rights granted to you under the License
  1044  // may not be used to create, or enable the creation or redistribution of,
  1045  // unlawful or unlicensed copies of an Apple operating system, or to
  1046  // circumvent, violate, or enable the circumvention or violation of, any
  1047  // terms of an Apple operating system software license agreement.
  1048  //
  1049  // Please obtain a copy of the License at
  1050  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1051  //
  1052  // The Original Code and all software distributed under the License are
  1053  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1054  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1055  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1056  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1057  // Please see the License for the specific language governing rights and
  1058  // limitations under the License.
  1059  //
  1060  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1061  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1062  // Copyright (c) 1991, 1993
  1063  //	The Regents of the University of California.  All rights reserved.
  1064  //
  1065  // This code is derived from software contributed to Berkeley by
  1066  // Berkeley Software Design, Inc.
  1067  //
  1068  // Redistribution and use in source and binary forms, with or without
  1069  // modification, are permitted provided that the following conditions
  1070  // are met:
  1071  // 1. Redistributions of source code must retain the above copyright
  1072  //    notice, this list of conditions and the following disclaimer.
  1073  // 2. Redistributions in binary form must reproduce the above copyright
  1074  //    notice, this list of conditions and the following disclaimer in the
  1075  //    documentation and/or other materials provided with the distribution.
  1076  // 3. All advertising materials mentioning features or use of this software
  1077  //    must display the following acknowledgement:
  1078  //	This product includes software developed by the University of
  1079  //	California, Berkeley and its contributors.
  1080  // 4. Neither the name of the University nor the names of its contributors
  1081  //    may be used to endorse or promote products derived from this software
  1082  //    without specific prior written permission.
  1083  //
  1084  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1085  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1086  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1087  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1088  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1089  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1090  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1091  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1092  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1093  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1094  // SUCH DAMAGE.
  1095  //
  1096  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1097  
  1098  // pthread opaque structures
  1099  
  1100  type X__darwin_pthread_handler_rec = struct {
  1101  	F__routine uintptr
  1102  	F__arg     uintptr
  1103  	F__next    uintptr
  1104  } /* _pthread_types.h:57:1 */
  1105  
  1106  type X_opaque_pthread_attr_t = struct {
  1107  	F__sig    int64
  1108  	F__opaque [56]int8
  1109  } /* _pthread_types.h:63:1 */
  1110  
  1111  type X_opaque_pthread_cond_t = struct {
  1112  	F__sig    int64
  1113  	F__opaque [40]int8
  1114  } /* _pthread_types.h:68:1 */
  1115  
  1116  type X_opaque_pthread_condattr_t = struct {
  1117  	F__sig    int64
  1118  	F__opaque [8]int8
  1119  } /* _pthread_types.h:73:1 */
  1120  
  1121  type X_opaque_pthread_mutex_t = struct {
  1122  	F__sig    int64
  1123  	F__opaque [56]int8
  1124  } /* _pthread_types.h:78:1 */
  1125  
  1126  type X_opaque_pthread_mutexattr_t = struct {
  1127  	F__sig    int64
  1128  	F__opaque [8]int8
  1129  } /* _pthread_types.h:83:1 */
  1130  
  1131  type X_opaque_pthread_once_t = struct {
  1132  	F__sig    int64
  1133  	F__opaque [8]int8
  1134  } /* _pthread_types.h:88:1 */
  1135  
  1136  type X_opaque_pthread_rwlock_t = struct {
  1137  	F__sig    int64
  1138  	F__opaque [192]int8
  1139  } /* _pthread_types.h:93:1 */
  1140  
  1141  type X_opaque_pthread_rwlockattr_t = struct {
  1142  	F__sig    int64
  1143  	F__opaque [16]int8
  1144  } /* _pthread_types.h:98:1 */
  1145  
  1146  type X_opaque_pthread_t = struct {
  1147  	F__sig           int64
  1148  	F__cleanup_stack uintptr
  1149  	F__opaque        [8176]int8
  1150  } /* _pthread_types.h:103:1 */
  1151  
  1152  type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t             /* _pthread_types.h:109:39 */
  1153  type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t             /* _pthread_types.h:110:39 */
  1154  type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t     /* _pthread_types.h:111:43 */
  1155  type X__darwin_pthread_key_t = uint64                               /* _pthread_types.h:112:23 */
  1156  type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t           /* _pthread_types.h:113:40 */
  1157  type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t   /* _pthread_types.h:114:44 */
  1158  type X__darwin_pthread_once_t = X_opaque_pthread_once_t             /* _pthread_types.h:115:39 */
  1159  type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t         /* _pthread_types.h:116:41 */
  1160  type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
  1161  type X__darwin_pthread_t = uintptr                                  /* _pthread_types.h:118:34 */
  1162  
  1163  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1164  //
  1165  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1166  //
  1167  // This file contains Original Code and/or Modifications of Original Code
  1168  // as defined in and that are subject to the Apple Public Source License
  1169  // Version 2.0 (the 'License'). You may not use this file except in
  1170  // compliance with the License. The rights granted to you under the License
  1171  // may not be used to create, or enable the creation or redistribution of,
  1172  // unlawful or unlicensed copies of an Apple operating system, or to
  1173  // circumvent, violate, or enable the circumvention or violation of, any
  1174  // terms of an Apple operating system software license agreement.
  1175  //
  1176  // Please obtain a copy of the License at
  1177  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1178  //
  1179  // The Original Code and all software distributed under the License are
  1180  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1181  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1182  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1183  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1184  // Please see the License for the specific language governing rights and
  1185  // limitations under the License.
  1186  //
  1187  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1188  
  1189  type X__darwin_nl_item = int32        /* _types.h:40:14 */
  1190  type X__darwin_wctrans_t = int32      /* _types.h:41:14 */
  1191  type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
  1192  
  1193  // Copyright (c) 2000-2013 Apple Inc. All rights reserved.
  1194  //
  1195  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1196  //
  1197  // This file contains Original Code and/or Modifications of Original Code
  1198  // as defined in and that are subject to the Apple Public Source License
  1199  // Version 2.0 (the 'License'). You may not use this file except in
  1200  // compliance with the License. The rights granted to you under the License
  1201  // may not be used to create, or enable the creation or redistribution of,
  1202  // unlawful or unlicensed copies of an Apple operating system, or to
  1203  // circumvent, violate, or enable the circumvention or violation of, any
  1204  // terms of an Apple operating system software license agreement.
  1205  //
  1206  // Please obtain a copy of the License at
  1207  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1208  //
  1209  // The Original Code and all software distributed under the License are
  1210  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1211  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1212  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1213  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1214  // Please see the License for the specific language governing rights and
  1215  // limitations under the License.
  1216  //
  1217  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1218  // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  1219  // Copyright (c) 1989, 1993
  1220  //	The Regents of the University of California.  All rights reserved.
  1221  //
  1222  // Redistribution and use in source and binary forms, with or without
  1223  // modification, are permitted provided that the following conditions
  1224  // are met:
  1225  // 1. Redistributions of source code must retain the above copyright
  1226  //    notice, this list of conditions and the following disclaimer.
  1227  // 2. Redistributions in binary form must reproduce the above copyright
  1228  //    notice, this list of conditions and the following disclaimer in the
  1229  //    documentation and/or other materials provided with the distribution.
  1230  // 3. All advertising materials mentioning features or use of this software
  1231  //    must display the following acknowledgement:
  1232  //	This product includes software developed by the University of
  1233  //	California, Berkeley and its contributors.
  1234  // 4. Neither the name of the University nor the names of its contributors
  1235  //    may be used to endorse or promote products derived from this software
  1236  //    without specific prior written permission.
  1237  //
  1238  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1239  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1240  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1241  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1242  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1243  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1244  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1245  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1246  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1247  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1248  // SUCH DAMAGE.
  1249  //
  1250  //	@(#)unistd.h	8.2 (Berkeley) 1/7/94
  1251  
  1252  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1253  //
  1254  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1255  //
  1256  // This file contains Original Code and/or Modifications of Original Code
  1257  // as defined in and that are subject to the Apple Public Source License
  1258  // Version 2.0 (the 'License'). You may not use this file except in
  1259  // compliance with the License. The rights granted to you under the License
  1260  // may not be used to create, or enable the creation or redistribution of,
  1261  // unlawful or unlicensed copies of an Apple operating system, or to
  1262  // circumvent, violate, or enable the circumvention or violation of, any
  1263  // terms of an Apple operating system software license agreement.
  1264  //
  1265  // Please obtain a copy of the License at
  1266  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1267  //
  1268  // The Original Code and all software distributed under the License are
  1269  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1270  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1271  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1272  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1273  // Please see the License for the specific language governing rights and
  1274  // limitations under the License.
  1275  //
  1276  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1277  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1278  // Copyright (c) 1991, 1993
  1279  //	The Regents of the University of California.  All rights reserved.
  1280  //
  1281  // This code is derived from software contributed to Berkeley by
  1282  // Berkeley Software Design, Inc.
  1283  //
  1284  // Redistribution and use in source and binary forms, with or without
  1285  // modification, are permitted provided that the following conditions
  1286  // are met:
  1287  // 1. Redistributions of source code must retain the above copyright
  1288  //    notice, this list of conditions and the following disclaimer.
  1289  // 2. Redistributions in binary form must reproduce the above copyright
  1290  //    notice, this list of conditions and the following disclaimer in the
  1291  //    documentation and/or other materials provided with the distribution.
  1292  // 3. All advertising materials mentioning features or use of this software
  1293  //    must display the following acknowledgement:
  1294  //	This product includes software developed by the University of
  1295  //	California, Berkeley and its contributors.
  1296  // 4. Neither the name of the University nor the names of its contributors
  1297  //    may be used to endorse or promote products derived from this software
  1298  //    without specific prior written permission.
  1299  //
  1300  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1301  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1302  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1303  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1304  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1305  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1306  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1307  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1308  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1309  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1310  // SUCH DAMAGE.
  1311  //
  1312  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1313  
  1314  // Although we have saved user/group IDs, we do not use them in setuid
  1315  // as described in POSIX 1003.1, because the feature does not work for
  1316  // root.  We use the saved IDs in seteuid/setegid, which are not currently
  1317  // part of the POSIX 1003.1 specification.
  1318  
  1319  // execution-time symbolic constants
  1320  // may disable terminal special characters
  1321  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1322  //
  1323  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1324  //
  1325  // This file contains Original Code and/or Modifications of Original Code
  1326  // as defined in and that are subject to the Apple Public Source License
  1327  // Version 2.0 (the 'License'). You may not use this file except in
  1328  // compliance with the License. The rights granted to you under the License
  1329  // may not be used to create, or enable the creation or redistribution of,
  1330  // unlawful or unlicensed copies of an Apple operating system, or to
  1331  // circumvent, violate, or enable the circumvention or violation of, any
  1332  // terms of an Apple operating system software license agreement.
  1333  //
  1334  // Please obtain a copy of the License at
  1335  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1336  //
  1337  // The Original Code and all software distributed under the License are
  1338  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1339  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1340  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1341  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1342  // Please see the License for the specific language governing rights and
  1343  // limitations under the License.
  1344  //
  1345  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1346  
  1347  // access function
  1348  
  1349  // Extended access functions.
  1350  // Note that we depend on these matching the definitions in sys/kauth.h,
  1351  // but with the bits shifted left by 8.
  1352  
  1353  // whence values for lseek(2)
  1354  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1355  //
  1356  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1357  //
  1358  // This file contains Original Code and/or Modifications of Original Code
  1359  // as defined in and that are subject to the Apple Public Source License
  1360  // Version 2.0 (the 'License'). You may not use this file except in
  1361  // compliance with the License. The rights granted to you under the License
  1362  // may not be used to create, or enable the creation or redistribution of,
  1363  // unlawful or unlicensed copies of an Apple operating system, or to
  1364  // circumvent, violate, or enable the circumvention or violation of, any
  1365  // terms of an Apple operating system software license agreement.
  1366  //
  1367  // Please obtain a copy of the License at
  1368  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1369  //
  1370  // The Original Code and all software distributed under the License are
  1371  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1372  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1373  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1374  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1375  // Please see the License for the specific language governing rights and
  1376  // limitations under the License.
  1377  //
  1378  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1379  
  1380  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1381  //
  1382  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1383  //
  1384  // This file contains Original Code and/or Modifications of Original Code
  1385  // as defined in and that are subject to the Apple Public Source License
  1386  // Version 2.0 (the 'License'). You may not use this file except in
  1387  // compliance with the License. The rights granted to you under the License
  1388  // may not be used to create, or enable the creation or redistribution of,
  1389  // unlawful or unlicensed copies of an Apple operating system, or to
  1390  // circumvent, violate, or enable the circumvention or violation of, any
  1391  // terms of an Apple operating system software license agreement.
  1392  //
  1393  // Please obtain a copy of the License at
  1394  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1395  //
  1396  // The Original Code and all software distributed under the License are
  1397  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1398  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1399  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1400  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1401  // Please see the License for the specific language governing rights and
  1402  // limitations under the License.
  1403  //
  1404  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1405  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1406  // Copyright (c) 1991, 1993
  1407  //	The Regents of the University of California.  All rights reserved.
  1408  //
  1409  // This code is derived from software contributed to Berkeley by
  1410  // Berkeley Software Design, Inc.
  1411  //
  1412  // Redistribution and use in source and binary forms, with or without
  1413  // modification, are permitted provided that the following conditions
  1414  // are met:
  1415  // 1. Redistributions of source code must retain the above copyright
  1416  //    notice, this list of conditions and the following disclaimer.
  1417  // 2. Redistributions in binary form must reproduce the above copyright
  1418  //    notice, this list of conditions and the following disclaimer in the
  1419  //    documentation and/or other materials provided with the distribution.
  1420  // 3. All advertising materials mentioning features or use of this software
  1421  //    must display the following acknowledgement:
  1422  //	This product includes software developed by the University of
  1423  //	California, Berkeley and its contributors.
  1424  // 4. Neither the name of the University nor the names of its contributors
  1425  //    may be used to endorse or promote products derived from this software
  1426  //    without specific prior written permission.
  1427  //
  1428  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1429  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1430  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1431  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1432  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1433  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1434  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1435  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1436  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1437  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1438  // SUCH DAMAGE.
  1439  //
  1440  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1441  
  1442  // whence values for lseek(2)
  1443  
  1444  // whence values for lseek(2); renamed by POSIX 1003.1
  1445  
  1446  type Accessx_descriptor = struct {
  1447  	Fad_name_offset uint32
  1448  	Fad_flags       int32
  1449  	Fad_pad         [2]int32
  1450  } /* unistd.h:132:1 */
  1451  
  1452  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1453  //
  1454  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1455  //
  1456  // This file contains Original Code and/or Modifications of Original Code
  1457  // as defined in and that are subject to the Apple Public Source License
  1458  // Version 2.0 (the 'License'). You may not use this file except in
  1459  // compliance with the License. The rights granted to you under the License
  1460  // may not be used to create, or enable the creation or redistribution of,
  1461  // unlawful or unlicensed copies of an Apple operating system, or to
  1462  // circumvent, violate, or enable the circumvention or violation of, any
  1463  // terms of an Apple operating system software license agreement.
  1464  //
  1465  // Please obtain a copy of the License at
  1466  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1467  //
  1468  // The Original Code and all software distributed under the License are
  1469  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1470  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1471  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1472  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1473  // Please see the License for the specific language governing rights and
  1474  // limitations under the License.
  1475  //
  1476  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1477  
  1478  type Uint64_t = uint64 /* _uint64_t.h:31:28 */
  1479  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1480  //
  1481  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1482  //
  1483  // This file contains Original Code and/or Modifications of Original Code
  1484  // as defined in and that are subject to the Apple Public Source License
  1485  // Version 2.0 (the 'License'). You may not use this file except in
  1486  // compliance with the License. The rights granted to you under the License
  1487  // may not be used to create, or enable the creation or redistribution of,
  1488  // unlawful or unlicensed copies of an Apple operating system, or to
  1489  // circumvent, violate, or enable the circumvention or violation of, any
  1490  // terms of an Apple operating system software license agreement.
  1491  //
  1492  // Please obtain a copy of the License at
  1493  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1494  //
  1495  // The Original Code and all software distributed under the License are
  1496  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1497  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1498  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1499  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1500  // Please see the License for the specific language governing rights and
  1501  // limitations under the License.
  1502  //
  1503  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1504  
  1505  type Uint32_t = uint32 /* _uint32_t.h:31:22 */
  1506  
  1507  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1508  //
  1509  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1510  //
  1511  // This file contains Original Code and/or Modifications of Original Code
  1512  // as defined in and that are subject to the Apple Public Source License
  1513  // Version 2.0 (the 'License'). You may not use this file except in
  1514  // compliance with the License. The rights granted to you under the License
  1515  // may not be used to create, or enable the creation or redistribution of,
  1516  // unlawful or unlicensed copies of an Apple operating system, or to
  1517  // circumvent, violate, or enable the circumvention or violation of, any
  1518  // terms of an Apple operating system software license agreement.
  1519  //
  1520  // Please obtain a copy of the License at
  1521  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1522  //
  1523  // The Original Code and all software distributed under the License are
  1524  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1525  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1526  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1527  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1528  // Please see the License for the specific language governing rights and
  1529  // limitations under the License.
  1530  //
  1531  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1532  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1533  //
  1534  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1535  //
  1536  // This file contains Original Code and/or Modifications of Original Code
  1537  // as defined in and that are subject to the Apple Public Source License
  1538  // Version 2.0 (the 'License'). You may not use this file except in
  1539  // compliance with the License. The rights granted to you under the License
  1540  // may not be used to create, or enable the creation or redistribution of,
  1541  // unlawful or unlicensed copies of an Apple operating system, or to
  1542  // circumvent, violate, or enable the circumvention or violation of, any
  1543  // terms of an Apple operating system software license agreement.
  1544  //
  1545  // Please obtain a copy of the License at
  1546  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1547  //
  1548  // The Original Code and all software distributed under the License are
  1549  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1550  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1551  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1552  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1553  // Please see the License for the specific language governing rights and
  1554  // limitations under the License.
  1555  //
  1556  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1557  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1558  //
  1559  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1560  //
  1561  // This file contains Original Code and/or Modifications of Original Code
  1562  // as defined in and that are subject to the Apple Public Source License
  1563  // Version 2.0 (the 'License'). You may not use this file except in
  1564  // compliance with the License. The rights granted to you under the License
  1565  // may not be used to create, or enable the creation or redistribution of,
  1566  // unlawful or unlicensed copies of an Apple operating system, or to
  1567  // circumvent, violate, or enable the circumvention or violation of, any
  1568  // terms of an Apple operating system software license agreement.
  1569  //
  1570  // Please obtain a copy of the License at
  1571  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1572  //
  1573  // The Original Code and all software distributed under the License are
  1574  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1575  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1576  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1577  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1578  // Please see the License for the specific language governing rights and
  1579  // limitations under the License.
  1580  //
  1581  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1582  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1583  //
  1584  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1585  //
  1586  // This file contains Original Code and/or Modifications of Original Code
  1587  // as defined in and that are subject to the Apple Public Source License
  1588  // Version 2.0 (the 'License'). You may not use this file except in
  1589  // compliance with the License. The rights granted to you under the License
  1590  // may not be used to create, or enable the creation or redistribution of,
  1591  // unlawful or unlicensed copies of an Apple operating system, or to
  1592  // circumvent, violate, or enable the circumvention or violation of, any
  1593  // terms of an Apple operating system software license agreement.
  1594  //
  1595  // Please obtain a copy of the License at
  1596  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1597  //
  1598  // The Original Code and all software distributed under the License are
  1599  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1600  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1601  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1602  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1603  // Please see the License for the specific language governing rights and
  1604  // limitations under the License.
  1605  //
  1606  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1607  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1608  
  1609  // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
  1610  //
  1611  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1612  //
  1613  // This file contains Original Code and/or Modifications of Original Code
  1614  // as defined in and that are subject to the Apple Public Source License
  1615  // Version 2.0 (the 'License'). You may not use this file except in
  1616  // compliance with the License. The rights granted to you under the License
  1617  // may not be used to create, or enable the creation or redistribution of,
  1618  // unlawful or unlicensed copies of an Apple operating system, or to
  1619  // circumvent, violate, or enable the circumvention or violation of, any
  1620  // terms of an Apple operating system software license agreement.
  1621  //
  1622  // Please obtain a copy of the License at
  1623  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1624  //
  1625  // The Original Code and all software distributed under the License are
  1626  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1627  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1628  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1629  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1630  // Please see the License for the specific language governing rights and
  1631  // limitations under the License.
  1632  //
  1633  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1634  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1635  // Copyright (c) 1990, 1993
  1636  //	The Regents of the University of California.  All rights reserved.
  1637  //
  1638  // Redistribution and use in source and binary forms, with or without
  1639  // modification, are permitted provided that the following conditions
  1640  // are met:
  1641  // 1. Redistributions of source code must retain the above copyright
  1642  //    notice, this list of conditions and the following disclaimer.
  1643  // 2. Redistributions in binary form must reproduce the above copyright
  1644  //    notice, this list of conditions and the following disclaimer in the
  1645  //    documentation and/or other materials provided with the distribution.
  1646  // 3. All advertising materials mentioning features or use of this software
  1647  //    must display the following acknowledgement:
  1648  //	This product includes software developed by the University of
  1649  //	California, Berkeley and its contributors.
  1650  // 4. Neither the name of the University nor the names of its contributors
  1651  //    may be used to endorse or promote products derived from this software
  1652  //    without specific prior written permission.
  1653  //
  1654  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1655  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1656  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1657  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1658  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1659  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1660  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1661  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1662  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1663  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1664  // SUCH DAMAGE.
  1665  //
  1666  //	@(#)types.h	8.3 (Berkeley) 1/5/94
  1667  
  1668  // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
  1669  //
  1670  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1671  //
  1672  // This file contains Original Code and/or Modifications of Original Code
  1673  // as defined in and that are subject to the Apple Public Source License
  1674  // Version 2.0 (the 'License'). You may not use this file except in
  1675  // compliance with the License. The rights granted to you under the License
  1676  // may not be used to create, or enable the creation or redistribution of,
  1677  // unlawful or unlicensed copies of an Apple operating system, or to
  1678  // circumvent, violate, or enable the circumvention or violation of, any
  1679  // terms of an Apple operating system software license agreement.
  1680  //
  1681  // Please obtain a copy of the License at
  1682  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1683  //
  1684  // The Original Code and all software distributed under the License are
  1685  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1686  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1687  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1688  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1689  // Please see the License for the specific language governing rights and
  1690  // limitations under the License.
  1691  //
  1692  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1693  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1694  //
  1695  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1696  //
  1697  // This file contains Original Code and/or Modifications of Original Code
  1698  // as defined in and that are subject to the Apple Public Source License
  1699  // Version 2.0 (the 'License'). You may not use this file except in
  1700  // compliance with the License. The rights granted to you under the License
  1701  // may not be used to create, or enable the creation or redistribution of,
  1702  // unlawful or unlicensed copies of an Apple operating system, or to
  1703  // circumvent, violate, or enable the circumvention or violation of, any
  1704  // terms of an Apple operating system software license agreement.
  1705  //
  1706  // Please obtain a copy of the License at
  1707  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1708  //
  1709  // The Original Code and all software distributed under the License are
  1710  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1711  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1712  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1713  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1714  // Please see the License for the specific language governing rights and
  1715  // limitations under the License.
  1716  //
  1717  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1718  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1719  // Copyright (c) 1991, 1993
  1720  //	The Regents of the University of California.  All rights reserved.
  1721  //
  1722  // This code is derived from software contributed to Berkeley by
  1723  // Berkeley Software Design, Inc.
  1724  //
  1725  // Redistribution and use in source and binary forms, with or without
  1726  // modification, are permitted provided that the following conditions
  1727  // are met:
  1728  // 1. Redistributions of source code must retain the above copyright
  1729  //    notice, this list of conditions and the following disclaimer.
  1730  // 2. Redistributions in binary form must reproduce the above copyright
  1731  //    notice, this list of conditions and the following disclaimer in the
  1732  //    documentation and/or other materials provided with the distribution.
  1733  // 3. All advertising materials mentioning features or use of this software
  1734  //    must display the following acknowledgement:
  1735  //	This product includes software developed by the University of
  1736  //	California, Berkeley and its contributors.
  1737  // 4. Neither the name of the University nor the names of its contributors
  1738  //    may be used to endorse or promote products derived from this software
  1739  //    without specific prior written permission.
  1740  //
  1741  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1742  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1743  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1744  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1745  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1746  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1747  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1748  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1749  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1750  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1751  // SUCH DAMAGE.
  1752  //
  1753  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  1754  
  1755  // Basic integral types.  Omit the typedef if
  1756  // not possible for a machine/compiler combination.
  1757  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1758  //
  1759  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1760  //
  1761  // This file contains Original Code and/or Modifications of Original Code
  1762  // as defined in and that are subject to the Apple Public Source License
  1763  // Version 2.0 (the 'License'). You may not use this file except in
  1764  // compliance with the License. The rights granted to you under the License
  1765  // may not be used to create, or enable the creation or redistribution of,
  1766  // unlawful or unlicensed copies of an Apple operating system, or to
  1767  // circumvent, violate, or enable the circumvention or violation of, any
  1768  // terms of an Apple operating system software license agreement.
  1769  //
  1770  // Please obtain a copy of the License at
  1771  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1772  //
  1773  // The Original Code and all software distributed under the License are
  1774  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1775  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1776  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1777  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1778  // Please see the License for the specific language governing rights and
  1779  // limitations under the License.
  1780  //
  1781  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1782  type Int8_t = int8 /* _int8_t.h:30:33 */
  1783  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1784  //
  1785  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1786  //
  1787  // This file contains Original Code and/or Modifications of Original Code
  1788  // as defined in and that are subject to the Apple Public Source License
  1789  // Version 2.0 (the 'License'). You may not use this file except in
  1790  // compliance with the License. The rights granted to you under the License
  1791  // may not be used to create, or enable the creation or redistribution of,
  1792  // unlawful or unlicensed copies of an Apple operating system, or to
  1793  // circumvent, violate, or enable the circumvention or violation of, any
  1794  // terms of an Apple operating system software license agreement.
  1795  //
  1796  // Please obtain a copy of the License at
  1797  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1798  //
  1799  // The Original Code and all software distributed under the License are
  1800  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1801  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1802  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1803  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1804  // Please see the License for the specific language governing rights and
  1805  // limitations under the License.
  1806  //
  1807  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1808  type Int16_t = int16 /* _int16_t.h:30:33 */
  1809  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1810  //
  1811  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1812  //
  1813  // This file contains Original Code and/or Modifications of Original Code
  1814  // as defined in and that are subject to the Apple Public Source License
  1815  // Version 2.0 (the 'License'). You may not use this file except in
  1816  // compliance with the License. The rights granted to you under the License
  1817  // may not be used to create, or enable the creation or redistribution of,
  1818  // unlawful or unlicensed copies of an Apple operating system, or to
  1819  // circumvent, violate, or enable the circumvention or violation of, any
  1820  // terms of an Apple operating system software license agreement.
  1821  //
  1822  // Please obtain a copy of the License at
  1823  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1824  //
  1825  // The Original Code and all software distributed under the License are
  1826  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1827  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1828  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1829  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1830  // Please see the License for the specific language governing rights and
  1831  // limitations under the License.
  1832  //
  1833  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1834  type Int32_t = int32 /* _int32_t.h:30:33 */
  1835  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1836  //
  1837  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1838  //
  1839  // This file contains Original Code and/or Modifications of Original Code
  1840  // as defined in and that are subject to the Apple Public Source License
  1841  // Version 2.0 (the 'License'). You may not use this file except in
  1842  // compliance with the License. The rights granted to you under the License
  1843  // may not be used to create, or enable the creation or redistribution of,
  1844  // unlawful or unlicensed copies of an Apple operating system, or to
  1845  // circumvent, violate, or enable the circumvention or violation of, any
  1846  // terms of an Apple operating system software license agreement.
  1847  //
  1848  // Please obtain a copy of the License at
  1849  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1850  //
  1851  // The Original Code and all software distributed under the License are
  1852  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1853  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1854  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1855  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1856  // Please see the License for the specific language governing rights and
  1857  // limitations under the License.
  1858  //
  1859  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1860  type Int64_t = int64 /* _int64_t.h:30:33 */
  1861  
  1862  // Copyright (c) 2016 Apple Inc. All rights reserved.
  1863  //
  1864  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1865  //
  1866  // This file contains Original Code and/or Modifications of Original Code
  1867  // as defined in and that are subject to the Apple Public Source License
  1868  // Version 2.0 (the 'License'). You may not use this file except in
  1869  // compliance with the License. The rights granted to you under the License
  1870  // may not be used to create, or enable the creation or redistribution of,
  1871  // unlawful or unlicensed copies of an Apple operating system, or to
  1872  // circumvent, violate, or enable the circumvention or violation of, any
  1873  // terms of an Apple operating system software license agreement.
  1874  //
  1875  // Please obtain a copy of the License at
  1876  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1877  //
  1878  // The Original Code and all software distributed under the License are
  1879  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1880  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1881  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1882  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1883  // Please see the License for the specific language governing rights and
  1884  // limitations under the License.
  1885  //
  1886  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1887  type U_int8_t = uint8 /* _u_int8_t.h:30:33 */
  1888  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1889  //
  1890  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1891  //
  1892  // This file contains Original Code and/or Modifications of Original Code
  1893  // as defined in and that are subject to the Apple Public Source License
  1894  // Version 2.0 (the 'License'). You may not use this file except in
  1895  // compliance with the License. The rights granted to you under the License
  1896  // may not be used to create, or enable the creation or redistribution of,
  1897  // unlawful or unlicensed copies of an Apple operating system, or to
  1898  // circumvent, violate, or enable the circumvention or violation of, any
  1899  // terms of an Apple operating system software license agreement.
  1900  //
  1901  // Please obtain a copy of the License at
  1902  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1903  //
  1904  // The Original Code and all software distributed under the License are
  1905  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1906  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1907  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1908  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1909  // Please see the License for the specific language governing rights and
  1910  // limitations under the License.
  1911  //
  1912  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1913  type U_int16_t = uint16 /* _u_int16_t.h:30:41 */
  1914  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1915  //
  1916  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1917  //
  1918  // This file contains Original Code and/or Modifications of Original Code
  1919  // as defined in and that are subject to the Apple Public Source License
  1920  // Version 2.0 (the 'License'). You may not use this file except in
  1921  // compliance with the License. The rights granted to you under the License
  1922  // may not be used to create, or enable the creation or redistribution of,
  1923  // unlawful or unlicensed copies of an Apple operating system, or to
  1924  // circumvent, violate, or enable the circumvention or violation of, any
  1925  // terms of an Apple operating system software license agreement.
  1926  //
  1927  // Please obtain a copy of the License at
  1928  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1929  //
  1930  // The Original Code and all software distributed under the License are
  1931  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1932  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1933  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1934  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1935  // Please see the License for the specific language governing rights and
  1936  // limitations under the License.
  1937  //
  1938  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1939  type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
  1940  // Copyright (c) 2012 Apple Inc. All rights reserved.
  1941  //
  1942  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1943  //
  1944  // This file contains Original Code and/or Modifications of Original Code
  1945  // as defined in and that are subject to the Apple Public Source License
  1946  // Version 2.0 (the 'License'). You may not use this file except in
  1947  // compliance with the License. The rights granted to you under the License
  1948  // may not be used to create, or enable the creation or redistribution of,
  1949  // unlawful or unlicensed copies of an Apple operating system, or to
  1950  // circumvent, violate, or enable the circumvention or violation of, any
  1951  // terms of an Apple operating system software license agreement.
  1952  //
  1953  // Please obtain a copy of the License at
  1954  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1955  //
  1956  // The Original Code and all software distributed under the License are
  1957  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1958  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1959  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1960  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1961  // Please see the License for the specific language governing rights and
  1962  // limitations under the License.
  1963  //
  1964  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1965  type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
  1966  
  1967  type Register_t = Int64_t /* types.h:87:33 */
  1968  
  1969  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1970  //
  1971  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1972  //
  1973  // This file contains Original Code and/or Modifications of Original Code
  1974  // as defined in and that are subject to the Apple Public Source License
  1975  // Version 2.0 (the 'License'). You may not use this file except in
  1976  // compliance with the License. The rights granted to you under the License
  1977  // may not be used to create, or enable the creation or redistribution of,
  1978  // unlawful or unlicensed copies of an Apple operating system, or to
  1979  // circumvent, violate, or enable the circumvention or violation of, any
  1980  // terms of an Apple operating system software license agreement.
  1981  //
  1982  // Please obtain a copy of the License at
  1983  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1984  //
  1985  // The Original Code and all software distributed under the License are
  1986  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1987  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1988  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1989  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1990  // Please see the License for the specific language governing rights and
  1991  // limitations under the License.
  1992  //
  1993  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1994  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1995  //
  1996  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1997  //
  1998  // This file contains Original Code and/or Modifications of Original Code
  1999  // as defined in and that are subject to the Apple Public Source License
  2000  // Version 2.0 (the 'License'). You may not use this file except in
  2001  // compliance with the License. The rights granted to you under the License
  2002  // may not be used to create, or enable the creation or redistribution of,
  2003  // unlawful or unlicensed copies of an Apple operating system, or to
  2004  // circumvent, violate, or enable the circumvention or violation of, any
  2005  // terms of an Apple operating system software license agreement.
  2006  //
  2007  // Please obtain a copy of the License at
  2008  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2009  //
  2010  // The Original Code and all software distributed under the License are
  2011  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2012  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2013  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2014  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2015  // Please see the License for the specific language governing rights and
  2016  // limitations under the License.
  2017  //
  2018  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2019  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2020  
  2021  type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */
  2022  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2023  //
  2024  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2025  //
  2026  // This file contains Original Code and/or Modifications of Original Code
  2027  // as defined in and that are subject to the Apple Public Source License
  2028  // Version 2.0 (the 'License'). You may not use this file except in
  2029  // compliance with the License. The rights granted to you under the License
  2030  // may not be used to create, or enable the creation or redistribution of,
  2031  // unlawful or unlicensed copies of an Apple operating system, or to
  2032  // circumvent, violate, or enable the circumvention or violation of, any
  2033  // terms of an Apple operating system software license agreement.
  2034  //
  2035  // Please obtain a copy of the License at
  2036  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2037  //
  2038  // The Original Code and all software distributed under the License are
  2039  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2040  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2041  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2042  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2043  // Please see the License for the specific language governing rights and
  2044  // limitations under the License.
  2045  //
  2046  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2047  type Uintptr_t = uint64 /* _uintptr_t.h:30:33 */
  2048  
  2049  // These types are used for reserving the largest possible size.
  2050  type User_addr_t = U_int64_t  /* types.h:97:33 */
  2051  type User_size_t = U_int64_t  /* types.h:98:33 */
  2052  type User_ssize_t = Int64_t   /* types.h:99:33 */
  2053  type User_long_t = Int64_t    /* types.h:100:33 */
  2054  type User_ulong_t = U_int64_t /* types.h:101:33 */
  2055  type User_time_t = Int64_t    /* types.h:102:33 */
  2056  type User_off_t = Int64_t     /* types.h:103:33 */
  2057  
  2058  // This defines the size of syscall arguments after copying into the kernel:
  2059  type Syscall_arg_t = U_int64_t /* types.h:111:33 */
  2060  
  2061  type Ssize_t = X__darwin_ssize_t /* _ssize_t.h:31:33 */
  2062  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2063  //
  2064  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2065  //
  2066  // This file contains Original Code and/or Modifications of Original Code
  2067  // as defined in and that are subject to the Apple Public Source License
  2068  // Version 2.0 (the 'License'). You may not use this file except in
  2069  // compliance with the License. The rights granted to you under the License
  2070  // may not be used to create, or enable the creation or redistribution of,
  2071  // unlawful or unlicensed copies of an Apple operating system, or to
  2072  // circumvent, violate, or enable the circumvention or violation of, any
  2073  // terms of an Apple operating system software license agreement.
  2074  //
  2075  // Please obtain a copy of the License at
  2076  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2077  //
  2078  // The Original Code and all software distributed under the License are
  2079  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2080  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2081  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2082  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2083  // Please see the License for the specific language governing rights and
  2084  // limitations under the License.
  2085  //
  2086  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2087  
  2088  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2089  //
  2090  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2091  //
  2092  // This file contains Original Code and/or Modifications of Original Code
  2093  // as defined in and that are subject to the Apple Public Source License
  2094  // Version 2.0 (the 'License'). You may not use this file except in
  2095  // compliance with the License. The rights granted to you under the License
  2096  // may not be used to create, or enable the creation or redistribution of,
  2097  // unlawful or unlicensed copies of an Apple operating system, or to
  2098  // circumvent, violate, or enable the circumvention or violation of, any
  2099  // terms of an Apple operating system software license agreement.
  2100  //
  2101  // Please obtain a copy of the License at
  2102  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2103  //
  2104  // The Original Code and all software distributed under the License are
  2105  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2106  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2107  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2108  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2109  // Please see the License for the specific language governing rights and
  2110  // limitations under the License.
  2111  //
  2112  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2113  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2114  //
  2115  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2116  //
  2117  // This file contains Original Code and/or Modifications of Original Code
  2118  // as defined in and that are subject to the Apple Public Source License
  2119  // Version 2.0 (the 'License'). You may not use this file except in
  2120  // compliance with the License. The rights granted to you under the License
  2121  // may not be used to create, or enable the creation or redistribution of,
  2122  // unlawful or unlicensed copies of an Apple operating system, or to
  2123  // circumvent, violate, or enable the circumvention or violation of, any
  2124  // terms of an Apple operating system software license agreement.
  2125  //
  2126  // Please obtain a copy of the License at
  2127  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2128  //
  2129  // The Original Code and all software distributed under the License are
  2130  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2131  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2132  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2133  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2134  // Please see the License for the specific language governing rights and
  2135  // limitations under the License.
  2136  //
  2137  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2138  
  2139  type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
  2140  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2141  //
  2142  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2143  //
  2144  // This file contains Original Code and/or Modifications of Original Code
  2145  // as defined in and that are subject to the Apple Public Source License
  2146  // Version 2.0 (the 'License'). You may not use this file except in
  2147  // compliance with the License. The rights granted to you under the License
  2148  // may not be used to create, or enable the creation or redistribution of,
  2149  // unlawful or unlicensed copies of an Apple operating system, or to
  2150  // circumvent, violate, or enable the circumvention or violation of, any
  2151  // terms of an Apple operating system software license agreement.
  2152  //
  2153  // Please obtain a copy of the License at
  2154  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2155  //
  2156  // The Original Code and all software distributed under the License are
  2157  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2158  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2159  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2160  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2161  // Please see the License for the specific language governing rights and
  2162  // limitations under the License.
  2163  //
  2164  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2165  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2166  //
  2167  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2168  //
  2169  // This file contains Original Code and/or Modifications of Original Code
  2170  // as defined in and that are subject to the Apple Public Source License
  2171  // Version 2.0 (the 'License'). You may not use this file except in
  2172  // compliance with the License. The rights granted to you under the License
  2173  // may not be used to create, or enable the creation or redistribution of,
  2174  // unlawful or unlicensed copies of an Apple operating system, or to
  2175  // circumvent, violate, or enable the circumvention or violation of, any
  2176  // terms of an Apple operating system software license agreement.
  2177  //
  2178  // Please obtain a copy of the License at
  2179  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2180  //
  2181  // The Original Code and all software distributed under the License are
  2182  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2183  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2184  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2185  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2186  // Please see the License for the specific language governing rights and
  2187  // limitations under the License.
  2188  //
  2189  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2190  
  2191  type Gid_t = X__darwin_gid_t /* _gid_t.h:31:25 */
  2192  
  2193  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  2194  //
  2195  // @APPLE_LICENSE_HEADER_START@
  2196  //
  2197  // This file contains Original Code and/or Modifications of Original Code
  2198  // as defined in and that are subject to the Apple Public Source License
  2199  // Version 2.0 (the 'License'). You may not use this file except in
  2200  // compliance with the License. Please obtain a copy of the License at
  2201  // http://www.opensource.apple.com/apsl/ and read it before using this
  2202  // file.
  2203  //
  2204  // The Original Code and all software distributed under the License are
  2205  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2206  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2207  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2208  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2209  // Please see the License for the specific language governing rights and
  2210  // limitations under the License.
  2211  //
  2212  // @APPLE_LICENSE_HEADER_END@
  2213  
  2214  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2215  //
  2216  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2217  //
  2218  // This file contains Original Code and/or Modifications of Original Code
  2219  // as defined in and that are subject to the Apple Public Source License
  2220  // Version 2.0 (the 'License'). You may not use this file except in
  2221  // compliance with the License. The rights granted to you under the License
  2222  // may not be used to create, or enable the creation or redistribution of,
  2223  // unlawful or unlicensed copies of an Apple operating system, or to
  2224  // circumvent, violate, or enable the circumvention or violation of, any
  2225  // terms of an Apple operating system software license agreement.
  2226  //
  2227  // Please obtain a copy of the License at
  2228  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2229  //
  2230  // The Original Code and all software distributed under the License are
  2231  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2232  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2233  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2234  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2235  // Please see the License for the specific language governing rights and
  2236  // limitations under the License.
  2237  //
  2238  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2239  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2240  //
  2241  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2242  //
  2243  // This file contains Original Code and/or Modifications of Original Code
  2244  // as defined in and that are subject to the Apple Public Source License
  2245  // Version 2.0 (the 'License'). You may not use this file except in
  2246  // compliance with the License. The rights granted to you under the License
  2247  // may not be used to create, or enable the creation or redistribution of,
  2248  // unlawful or unlicensed copies of an Apple operating system, or to
  2249  // circumvent, violate, or enable the circumvention or violation of, any
  2250  // terms of an Apple operating system software license agreement.
  2251  //
  2252  // Please obtain a copy of the License at
  2253  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2254  //
  2255  // The Original Code and all software distributed under the License are
  2256  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2257  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2258  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2259  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2260  // Please see the License for the specific language governing rights and
  2261  // limitations under the License.
  2262  //
  2263  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2264  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2265  //
  2266  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2267  //
  2268  // This file contains Original Code and/or Modifications of Original Code
  2269  // as defined in and that are subject to the Apple Public Source License
  2270  // Version 2.0 (the 'License'). You may not use this file except in
  2271  // compliance with the License. The rights granted to you under the License
  2272  // may not be used to create, or enable the creation or redistribution of,
  2273  // unlawful or unlicensed copies of an Apple operating system, or to
  2274  // circumvent, violate, or enable the circumvention or violation of, any
  2275  // terms of an Apple operating system software license agreement.
  2276  //
  2277  // Please obtain a copy of the License at
  2278  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2279  //
  2280  // The Original Code and all software distributed under the License are
  2281  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2282  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2283  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2284  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2285  // Please see the License for the specific language governing rights and
  2286  // limitations under the License.
  2287  //
  2288  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2289  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2290  //
  2291  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2292  //
  2293  // This file contains Original Code and/or Modifications of Original Code
  2294  // as defined in and that are subject to the Apple Public Source License
  2295  // Version 2.0 (the 'License'). You may not use this file except in
  2296  // compliance with the License. The rights granted to you under the License
  2297  // may not be used to create, or enable the creation or redistribution of,
  2298  // unlawful or unlicensed copies of an Apple operating system, or to
  2299  // circumvent, violate, or enable the circumvention or violation of, any
  2300  // terms of an Apple operating system software license agreement.
  2301  //
  2302  // Please obtain a copy of the License at
  2303  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2304  //
  2305  // The Original Code and all software distributed under the License are
  2306  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2307  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2308  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2309  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2310  // Please see the License for the specific language governing rights and
  2311  // limitations under the License.
  2312  //
  2313  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2314  
  2315  type Off_t = X__darwin_off_t /* _off_t.h:31:33 */
  2316  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2317  //
  2318  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2319  //
  2320  // This file contains Original Code and/or Modifications of Original Code
  2321  // as defined in and that are subject to the Apple Public Source License
  2322  // Version 2.0 (the 'License'). You may not use this file except in
  2323  // compliance with the License. The rights granted to you under the License
  2324  // may not be used to create, or enable the creation or redistribution of,
  2325  // unlawful or unlicensed copies of an Apple operating system, or to
  2326  // circumvent, violate, or enable the circumvention or violation of, any
  2327  // terms of an Apple operating system software license agreement.
  2328  //
  2329  // Please obtain a copy of the License at
  2330  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2331  //
  2332  // The Original Code and all software distributed under the License are
  2333  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2334  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2335  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2336  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2337  // Please see the License for the specific language governing rights and
  2338  // limitations under the License.
  2339  //
  2340  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2341  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2342  //
  2343  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2344  //
  2345  // This file contains Original Code and/or Modifications of Original Code
  2346  // as defined in and that are subject to the Apple Public Source License
  2347  // Version 2.0 (the 'License'). You may not use this file except in
  2348  // compliance with the License. The rights granted to you under the License
  2349  // may not be used to create, or enable the creation or redistribution of,
  2350  // unlawful or unlicensed copies of an Apple operating system, or to
  2351  // circumvent, violate, or enable the circumvention or violation of, any
  2352  // terms of an Apple operating system software license agreement.
  2353  //
  2354  // Please obtain a copy of the License at
  2355  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2356  //
  2357  // The Original Code and all software distributed under the License are
  2358  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2359  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2360  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2361  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2362  // Please see the License for the specific language governing rights and
  2363  // limitations under the License.
  2364  //
  2365  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2366  
  2367  type Pid_t = X__darwin_pid_t /* _pid_t.h:31:31 */
  2368  // DO NOT REMOVE THIS COMMENT: fixincludes needs to see:
  2369  // _GCC_SIZE_T
  2370  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2371  //
  2372  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2373  //
  2374  // This file contains Original Code and/or Modifications of Original Code
  2375  // as defined in and that are subject to the Apple Public Source License
  2376  // Version 2.0 (the 'License'). You may not use this file except in
  2377  // compliance with the License. The rights granted to you under the License
  2378  // may not be used to create, or enable the creation or redistribution of,
  2379  // unlawful or unlicensed copies of an Apple operating system, or to
  2380  // circumvent, violate, or enable the circumvention or violation of, any
  2381  // terms of an Apple operating system software license agreement.
  2382  //
  2383  // Please obtain a copy of the License at
  2384  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2385  //
  2386  // The Original Code and all software distributed under the License are
  2387  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2388  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2389  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2390  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2391  // Please see the License for the specific language governing rights and
  2392  // limitations under the License.
  2393  //
  2394  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2395  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2396  //
  2397  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2398  //
  2399  // This file contains Original Code and/or Modifications of Original Code
  2400  // as defined in and that are subject to the Apple Public Source License
  2401  // Version 2.0 (the 'License'). You may not use this file except in
  2402  // compliance with the License. The rights granted to you under the License
  2403  // may not be used to create, or enable the creation or redistribution of,
  2404  // unlawful or unlicensed copies of an Apple operating system, or to
  2405  // circumvent, violate, or enable the circumvention or violation of, any
  2406  // terms of an Apple operating system software license agreement.
  2407  //
  2408  // Please obtain a copy of the License at
  2409  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2410  //
  2411  // The Original Code and all software distributed under the License are
  2412  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2413  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2414  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2415  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2416  // Please see the License for the specific language governing rights and
  2417  // limitations under the License.
  2418  //
  2419  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2420  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2421  //
  2422  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2423  //
  2424  // This file contains Original Code and/or Modifications of Original Code
  2425  // as defined in and that are subject to the Apple Public Source License
  2426  // Version 2.0 (the 'License'). You may not use this file except in
  2427  // compliance with the License. The rights granted to you under the License
  2428  // may not be used to create, or enable the creation or redistribution of,
  2429  // unlawful or unlicensed copies of an Apple operating system, or to
  2430  // circumvent, violate, or enable the circumvention or violation of, any
  2431  // terms of an Apple operating system software license agreement.
  2432  //
  2433  // Please obtain a copy of the License at
  2434  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2435  //
  2436  // The Original Code and all software distributed under the License are
  2437  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2438  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2439  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2440  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2441  // Please see the License for the specific language governing rights and
  2442  // limitations under the License.
  2443  //
  2444  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2445  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2446  //
  2447  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2448  //
  2449  // This file contains Original Code and/or Modifications of Original Code
  2450  // as defined in and that are subject to the Apple Public Source License
  2451  // Version 2.0 (the 'License'). You may not use this file except in
  2452  // compliance with the License. The rights granted to you under the License
  2453  // may not be used to create, or enable the creation or redistribution of,
  2454  // unlawful or unlicensed copies of an Apple operating system, or to
  2455  // circumvent, violate, or enable the circumvention or violation of, any
  2456  // terms of an Apple operating system software license agreement.
  2457  //
  2458  // Please obtain a copy of the License at
  2459  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2460  //
  2461  // The Original Code and all software distributed under the License are
  2462  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2463  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2464  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2465  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2466  // Please see the License for the specific language governing rights and
  2467  // limitations under the License.
  2468  //
  2469  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2470  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2471  //
  2472  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2473  //
  2474  // This file contains Original Code and/or Modifications of Original Code
  2475  // as defined in and that are subject to the Apple Public Source License
  2476  // Version 2.0 (the 'License'). You may not use this file except in
  2477  // compliance with the License. The rights granted to you under the License
  2478  // may not be used to create, or enable the creation or redistribution of,
  2479  // unlawful or unlicensed copies of an Apple operating system, or to
  2480  // circumvent, violate, or enable the circumvention or violation of, any
  2481  // terms of an Apple operating system software license agreement.
  2482  //
  2483  // Please obtain a copy of the License at
  2484  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2485  //
  2486  // The Original Code and all software distributed under the License are
  2487  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2488  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2489  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2490  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2491  // Please see the License for the specific language governing rights and
  2492  // limitations under the License.
  2493  //
  2494  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2495  
  2496  type Useconds_t = X__darwin_useconds_t /* _useconds_t.h:31:33 */
  2497  
  2498  // Darwin extensions
  2499  
  2500  // Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
  2501  //
  2502  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2503  //
  2504  // This file contains Original Code and/or Modifications of Original Code
  2505  // as defined in and that are subject to the Apple Public Source License
  2506  // Version 2.0 (the 'License'). You may not use this file except in
  2507  // compliance with the License. The rights granted to you under the License
  2508  // may not be used to create, or enable the creation or redistribution of,
  2509  // unlawful or unlicensed copies of an Apple operating system, or to
  2510  // circumvent, violate, or enable the circumvention or violation of, any
  2511  // terms of an Apple operating system software license agreement.
  2512  //
  2513  // Please obtain a copy of the License at
  2514  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2515  //
  2516  // The Original Code and all software distributed under the License are
  2517  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2518  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2519  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2520  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2521  // Please see the License for the specific language governing rights and
  2522  // limitations under the License.
  2523  //
  2524  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2525  // Copyright (c) 1992, 1993
  2526  //	The Regents of the University of California.  All rights reserved.
  2527  //
  2528  // Redistribution and use in source and binary forms, with or without
  2529  // modification, are permitted provided that the following conditions
  2530  // are met:
  2531  // 1. Redistributions of source code must retain the above copyright
  2532  //    notice, this list of conditions and the following disclaimer.
  2533  // 2. Redistributions in binary form must reproduce the above copyright
  2534  //    notice, this list of conditions and the following disclaimer in the
  2535  //    documentation and/or other materials provided with the distribution.
  2536  // 3. All advertising materials mentioning features or use of this software
  2537  //    must display the following acknowledgement:
  2538  //	This product includes software developed by the University of
  2539  //	California, Berkeley and its contributors.
  2540  // 4. Neither the name of the University nor the names of its contributors
  2541  //    may be used to endorse or promote products derived from this software
  2542  //    without specific prior written permission.
  2543  //
  2544  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2545  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2546  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2547  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2548  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2549  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2550  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2551  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2552  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2553  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2554  // SUCH DAMAGE.
  2555  //
  2556  //	@(#)select.h	8.2 (Berkeley) 1/4/94
  2557  
  2558  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  2559  //
  2560  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2561  //
  2562  // This file contains Original Code and/or Modifications of Original Code
  2563  // as defined in and that are subject to the Apple Public Source License
  2564  // Version 2.0 (the 'License'). You may not use this file except in
  2565  // compliance with the License. The rights granted to you under the License
  2566  // may not be used to create, or enable the creation or redistribution of,
  2567  // unlawful or unlicensed copies of an Apple operating system, or to
  2568  // circumvent, violate, or enable the circumvention or violation of, any
  2569  // terms of an Apple operating system software license agreement.
  2570  //
  2571  // Please obtain a copy of the License at
  2572  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2573  //
  2574  // The Original Code and all software distributed under the License are
  2575  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2576  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2577  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2578  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2579  // Please see the License for the specific language governing rights and
  2580  // limitations under the License.
  2581  //
  2582  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2583  
  2584  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  2585  //
  2586  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2587  //
  2588  // This file contains Original Code and/or Modifications of Original Code
  2589  // as defined in and that are subject to the Apple Public Source License
  2590  // Version 2.0 (the 'License'). You may not use this file except in
  2591  // compliance with the License. The rights granted to you under the License
  2592  // may not be used to create, or enable the creation or redistribution of,
  2593  // unlawful or unlicensed copies of an Apple operating system, or to
  2594  // circumvent, violate, or enable the circumvention or violation of, any
  2595  // terms of an Apple operating system software license agreement.
  2596  //
  2597  // Please obtain a copy of the License at
  2598  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2599  //
  2600  // The Original Code and all software distributed under the License are
  2601  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2602  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2603  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2604  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2605  // Please see the License for the specific language governing rights and
  2606  // limitations under the License.
  2607  //
  2608  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2609  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2610  // Copyright (c) 1991, 1993
  2611  //	The Regents of the University of California.  All rights reserved.
  2612  //
  2613  // This code is derived from software contributed to Berkeley by
  2614  // Berkeley Software Design, Inc.
  2615  //
  2616  // Redistribution and use in source and binary forms, with or without
  2617  // modification, are permitted provided that the following conditions
  2618  // are met:
  2619  // 1. Redistributions of source code must retain the above copyright
  2620  //    notice, this list of conditions and the following disclaimer.
  2621  // 2. Redistributions in binary form must reproduce the above copyright
  2622  //    notice, this list of conditions and the following disclaimer in the
  2623  //    documentation and/or other materials provided with the distribution.
  2624  // 3. All advertising materials mentioning features or use of this software
  2625  //    must display the following acknowledgement:
  2626  //	This product includes software developed by the University of
  2627  //	California, Berkeley and its contributors.
  2628  // 4. Neither the name of the University nor the names of its contributors
  2629  //    may be used to endorse or promote products derived from this software
  2630  //    without specific prior written permission.
  2631  //
  2632  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2633  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2634  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2635  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2636  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2637  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2638  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2639  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2640  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2641  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2642  // SUCH DAMAGE.
  2643  //
  2644  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  2645  
  2646  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2647  //
  2648  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2649  //
  2650  // This file contains Original Code and/or Modifications of Original Code
  2651  // as defined in and that are subject to the Apple Public Source License
  2652  // Version 2.0 (the 'License'). You may not use this file except in
  2653  // compliance with the License. The rights granted to you under the License
  2654  // may not be used to create, or enable the creation or redistribution of,
  2655  // unlawful or unlicensed copies of an Apple operating system, or to
  2656  // circumvent, violate, or enable the circumvention or violation of, any
  2657  // terms of an Apple operating system software license agreement.
  2658  //
  2659  // Please obtain a copy of the License at
  2660  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2661  //
  2662  // The Original Code and all software distributed under the License are
  2663  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2664  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2665  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2666  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2667  // Please see the License for the specific language governing rights and
  2668  // limitations under the License.
  2669  //
  2670  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2671  
  2672  // [XSI] The <sys/select.h> header shall define the fd_set type as a structure.
  2673  // The timespec structure shall be defined as described in <time.h>
  2674  // The <sys/select.h> header shall define the timeval structure.
  2675  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2676  //
  2677  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2678  //
  2679  // This file contains Original Code and/or Modifications of Original Code
  2680  // as defined in and that are subject to the Apple Public Source License
  2681  // Version 2.0 (the 'License'). You may not use this file except in
  2682  // compliance with the License. The rights granted to you under the License
  2683  // may not be used to create, or enable the creation or redistribution of,
  2684  // unlawful or unlicensed copies of an Apple operating system, or to
  2685  // circumvent, violate, or enable the circumvention or violation of, any
  2686  // terms of an Apple operating system software license agreement.
  2687  //
  2688  // Please obtain a copy of the License at
  2689  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2690  //
  2691  // The Original Code and all software distributed under the License are
  2692  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2693  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2694  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2695  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2696  // Please see the License for the specific language governing rights and
  2697  // limitations under the License.
  2698  //
  2699  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2700  
  2701  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2702  //
  2703  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2704  //
  2705  // This file contains Original Code and/or Modifications of Original Code
  2706  // as defined in and that are subject to the Apple Public Source License
  2707  // Version 2.0 (the 'License'). You may not use this file except in
  2708  // compliance with the License. The rights granted to you under the License
  2709  // may not be used to create, or enable the creation or redistribution of,
  2710  // unlawful or unlicensed copies of an Apple operating system, or to
  2711  // circumvent, violate, or enable the circumvention or violation of, any
  2712  // terms of an Apple operating system software license agreement.
  2713  //
  2714  // Please obtain a copy of the License at
  2715  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2716  //
  2717  // The Original Code and all software distributed under the License are
  2718  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2719  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2720  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2721  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2722  // Please see the License for the specific language governing rights and
  2723  // limitations under the License.
  2724  //
  2725  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2726  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2727  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  2728  //
  2729  // @APPLE_LICENSE_HEADER_START@
  2730  //
  2731  // This file contains Original Code and/or Modifications of Original Code
  2732  // as defined in and that are subject to the Apple Public Source License
  2733  // Version 2.0 (the 'License'). You may not use this file except in
  2734  // compliance with the License. Please obtain a copy of the License at
  2735  // http://www.opensource.apple.com/apsl/ and read it before using this
  2736  // file.
  2737  //
  2738  // The Original Code and all software distributed under the License are
  2739  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2740  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2741  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2742  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2743  // Please see the License for the specific language governing rights and
  2744  // limitations under the License.
  2745  //
  2746  // @APPLE_LICENSE_HEADER_END@
  2747  
  2748  // Select uses bit masks of file descriptors in longs.  These macros
  2749  // manipulate such bit fields (the filesystem macros use chars).  The
  2750  // extra protection here is to permit application redefinition above
  2751  // the default size.
  2752  
  2753  type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
  2754  
  2755  // Darwin extensions
  2756  
  2757  // Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
  2758  //
  2759  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2760  //
  2761  // This file contains Original Code and/or Modifications of Original Code
  2762  // as defined in and that are subject to the Apple Public Source License
  2763  // Version 2.0 (the 'License'). You may not use this file except in
  2764  // compliance with the License. The rights granted to you under the License
  2765  // may not be used to create, or enable the creation or redistribution of,
  2766  // unlawful or unlicensed copies of an Apple operating system, or to
  2767  // circumvent, violate, or enable the circumvention or violation of, any
  2768  // terms of an Apple operating system software license agreement.
  2769  //
  2770  // Please obtain a copy of the License at
  2771  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2772  //
  2773  // The Original Code and all software distributed under the License are
  2774  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2775  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2776  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2777  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2778  // Please see the License for the specific language governing rights and
  2779  // limitations under the License.
  2780  //
  2781  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2782  // Copyright (c) 1992, 1993
  2783  //	The Regents of the University of California.  All rights reserved.
  2784  //
  2785  // Redistribution and use in source and binary forms, with or without
  2786  // modification, are permitted provided that the following conditions
  2787  // are met:
  2788  // 1. Redistributions of source code must retain the above copyright
  2789  //    notice, this list of conditions and the following disclaimer.
  2790  // 2. Redistributions in binary form must reproduce the above copyright
  2791  //    notice, this list of conditions and the following disclaimer in the
  2792  //    documentation and/or other materials provided with the distribution.
  2793  // 3. All advertising materials mentioning features or use of this software
  2794  //    must display the following acknowledgement:
  2795  //	This product includes software developed by the University of
  2796  //	California, Berkeley and its contributors.
  2797  // 4. Neither the name of the University nor the names of its contributors
  2798  //    may be used to endorse or promote products derived from this software
  2799  //    without specific prior written permission.
  2800  //
  2801  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2802  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2803  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2804  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2805  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2806  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2807  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2808  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2809  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2810  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2811  // SUCH DAMAGE.
  2812  //
  2813  //	@(#)select.h	8.2 (Berkeley) 1/4/94
  2814  
  2815  // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  2816  //
  2817  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2818  //
  2819  // This file contains Original Code and/or Modifications of Original Code
  2820  // as defined in and that are subject to the Apple Public Source License
  2821  // Version 2.0 (the 'License'). You may not use this file except in
  2822  // compliance with the License. The rights granted to you under the License
  2823  // may not be used to create, or enable the creation or redistribution of,
  2824  // unlawful or unlicensed copies of an Apple operating system, or to
  2825  // circumvent, violate, or enable the circumvention or violation of, any
  2826  // terms of an Apple operating system software license agreement.
  2827  //
  2828  // Please obtain a copy of the License at
  2829  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2830  //
  2831  // The Original Code and all software distributed under the License are
  2832  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2833  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2834  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2835  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2836  // Please see the License for the specific language governing rights and
  2837  // limitations under the License.
  2838  //
  2839  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2840  
  2841  // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  2842  //
  2843  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2844  //
  2845  // This file contains Original Code and/or Modifications of Original Code
  2846  // as defined in and that are subject to the Apple Public Source License
  2847  // Version 2.0 (the 'License'). You may not use this file except in
  2848  // compliance with the License. The rights granted to you under the License
  2849  // may not be used to create, or enable the creation or redistribution of,
  2850  // unlawful or unlicensed copies of an Apple operating system, or to
  2851  // circumvent, violate, or enable the circumvention or violation of, any
  2852  // terms of an Apple operating system software license agreement.
  2853  //
  2854  // Please obtain a copy of the License at
  2855  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2856  //
  2857  // The Original Code and all software distributed under the License are
  2858  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2859  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2860  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2861  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2862  // Please see the License for the specific language governing rights and
  2863  // limitations under the License.
  2864  //
  2865  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2866  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2867  // Copyright (c) 1991, 1993
  2868  //	The Regents of the University of California.  All rights reserved.
  2869  //
  2870  // This code is derived from software contributed to Berkeley by
  2871  // Berkeley Software Design, Inc.
  2872  //
  2873  // Redistribution and use in source and binary forms, with or without
  2874  // modification, are permitted provided that the following conditions
  2875  // are met:
  2876  // 1. Redistributions of source code must retain the above copyright
  2877  //    notice, this list of conditions and the following disclaimer.
  2878  // 2. Redistributions in binary form must reproduce the above copyright
  2879  //    notice, this list of conditions and the following disclaimer in the
  2880  //    documentation and/or other materials provided with the distribution.
  2881  // 3. All advertising materials mentioning features or use of this software
  2882  //    must display the following acknowledgement:
  2883  //	This product includes software developed by the University of
  2884  //	California, Berkeley and its contributors.
  2885  // 4. Neither the name of the University nor the names of its contributors
  2886  //    may be used to endorse or promote products derived from this software
  2887  //    without specific prior written permission.
  2888  //
  2889  // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2890  // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2891  // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2892  // ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2893  // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2894  // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2895  // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2896  // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2897  // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2898  // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2899  // SUCH DAMAGE.
  2900  //
  2901  //	@(#)cdefs.h	8.8 (Berkeley) 1/9/95
  2902  
  2903  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2904  //
  2905  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2906  //
  2907  // This file contains Original Code and/or Modifications of Original Code
  2908  // as defined in and that are subject to the Apple Public Source License
  2909  // Version 2.0 (the 'License'). You may not use this file except in
  2910  // compliance with the License. The rights granted to you under the License
  2911  // may not be used to create, or enable the creation or redistribution of,
  2912  // unlawful or unlicensed copies of an Apple operating system, or to
  2913  // circumvent, violate, or enable the circumvention or violation of, any
  2914  // terms of an Apple operating system software license agreement.
  2915  //
  2916  // Please obtain a copy of the License at
  2917  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2918  //
  2919  // The Original Code and all software distributed under the License are
  2920  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2921  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2922  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2923  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2924  // Please see the License for the specific language governing rights and
  2925  // limitations under the License.
  2926  //
  2927  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2928  
  2929  // [XSI] The <sys/select.h> header shall define the fd_set type as a structure.
  2930  // The timespec structure shall be defined as described in <time.h>
  2931  // The <sys/select.h> header shall define the timeval structure.
  2932  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2933  //
  2934  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2935  //
  2936  // This file contains Original Code and/or Modifications of Original Code
  2937  // as defined in and that are subject to the Apple Public Source License
  2938  // Version 2.0 (the 'License'). You may not use this file except in
  2939  // compliance with the License. The rights granted to you under the License
  2940  // may not be used to create, or enable the creation or redistribution of,
  2941  // unlawful or unlicensed copies of an Apple operating system, or to
  2942  // circumvent, violate, or enable the circumvention or violation of, any
  2943  // terms of an Apple operating system software license agreement.
  2944  //
  2945  // Please obtain a copy of the License at
  2946  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2947  //
  2948  // The Original Code and all software distributed under the License are
  2949  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2950  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2951  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2952  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2953  // Please see the License for the specific language governing rights and
  2954  // limitations under the License.
  2955  //
  2956  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2957  
  2958  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2959  //
  2960  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2961  //
  2962  // This file contains Original Code and/or Modifications of Original Code
  2963  // as defined in and that are subject to the Apple Public Source License
  2964  // Version 2.0 (the 'License'). You may not use this file except in
  2965  // compliance with the License. The rights granted to you under the License
  2966  // may not be used to create, or enable the creation or redistribution of,
  2967  // unlawful or unlicensed copies of an Apple operating system, or to
  2968  // circumvent, violate, or enable the circumvention or violation of, any
  2969  // terms of an Apple operating system software license agreement.
  2970  //
  2971  // Please obtain a copy of the License at
  2972  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2973  //
  2974  // The Original Code and all software distributed under the License are
  2975  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2976  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2977  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2978  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2979  // Please see the License for the specific language governing rights and
  2980  // limitations under the License.
  2981  //
  2982  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2983  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2984  // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  2985  //
  2986  // @APPLE_LICENSE_HEADER_START@
  2987  //
  2988  // This file contains Original Code and/or Modifications of Original Code
  2989  // as defined in and that are subject to the Apple Public Source License
  2990  // Version 2.0 (the 'License'). You may not use this file except in
  2991  // compliance with the License. Please obtain a copy of the License at
  2992  // http://www.opensource.apple.com/apsl/ and read it before using this
  2993  // file.
  2994  //
  2995  // The Original Code and all software distributed under the License are
  2996  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2997  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2998  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2999  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3000  // Please see the License for the specific language governing rights and
  3001  // limitations under the License.
  3002  //
  3003  // @APPLE_LICENSE_HEADER_END@
  3004  
  3005  // Select uses bit masks of file descriptors in longs.  These macros
  3006  // manipulate such bit fields (the filesystem macros use chars).  The
  3007  // extra protection here is to permit application redefinition above
  3008  // the default size.
  3009  
  3010  type Fd_set = Fd_set1 /* _fd_def.h:52:3 */
  3011  
  3012  // Use the built-in bzero function instead of the library version so that
  3013  // we do not pollute the namespace or introduce prototype warnings.
  3014  
  3015  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3016  //
  3017  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3018  //
  3019  // This file contains Original Code and/or Modifications of Original Code
  3020  // as defined in and that are subject to the Apple Public Source License
  3021  // Version 2.0 (the 'License'). You may not use this file except in
  3022  // compliance with the License. The rights granted to you under the License
  3023  // may not be used to create, or enable the creation or redistribution of,
  3024  // unlawful or unlicensed copies of an Apple operating system, or to
  3025  // circumvent, violate, or enable the circumvention or violation of, any
  3026  // terms of an Apple operating system software license agreement.
  3027  //
  3028  // Please obtain a copy of the License at
  3029  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3030  //
  3031  // The Original Code and all software distributed under the License are
  3032  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3033  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3034  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3035  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3036  // Please see the License for the specific language governing rights and
  3037  // limitations under the License.
  3038  //
  3039  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3040  
  3041  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3042  //
  3043  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3044  //
  3045  // This file contains Original Code and/or Modifications of Original Code
  3046  // as defined in and that are subject to the Apple Public Source License
  3047  // Version 2.0 (the 'License'). You may not use this file except in
  3048  // compliance with the License. The rights granted to you under the License
  3049  // may not be used to create, or enable the creation or redistribution of,
  3050  // unlawful or unlicensed copies of an Apple operating system, or to
  3051  // circumvent, violate, or enable the circumvention or violation of, any
  3052  // terms of an Apple operating system software license agreement.
  3053  //
  3054  // Please obtain a copy of the License at
  3055  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3056  //
  3057  // The Original Code and all software distributed under the License are
  3058  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3059  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3060  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3061  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3062  // Please see the License for the specific language governing rights and
  3063  // limitations under the License.
  3064  //
  3065  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3066  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3067  
  3068  type Timespec = struct {
  3069  	Ftv_sec  X__darwin_time_t
  3070  	Ftv_nsec int64
  3071  } /* _timespec.h:33:1 */
  3072  
  3073  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3074  //
  3075  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3076  //
  3077  // This file contains Original Code and/or Modifications of Original Code
  3078  // as defined in and that are subject to the Apple Public Source License
  3079  // Version 2.0 (the 'License'). You may not use this file except in
  3080  // compliance with the License. The rights granted to you under the License
  3081  // may not be used to create, or enable the creation or redistribution of,
  3082  // unlawful or unlicensed copies of an Apple operating system, or to
  3083  // circumvent, violate, or enable the circumvention or violation of, any
  3084  // terms of an Apple operating system software license agreement.
  3085  //
  3086  // Please obtain a copy of the License at
  3087  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3088  //
  3089  // The Original Code and all software distributed under the License are
  3090  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3091  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3092  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3093  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3094  // Please see the License for the specific language governing rights and
  3095  // limitations under the License.
  3096  //
  3097  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3098  
  3099  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3100  //
  3101  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3102  //
  3103  // This file contains Original Code and/or Modifications of Original Code
  3104  // as defined in and that are subject to the Apple Public Source License
  3105  // Version 2.0 (the 'License'). You may not use this file except in
  3106  // compliance with the License. The rights granted to you under the License
  3107  // may not be used to create, or enable the creation or redistribution of,
  3108  // unlawful or unlicensed copies of an Apple operating system, or to
  3109  // circumvent, violate, or enable the circumvention or violation of, any
  3110  // terms of an Apple operating system software license agreement.
  3111  //
  3112  // Please obtain a copy of the License at
  3113  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3114  //
  3115  // The Original Code and all software distributed under the License are
  3116  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3117  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3118  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3119  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3120  // Please see the License for the specific language governing rights and
  3121  // limitations under the License.
  3122  //
  3123  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3124  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3125  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3126  //
  3127  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3128  //
  3129  // This file contains Original Code and/or Modifications of Original Code
  3130  // as defined in and that are subject to the Apple Public Source License
  3131  // Version 2.0 (the 'License'). You may not use this file except in
  3132  // compliance with the License. The rights granted to you under the License
  3133  // may not be used to create, or enable the creation or redistribution of,
  3134  // unlawful or unlicensed copies of an Apple operating system, or to
  3135  // circumvent, violate, or enable the circumvention or violation of, any
  3136  // terms of an Apple operating system software license agreement.
  3137  //
  3138  // Please obtain a copy of the License at
  3139  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3140  //
  3141  // The Original Code and all software distributed under the License are
  3142  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3143  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3144  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3145  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3146  // Please see the License for the specific language governing rights and
  3147  // limitations under the License.
  3148  //
  3149  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3150  
  3151  type Timeval = struct {
  3152  	Ftv_sec      X__darwin_time_t
  3153  	Ftv_usec     X__darwin_suseconds_t
  3154  	F__ccgo_pad1 [4]byte
  3155  } /* _timeval.h:34:1 */
  3156  
  3157  // The time_t and suseconds_t types shall be defined as described in
  3158  // <sys/types.h>
  3159  // The sigset_t type shall be defined as described in <signal.h>
  3160  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3161  //
  3162  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3163  //
  3164  // This file contains Original Code and/or Modifications of Original Code
  3165  // as defined in and that are subject to the Apple Public Source License
  3166  // Version 2.0 (the 'License'). You may not use this file except in
  3167  // compliance with the License. The rights granted to you under the License
  3168  // may not be used to create, or enable the creation or redistribution of,
  3169  // unlawful or unlicensed copies of an Apple operating system, or to
  3170  // circumvent, violate, or enable the circumvention or violation of, any
  3171  // terms of an Apple operating system software license agreement.
  3172  //
  3173  // Please obtain a copy of the License at
  3174  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3175  //
  3176  // The Original Code and all software distributed under the License are
  3177  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3178  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3179  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3180  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3181  // Please see the License for the specific language governing rights and
  3182  // limitations under the License.
  3183  //
  3184  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3185  // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3186  //
  3187  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3188  //
  3189  // This file contains Original Code and/or Modifications of Original Code
  3190  // as defined in and that are subject to the Apple Public Source License
  3191  // Version 2.0 (the 'License'). You may not use this file except in
  3192  // compliance with the License. The rights granted to you under the License
  3193  // may not be used to create, or enable the creation or redistribution of,
  3194  // unlawful or unlicensed copies of an Apple operating system, or to
  3195  // circumvent, violate, or enable the circumvention or violation of, any
  3196  // terms of an Apple operating system software license agreement.
  3197  //
  3198  // Please obtain a copy of the License at
  3199  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3200  //
  3201  // The Original Code and all software distributed under the License are
  3202  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3203  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3204  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3205  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3206  // Please see the License for the specific language governing rights and
  3207  // limitations under the License.
  3208  //
  3209  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3210  // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3211  type Time_t = X__darwin_time_t /* _time_t.h:31:33 */
  3212  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3213  //
  3214  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3215  //
  3216  // This file contains Original Code and/or Modifications of Original Code
  3217  // as defined in and that are subject to the Apple Public Source License
  3218  // Version 2.0 (the 'License'). You may not use this file except in
  3219  // compliance with the License. The rights granted to you under the License
  3220  // may not be used to create, or enable the creation or redistribution of,
  3221  // unlawful or unlicensed copies of an Apple operating system, or to
  3222  // circumvent, violate, or enable the circumvention or violation of, any
  3223  // terms of an Apple operating system software license agreement.
  3224  //
  3225  // Please obtain a copy of the License at
  3226  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3227  //
  3228  // The Original Code and all software distributed under the License are
  3229  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3230  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3231  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3232  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3233  // Please see the License for the specific language governing rights and
  3234  // limitations under the License.
  3235  //
  3236  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3237  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3238  //
  3239  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3240  //
  3241  // This file contains Original Code and/or Modifications of Original Code
  3242  // as defined in and that are subject to the Apple Public Source License
  3243  // Version 2.0 (the 'License'). You may not use this file except in
  3244  // compliance with the License. The rights granted to you under the License
  3245  // may not be used to create, or enable the creation or redistribution of,
  3246  // unlawful or unlicensed copies of an Apple operating system, or to
  3247  // circumvent, violate, or enable the circumvention or violation of, any
  3248  // terms of an Apple operating system software license agreement.
  3249  //
  3250  // Please obtain a copy of the License at
  3251  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3252  //
  3253  // The Original Code and all software distributed under the License are
  3254  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3255  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3256  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3257  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3258  // Please see the License for the specific language governing rights and
  3259  // limitations under the License.
  3260  //
  3261  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3262  
  3263  type Suseconds_t = X__darwin_suseconds_t /* _suseconds_t.h:31:33 */
  3264  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3265  //
  3266  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3267  //
  3268  // This file contains Original Code and/or Modifications of Original Code
  3269  // as defined in and that are subject to the Apple Public Source License
  3270  // Version 2.0 (the 'License'). You may not use this file except in
  3271  // compliance with the License. The rights granted to you under the License
  3272  // may not be used to create, or enable the creation or redistribution of,
  3273  // unlawful or unlicensed copies of an Apple operating system, or to
  3274  // circumvent, violate, or enable the circumvention or violation of, any
  3275  // terms of an Apple operating system software license agreement.
  3276  //
  3277  // Please obtain a copy of the License at
  3278  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3279  //
  3280  // The Original Code and all software distributed under the License are
  3281  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3282  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3283  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3284  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3285  // Please see the License for the specific language governing rights and
  3286  // limitations under the License.
  3287  //
  3288  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3289  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3290  //
  3291  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3292  //
  3293  // This file contains Original Code and/or Modifications of Original Code
  3294  // as defined in and that are subject to the Apple Public Source License
  3295  // Version 2.0 (the 'License'). You may not use this file except in
  3296  // compliance with the License. The rights granted to you under the License
  3297  // may not be used to create, or enable the creation or redistribution of,
  3298  // unlawful or unlicensed copies of an Apple operating system, or to
  3299  // circumvent, violate, or enable the circumvention or violation of, any
  3300  // terms of an Apple operating system software license agreement.
  3301  //
  3302  // Please obtain a copy of the License at
  3303  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3304  //
  3305  // The Original Code and all software distributed under the License are
  3306  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3307  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3308  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3309  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3310  // Please see the License for the specific language governing rights and
  3311  // limitations under the License.
  3312  //
  3313  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3314  
  3315  type Sigset_t = X__darwin_sigset_t /* _sigset_t.h:31:41 */
  3316  
  3317  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3318  //
  3319  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3320  //
  3321  // This file contains Original Code and/or Modifications of Original Code
  3322  // as defined in and that are subject to the Apple Public Source License
  3323  // Version 2.0 (the 'License'). You may not use this file except in
  3324  // compliance with the License. The rights granted to you under the License
  3325  // may not be used to create, or enable the creation or redistribution of,
  3326  // unlawful or unlicensed copies of an Apple operating system, or to
  3327  // circumvent, violate, or enable the circumvention or violation of, any
  3328  // terms of an Apple operating system software license agreement.
  3329  //
  3330  // Please obtain a copy of the License at
  3331  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3332  //
  3333  // The Original Code and all software distributed under the License are
  3334  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3335  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3336  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3337  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3338  // Please see the License for the specific language governing rights and
  3339  // limitations under the License.
  3340  //
  3341  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3342  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3343  //
  3344  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3345  //
  3346  // This file contains Original Code and/or Modifications of Original Code
  3347  // as defined in and that are subject to the Apple Public Source License
  3348  // Version 2.0 (the 'License'). You may not use this file except in
  3349  // compliance with the License. The rights granted to you under the License
  3350  // may not be used to create, or enable the creation or redistribution of,
  3351  // unlawful or unlicensed copies of an Apple operating system, or to
  3352  // circumvent, violate, or enable the circumvention or violation of, any
  3353  // terms of an Apple operating system software license agreement.
  3354  //
  3355  // Please obtain a copy of the License at
  3356  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3357  //
  3358  // The Original Code and all software distributed under the License are
  3359  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3360  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3361  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3362  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3363  // Please see the License for the specific language governing rights and
  3364  // limitations under the License.
  3365  //
  3366  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3367  
  3368  type Dev_t = X__darwin_dev_t /* _dev_t.h:31:31 */ // device number
  3369  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3370  //
  3371  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3372  //
  3373  // This file contains Original Code and/or Modifications of Original Code
  3374  // as defined in and that are subject to the Apple Public Source License
  3375  // Version 2.0 (the 'License'). You may not use this file except in
  3376  // compliance with the License. The rights granted to you under the License
  3377  // may not be used to create, or enable the creation or redistribution of,
  3378  // unlawful or unlicensed copies of an Apple operating system, or to
  3379  // circumvent, violate, or enable the circumvention or violation of, any
  3380  // terms of an Apple operating system software license agreement.
  3381  //
  3382  // Please obtain a copy of the License at
  3383  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3384  //
  3385  // The Original Code and all software distributed under the License are
  3386  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3387  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3388  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3389  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3390  // Please see the License for the specific language governing rights and
  3391  // limitations under the License.
  3392  //
  3393  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3394  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3395  //
  3396  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3397  //
  3398  // This file contains Original Code and/or Modifications of Original Code
  3399  // as defined in and that are subject to the Apple Public Source License
  3400  // Version 2.0 (the 'License'). You may not use this file except in
  3401  // compliance with the License. The rights granted to you under the License
  3402  // may not be used to create, or enable the creation or redistribution of,
  3403  // unlawful or unlicensed copies of an Apple operating system, or to
  3404  // circumvent, violate, or enable the circumvention or violation of, any
  3405  // terms of an Apple operating system software license agreement.
  3406  //
  3407  // Please obtain a copy of the License at
  3408  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3409  //
  3410  // The Original Code and all software distributed under the License are
  3411  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3412  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3413  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3414  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3415  // Please see the License for the specific language governing rights and
  3416  // limitations under the License.
  3417  //
  3418  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3419  
  3420  type Mode_t = X__darwin_mode_t /* _mode_t.h:31:33 */
  3421  // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3422  //
  3423  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3424  //
  3425  // This file contains Original Code and/or Modifications of Original Code
  3426  // as defined in and that are subject to the Apple Public Source License
  3427  // Version 2.0 (the 'License'). You may not use this file except in
  3428  // compliance with the License. The rights granted to you under the License
  3429  // may not be used to create, or enable the creation or redistribution of,
  3430  // unlawful or unlicensed copies of an Apple operating system, or to
  3431  // circumvent, violate, or enable the circumvention or violation of, any
  3432  // terms of an Apple operating system software license agreement.
  3433  //
  3434  // Please obtain a copy of the License at
  3435  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3436  //
  3437  // The Original Code and all software distributed under the License are
  3438  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3439  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3440  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3441  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3442  // Please see the License for the specific language governing rights and
  3443  // limitations under the License.
  3444  //
  3445  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3446  // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3447  //
  3448  // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3449  //
  3450  // This file contains Original Code and/or Modifications of Original Code
  3451  // as defined in and that are subject to the Apple Public Source License
  3452  // Version 2.0 (the 'License'). You may not use this file except in
  3453  // compliance with the License. The rights granted to you under the License
  3454  // may not be used to create, or enable the creation or redistribution of,
  3455  // unlawful or unlicensed copies of an Apple operating system, or to
  3456  // circumvent, violate, or enable the circumvention or violation of, any
  3457  // terms of an Apple operating system software license agreement.
  3458  //
  3459  // Please obtain a copy of the License at
  3460  // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3461  //
  3462  // The Original Code and all software distributed under the License are
  3463  // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3464  // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3465  // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3466  // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3467  // Please see the License for the specific language governing rights and
  3468  // limitations under the License.
  3469  //
  3470  // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3471  
  3472  type Uuid_t = X__darwin_uuid_t /* _uuid_t.h:31:25 */
  3473  
  3474  var _ int8 /* gen.c:2:13: */