unistd_darwin_arm64.go 180 KB

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