unistd_darwin_amd64.go 178 KB

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