fts_darwin_arm64.go 262 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230
  1. // Code generated by 'ccgo fts/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 fts/fts_darwin_arm64.go -pkgname fts', DO NOT EDIT.
  2. package fts
  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. ACCESSPERMS = 511 // stat.h:297:1:
  15. ALLPERMS = 4095 // stat.h:299:1:
  16. BIG_ENDIAN = 4321 // endian.h:72:1:
  17. BYTE_ORDER = 1234 // endian.h:75:1:
  18. DEFFILEMODE = 438 // stat.h:301:1:
  19. EF_IS_PURGEABLE = 0x00000008 // stat.h:371:1:
  20. EF_IS_SPARSE = 0x00000010 // stat.h:372:1:
  21. EF_IS_SYNC_ROOT = 0x00000004 // stat.h:370:1:
  22. EF_IS_SYNTHETIC = 0x00000020 // stat.h:373:1:
  23. EF_MAY_SHARE_BLOCKS = 0x00000001 // stat.h:368:1:
  24. EF_NO_XATTRS = 0x00000002 // stat.h:369:1:
  25. FD_SETSIZE = 1024 // _fd_setsize.h:29:1:
  26. FTS_AGAIN = 1 // fts.h:157:1:
  27. FTS_BLOCK_COMPAR = 0x80000000 // fts.h:108:1:
  28. FTS_CHDIRFD = 0x08 // fts.h:154:1:
  29. FTS_COMFOLLOW = 0x001 // fts.h:89:1:
  30. FTS_COMFOLLOWDIR = 0x400 // fts.h:97:1:
  31. FTS_D = 1 // fts.h:135:1:
  32. FTS_DC = 2 // fts.h:136:1:
  33. FTS_DEFAULT = 3 // fts.h:137:1:
  34. FTS_DNR = 4 // fts.h:138:1:
  35. FTS_DONTCHDIR = 0x01 // fts.h:151:1:
  36. FTS_DOT = 5 // fts.h:139:1:
  37. FTS_DP = 6 // fts.h:140:1:
  38. FTS_ERR = 7 // fts.h:141:1:
  39. FTS_F = 8 // fts.h:142:1:
  40. FTS_FOLLOW = 2 // fts.h:158:1:
  41. FTS_INIT = 9 // fts.h:143:1:
  42. FTS_ISW = 0x04 // fts.h:153:1:
  43. FTS_LOGICAL = 0x002 // fts.h:90:1:
  44. FTS_MAXLEVEL = 0x7fffffff // fts.h:132:1:
  45. FTS_NAMEONLY = 0x100 // fts.h:105:1:
  46. FTS_NOCHDIR = 0x004 // fts.h:91:1:
  47. FTS_NOINSTR = 3 // fts.h:159:1:
  48. FTS_NOSTAT = 0x008 // fts.h:92:1:
  49. FTS_NOSTAT_TYPE = 0x800 // fts.h:101:1:
  50. FTS_NS = 10 // fts.h:144:1:
  51. FTS_NSOK = 11 // fts.h:145:1:
  52. FTS_OPTIONMASK = 0xcff // fts.h:102:1:
  53. FTS_PHYSICAL = 0x010 // fts.h:93:1:
  54. FTS_ROOTLEVEL = 0 // fts.h:131:1:
  55. FTS_ROOTPARENTLEVEL = -1 // fts.h:130:1:
  56. FTS_SEEDOT = 0x020 // fts.h:94:1:
  57. FTS_SKIP = 4 // fts.h:160:1:
  58. FTS_SL = 12 // fts.h:146:1:
  59. FTS_SLNONE = 13 // fts.h:147:1:
  60. FTS_STOP = 0x200 // fts.h:106:1:
  61. FTS_SYMFOLLOW = 0x02 // fts.h:152:1:
  62. FTS_W = 14 // fts.h:148:1:
  63. FTS_WHITEOUT = 0x080 // fts.h:96:1:
  64. FTS_XDEV = 0x040 // fts.h:95:1:
  65. INT16_MAX = 32767 // stdint.h:599:1:
  66. INT16_MIN = -32768 // stdint.h:600:1:
  67. INT32_MAX = 2147483647 // stdint.h:555:1:
  68. INT32_MIN = -2147483648 // stdint.h:556:1:
  69. INT64_MAX = 9223372036854775807 // stdint.h:461:1:
  70. INT64_MIN = -9223372036854775808 // stdint.h:462:1:
  71. INT8_MAX = 127 // stdint.h:621:1:
  72. INT8_MIN = -128 // stdint.h:622:1:
  73. INTMAX_MAX = 9223372036854775807 // stdint.h:663:1:
  74. INTMAX_MIN = -9223372036854775808 // stdint.h:662:1:
  75. INTPTR_MAX = 9223372036854775807 // stdint.h:649:1:
  76. INTPTR_MIN = -9223372036854775808 // stdint.h:648:1:
  77. INT_FAST16_MAX = 32767 // stdint.h:615:1:
  78. INT_FAST16_MIN = -32768 // stdint.h:614:1:
  79. INT_FAST32_MAX = 2147483647 // stdint.h:574:1:
  80. INT_FAST32_MIN = -2147483648 // stdint.h:573:1:
  81. INT_FAST64_MAX = 9223372036854775807 // stdint.h:483:1:
  82. INT_FAST64_MIN = -9223372036854775808 // stdint.h:482:1:
  83. INT_FAST8_MAX = 127 // stdint.h:634:1:
  84. INT_FAST8_MIN = -128 // stdint.h:633:1:
  85. INT_LEAST16_MAX = 32767 // stdint.h:612:1:
  86. INT_LEAST16_MIN = -32768 // stdint.h:611:1:
  87. INT_LEAST32_MAX = 2147483647 // stdint.h:571:1:
  88. INT_LEAST32_MIN = -2147483648 // stdint.h:570:1:
  89. INT_LEAST64_MAX = 9223372036854775807 // stdint.h:480:1:
  90. INT_LEAST64_MIN = -9223372036854775808 // stdint.h:479:1:
  91. INT_LEAST8_MAX = 127 // stdint.h:631:1:
  92. INT_LEAST8_MIN = -128 // stdint.h:630:1:
  93. LITTLE_ENDIAN = 1234 // endian.h:71:1:
  94. MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1:
  95. MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1:
  96. MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1:
  97. MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1:
  98. MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1:
  99. MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1:
  100. MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1:
  101. MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1:
  102. MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1:
  103. MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1:
  104. MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1:
  105. MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1:
  106. MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1:
  107. MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1:
  108. MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1:
  109. MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1:
  110. MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1:
  111. MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1:
  112. MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1:
  113. MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1:
  114. MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1:
  115. MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1:
  116. MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1:
  117. MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1:
  118. MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1:
  119. MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1:
  120. MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1:
  121. MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1:
  122. MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1:
  123. MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1:
  124. MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1:
  125. MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1:
  126. MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1:
  127. MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1:
  128. NBBY = 8 // types.h:186:1:
  129. PDP_ENDIAN = 3412 // endian.h:73:1:
  130. PTRDIFF_MAX = 9223372036854775807 // stdint.h:652:1:
  131. PTRDIFF_MIN = -9223372036854775808 // stdint.h:651:1:
  132. RSIZE_MAX = 9223372036854775807 // stdint.h:658:1:
  133. SF_APPEND = 0x00040000 // stat.h:340:1:
  134. SF_ARCHIVED = 0x00010000 // stat.h:338:1:
  135. SF_DATALESS = 0x40000000 // stat.h:359:1:
  136. SF_FIRMLINK = 0x00800000 // stat.h:351:1:
  137. SF_IMMUTABLE = 0x00020000 // stat.h:339:1:
  138. SF_NOUNLINK = 0x00100000 // stat.h:342:1:
  139. SF_RESTRICTED = 0x00080000 // stat.h:341:1:
  140. SF_SETTABLE = 0x3fff0000 // stat.h:336:1:
  141. SF_SUPPORTED = 0x009f0000 // stat.h:335:1:
  142. SF_SYNTHETIC = 0xc0000000 // stat.h:337:1:
  143. SIG_ATOMIC_MAX = 2147483647 // stdint.h:668:1:
  144. SIG_ATOMIC_MIN = -2147483648 // stdint.h:667:1:
  145. SIZE_MAX = 18446744073709551615 // stdint.h:653:1:
  146. S_BLKSIZE = 512 // stat.h:303:1:
  147. S_IEXEC = 64 // _s_ifmt.h:72:1:
  148. S_IFBLK = 0060000 // _s_ifmt.h:39:1:
  149. S_IFCHR = 0020000 // _s_ifmt.h:37:1:
  150. S_IFDIR = 0040000 // _s_ifmt.h:38:1:
  151. S_IFIFO = 0010000 // _s_ifmt.h:36:1:
  152. S_IFLNK = 0120000 // _s_ifmt.h:41:1:
  153. S_IFMT = 0170000 // _s_ifmt.h:35:1:
  154. S_IFREG = 0100000 // _s_ifmt.h:40:1:
  155. S_IFSOCK = 0140000 // _s_ifmt.h:42:1:
  156. S_IFWHT = 0160000 // _s_ifmt.h:44:1:
  157. S_IREAD = 256 // _s_ifmt.h:70:1:
  158. S_IRGRP = 0000040 // _s_ifmt.h:55:1:
  159. S_IROTH = 0000004 // _s_ifmt.h:60:1:
  160. S_IRUSR = 0000400 // _s_ifmt.h:50:1:
  161. S_IRWXG = 0000070 // _s_ifmt.h:54:1:
  162. S_IRWXO = 0000007 // _s_ifmt.h:59:1:
  163. S_IRWXU = 0000700 // _s_ifmt.h:49:1:
  164. S_ISGID = 0002000 // _s_ifmt.h:65:1:
  165. S_ISTXT = 512 // _s_ifmt.h:69:1:
  166. S_ISUID = 0004000 // _s_ifmt.h:64:1:
  167. S_ISVTX = 0001000 // _s_ifmt.h:66:1:
  168. S_IWGRP = 0000020 // _s_ifmt.h:56:1:
  169. S_IWOTH = 0000002 // _s_ifmt.h:61:1:
  170. S_IWRITE = 128 // _s_ifmt.h:71:1:
  171. S_IWUSR = 0000200 // _s_ifmt.h:51:1:
  172. S_IXGRP = 0000010 // _s_ifmt.h:57:1:
  173. S_IXOTH = 0000001 // _s_ifmt.h:62:1:
  174. S_IXUSR = 0000100 // _s_ifmt.h:52:1:
  175. UF_APPEND = 0x00000004 // stat.h:313:1:
  176. UF_COMPRESSED = 0x00000020 // stat.h:320:1:
  177. UF_DATAVAULT = 0x00000080 // stat.h:326:1:
  178. UF_HIDDEN = 0x00008000 // stat.h:330:1:
  179. UF_IMMUTABLE = 0x00000002 // stat.h:312:1:
  180. UF_NODUMP = 0x00000001 // stat.h:311:1:
  181. UF_OPAQUE = 0x00000008 // stat.h:314:1:
  182. UF_SETTABLE = 0x0000ffff // stat.h:310:1:
  183. UF_TRACKED = 0x00000040 // stat.h:324:1:
  184. UINT16_MAX = 65535 // stdint.h:601:1:
  185. UINT32_MAX = 4294967295 // stdint.h:557:1:
  186. UINT64_MAX = 18446744073709551615 // stdint.h:463:1:
  187. UINT8_MAX = 255 // stdint.h:623:1:
  188. UINTMAX_MAX = 18446744073709551615 // stdint.h:664:1:
  189. UINTPTR_MAX = 18446744073709551615 // stdint.h:650:1:
  190. UINT_FAST16_MAX = 65535 // stdint.h:616:1:
  191. UINT_FAST32_MAX = 4294967295 // stdint.h:575:1:
  192. UINT_FAST64_MAX = 18446744073709551615 // stdint.h:484:1:
  193. UINT_FAST8_MAX = 255 // stdint.h:635:1:
  194. UINT_LEAST16_MAX = 65535 // stdint.h:613:1:
  195. UINT_LEAST32_MAX = 4294967295 // stdint.h:572:1:
  196. UINT_LEAST64_MAX = 18446744073709551615 // stdint.h:481:1:
  197. UINT_LEAST8_MAX = 255 // stdint.h:632:1:
  198. UTIME_NOW = -1 // stat.h:395:1:
  199. UTIME_OMIT = -2 // stat.h:396:1:
  200. WCHAR_MAX = 2147483647 // stdint.h:678:1:
  201. WCHAR_MIN = -2147483648 // stdint.h:682:1:
  202. WINT_MAX = 2147483647 // stdint.h:674:1:
  203. WINT_MIN = -2147483648 // stdint.h:673:1:
  204. X_ARM_ARCH_H = 0 // arch.h:29:1:
  205. X_ARM_MACHTYPES_H_ = 0 // types.h:43:1:
  206. X_ARM__ENDIAN_H_ = 0 // endian.h:43:1:
  207. X_BLKCNT_T = 0 // _blkcnt_t.h:29:1:
  208. X_BLKSIZE_T = 0 // _blksize_t.h:29:1:
  209. X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1:
  210. X_BSD_MACHINE_ENDIAN_H_ = 0 // endian.h:32:1:
  211. X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1:
  212. X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
  213. X_CADDR_T = 0 // _caddr_t.h:29:1:
  214. X_CDEFS_H_ = 0 // cdefs.h:68:1:
  215. X_CLOCK_T = 0 // _clock_t.h:29:1:
  216. X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1:
  217. X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1:
  218. X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1:
  219. X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1:
  220. X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1:
  221. X_DEV_T = 0 // _dev_t.h:29:1:
  222. X_ERRNO_T = 0 // _errno_t.h:29:1:
  223. X_FD_SET = 0 // _fd_def.h:29:1:
  224. X_FILESEC_T = 0 // _filesec_t.h:29:1:
  225. X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
  226. X_FSBLKCNT_T = 0 // _fsblkcnt_t.h:29:1:
  227. X_FSFILCNT_T = 0 // _fsfilcnt_t.h:29:1:
  228. X_FTS_H_ = 0 // fts.h:59:1:
  229. X_GID_T = 0 // _gid_t.h:29:1:
  230. X_ID_T = 0 // _id_t.h:29:1:
  231. X_INO64_T = 0 // _ino64_t.h:29:1:
  232. X_INO_T = 0 // _ino_t.h:29:1:
  233. X_INT16_T = 0 // _int16_t.h:29:1:
  234. X_INT32_T = 0 // _int32_t.h:29:1:
  235. X_INT64_T = 0 // _int64_t.h:29:1:
  236. X_INT8_T = 0 // _int8_t.h:29:1:
  237. X_INTPTR_T = 0 // _intptr_t.h:29:1:
  238. X_IN_ADDR_T = 0 // _in_addr_t.h:29:1:
  239. X_IN_PORT_T = 0 // _in_port_t.h:29:1:
  240. X_KEY_T = 0 // _key_t.h:29:1:
  241. X_LP64 = 1 // <predefined>:1:1:
  242. X_MACHTYPES_H_ = 0 // types.h:44:1:
  243. X_MODE_T = 0 // _mode_t.h:29:1:
  244. X_NLINK_T = 0 // _nlink_t.h:29:1:
  245. X_Nonnull = 0 // cdefs.h:268:1:
  246. X_Null_unspecified = 0 // cdefs.h:271:1:
  247. X_Nullable = 0 // cdefs.h:265:1:
  248. X_OFF_T = 0 // _off_t.h:29:1:
  249. X_OS_OSBYTEORDERARM_H = 0 // OSByteOrder.h:6:1:
  250. X_OS__OSBYTEORDER_H = 0 // _OSByteOrder.h:30:1:
  251. X_PID_T = 0 // _pid_t.h:29:1:
  252. X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1:
  253. X_PTHREAD_CONDATTR_T = 0 // _pthread_condattr_t.h:29:1:
  254. X_PTHREAD_COND_T = 0 // _pthread_cond_t.h:29:1:
  255. X_PTHREAD_KEY_T = 0 // _pthread_key_t.h:29:1:
  256. X_PTHREAD_MUTEXATTR_T = 0 // _pthread_mutexattr_t.h:29:1:
  257. X_PTHREAD_MUTEX_T = 0 // _pthread_mutex_t.h:29:1:
  258. X_PTHREAD_ONCE_T = 0 // _pthread_once_t.h:29:1:
  259. X_PTHREAD_RWLOCKATTR_T = 0 // _pthread_rwlockattr_t.h:29:1:
  260. X_PTHREAD_RWLOCK_T = 0 // _pthread_rwlock_t.h:29:1:
  261. X_PTHREAD_T = 0 // _pthread_t.h:29:1:
  262. X_QUAD_HIGHWORD = 1 // endian.h:56:1:
  263. X_QUAD_LOWWORD = 0 // endian.h:57:1:
  264. X_RSIZE_T = 0 // _rsize_t.h:29:1:
  265. X_SIZE_T = 0 // _size_t.h:29:1:
  266. X_SSIZE_T = 0 // _ssize_t.h:29:1:
  267. X_SUSECONDS_T = 0 // _suseconds_t.h:29:1:
  268. X_SYS_STAT_H_ = 0 // stat.h:71:1:
  269. X_SYS_TYPES_H_ = 0 // types.h:70:1:
  270. X_SYS__ENDIAN_H_ = 0 // _endian.h:91:1:
  271. X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
  272. X_SYS__TYPES_H_ = 0 // _types.h:30:1:
  273. X_TIME_T = 0 // _time_t.h:29:1:
  274. X_UID_T = 0 // _uid_t.h:29:1:
  275. X_UINTPTR_T = 0 // _uintptr_t.h:29:1:
  276. X_USECONDS_T = 0 // _useconds_t.h:29:1:
  277. X_U_CHAR = 0 // _u_char.h:29:1:
  278. X_U_INT = 0 // _u_int.h:29:1:
  279. X_U_INT16_T = 0 // _u_int16_t.h:29:1:
  280. X_U_INT32_T = 0 // _u_int32_t.h:29:1:
  281. X_U_INT64_T = 0 // _u_int64_t.h:29:1:
  282. X_U_INT8_T = 0 // _u_int8_t.h:29:1:
  283. X_U_LONG = 0 // types.h:89:1:
  284. X_U_SHORT = 0 // _u_short.h:29:1:
  285. )
  286. type Ptrdiff_t = int64 /* <builtin>:3:26 */
  287. type Size_t = uint64 /* <builtin>:9:23 */
  288. type Wchar_t = int32 /* <builtin>:15:24 */
  289. type X__int128_t = struct {
  290. Flo int64
  291. Fhi int64
  292. } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
  293. type X__uint128_t = struct {
  294. Flo uint64
  295. Fhi uint64
  296. } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
  297. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  298. type X__float128 = float64 /* <builtin>:47:21 */
  299. var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
  300. // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
  301. //
  302. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  303. //
  304. // This file contains Original Code and/or Modifications of Original Code
  305. // as defined in and that are subject to the Apple Public Source License
  306. // Version 2.0 (the 'License'). You may not use this file except in
  307. // compliance with the License. The rights granted to you under the License
  308. // may not be used to create, or enable the creation or redistribution of,
  309. // unlawful or unlicensed copies of an Apple operating system, or to
  310. // circumvent, violate, or enable the circumvention or violation of, any
  311. // terms of an Apple operating system software license agreement.
  312. //
  313. // Please obtain a copy of the License at
  314. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  315. //
  316. // The Original Code and all software distributed under the License are
  317. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  318. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  319. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  320. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  321. // Please see the License for the specific language governing rights and
  322. // limitations under the License.
  323. //
  324. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  325. // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  326. // Copyright (c) 1982, 1986, 1991, 1993, 1994
  327. // The Regents of the University of California. All rights reserved.
  328. // (c) UNIX System Laboratories, Inc.
  329. // All or some portions of this file are derived from material licensed
  330. // to the University of California by American Telephone and Telegraph
  331. // Co. or Unix System Laboratories, Inc. and are reproduced herein with
  332. // the permission of UNIX System Laboratories, Inc.
  333. //
  334. // Redistribution and use in source and binary forms, with or without
  335. // modification, are permitted provided that the following conditions
  336. // are met:
  337. // 1. Redistributions of source code must retain the above copyright
  338. // notice, this list of conditions and the following disclaimer.
  339. // 2. Redistributions in binary form must reproduce the above copyright
  340. // notice, this list of conditions and the following disclaimer in the
  341. // documentation and/or other materials provided with the distribution.
  342. // 3. All advertising materials mentioning features or use of this software
  343. // must display the following acknowledgement:
  344. // This product includes software developed by the University of
  345. // California, Berkeley and its contributors.
  346. // 4. Neither the name of the University nor the names of its contributors
  347. // may be used to endorse or promote products derived from this software
  348. // without specific prior written permission.
  349. //
  350. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  351. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  352. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  353. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  354. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  355. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  356. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  357. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  358. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  359. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  360. // SUCH DAMAGE.
  361. //
  362. // @(#)types.h 8.4 (Berkeley) 1/21/94
  363. // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  364. //
  365. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  366. //
  367. // This file contains Original Code and/or Modifications of Original Code
  368. // as defined in and that are subject to the Apple Public Source License
  369. // Version 2.0 (the 'License'). You may not use this file except in
  370. // compliance with the License. The rights granted to you under the License
  371. // may not be used to create, or enable the creation or redistribution of,
  372. // unlawful or unlicensed copies of an Apple operating system, or to
  373. // circumvent, violate, or enable the circumvention or violation of, any
  374. // terms of an Apple operating system software license agreement.
  375. //
  376. // Please obtain a copy of the License at
  377. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  378. //
  379. // The Original Code and all software distributed under the License are
  380. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  381. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  382. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  383. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  384. // Please see the License for the specific language governing rights and
  385. // limitations under the License.
  386. //
  387. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  388. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  389. //
  390. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  391. //
  392. // This file contains Original Code and/or Modifications of Original Code
  393. // as defined in and that are subject to the Apple Public Source License
  394. // Version 2.0 (the 'License'). You may not use this file except in
  395. // compliance with the License. The rights granted to you under the License
  396. // may not be used to create, or enable the creation or redistribution of,
  397. // unlawful or unlicensed copies of an Apple operating system, or to
  398. // circumvent, violate, or enable the circumvention or violation of, any
  399. // terms of an Apple operating system software license agreement.
  400. //
  401. // Please obtain a copy of the License at
  402. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  403. //
  404. // The Original Code and all software distributed under the License are
  405. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  406. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  407. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  408. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  409. // Please see the License for the specific language governing rights and
  410. // limitations under the License.
  411. //
  412. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  413. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  414. // Copyright (c) 1991, 1993
  415. // The Regents of the University of California. All rights reserved.
  416. //
  417. // This code is derived from software contributed to Berkeley by
  418. // Berkeley Software Design, Inc.
  419. //
  420. // Redistribution and use in source and binary forms, with or without
  421. // modification, are permitted provided that the following conditions
  422. // are met:
  423. // 1. Redistributions of source code must retain the above copyright
  424. // notice, this list of conditions and the following disclaimer.
  425. // 2. Redistributions in binary form must reproduce the above copyright
  426. // notice, this list of conditions and the following disclaimer in the
  427. // documentation and/or other materials provided with the distribution.
  428. // 3. All advertising materials mentioning features or use of this software
  429. // must display the following acknowledgement:
  430. // This product includes software developed by the University of
  431. // California, Berkeley and its contributors.
  432. // 4. Neither the name of the University nor the names of its contributors
  433. // may be used to endorse or promote products derived from this software
  434. // without specific prior written permission.
  435. //
  436. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  437. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  438. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  439. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  440. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  441. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  442. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  443. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  444. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  445. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  446. // SUCH DAMAGE.
  447. //
  448. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  449. // This SDK is designed to work with clang and specific versions of
  450. // gcc >= 4.0 with Apple's patch sets
  451. // Compatibility with compilers and environments that don't support compiler
  452. // feature checking function-like macros.
  453. // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
  454. // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
  455. // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
  456. // in between its arguments. __CONCAT can also concatenate double-quoted
  457. // strings produced by the __STRING macro, but this only works with ANSI C.
  458. // In non-ANSI C environments, new programs will want ANSI-only C keywords
  459. // deleted from the program and old programs will want them left alone.
  460. // When using a compiler other than gcc, programs using the ANSI C keywords
  461. // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
  462. // When using "gcc -traditional", we assume that this is the intent; if
  463. // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
  464. // __pure2 can be used for functions that are only a function of their scalar
  465. // arguments (meaning they can't dereference pointers).
  466. //
  467. // __stateful_pure can be used for functions that have no side effects,
  468. // but depend on the state of the memory.
  469. // __unused denotes variables and functions that may not be used, preventing
  470. // the compiler from warning about it if not used.
  471. // __used forces variables and functions to be included even if it appears
  472. // to the compiler that they are not used (and would thust be discarded).
  473. // __cold marks code used for debugging or that is rarely taken
  474. // and tells the compiler to optimize for size and outline code.
  475. // __exported denotes symbols that should be exported even when symbols
  476. // are hidden by default.
  477. // __exported_push/_exported_pop are pragmas used to delimit a range of
  478. // symbols that should be exported even when symbols are hidden by default.
  479. // __deprecated causes the compiler to produce a warning when encountering
  480. // code using the deprecated functionality.
  481. // __deprecated_msg() does the same, and compilers that support it will print
  482. // a message along with the deprecation warning.
  483. // This may require turning on such warning with the -Wdeprecated flag.
  484. // __deprecated_enum_msg() should be used on enums, and compilers that support
  485. // it will print the deprecation warning.
  486. // __kpi_deprecated() specifically indicates deprecation of kernel programming
  487. // interfaces in Kernel.framework used by KEXTs.
  488. // __unavailable causes the compiler to error out when encountering
  489. // code using the tagged function
  490. // Delete pseudo-keywords wherever they are not available or needed.
  491. // We use `__restrict' as a way to define the `restrict' type qualifier
  492. // without disturbing older software that is unaware of C99 keywords.
  493. // Compatibility with compilers and environments that don't support the
  494. // nullability feature.
  495. // __disable_tail_calls causes the compiler to not perform tail call
  496. // optimization inside the marked function.
  497. // __not_tail_called causes the compiler to prevent tail call optimization
  498. // on statically bound calls to the function. It has no effect on indirect
  499. // calls. Virtual functions, objective-c methods, and functions marked as
  500. // "always_inline" cannot be marked as __not_tail_called.
  501. // __result_use_check warns callers of a function that not using the function
  502. // return value is a bug, i.e. dismissing malloc() return value results in a
  503. // memory leak.
  504. // __swift_unavailable causes the compiler to mark a symbol as specifically
  505. // unavailable in Swift, regardless of any other availability in C.
  506. // __abortlike is the attribute to put on functions like abort() that are
  507. // typically used to mark assertions. These optimize the codegen
  508. // for outlining while still maintaining debugability.
  509. // Declaring inline functions within headers is error-prone due to differences
  510. // across various versions of the C language and extensions. __header_inline
  511. // can be used to declare inline functions within system headers. In cases
  512. // where you want to force inlining instead of letting the compiler make
  513. // the decision, you can use __header_always_inline.
  514. //
  515. // Be aware that using inline for functions which compilers may also provide
  516. // builtins can behave differently under various compilers. If you intend to
  517. // provide an inline version of such a function, you may want to use a macro
  518. // instead.
  519. //
  520. // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
  521. // support c99 inline in some cases:
  522. // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
  523. // Compiler-dependent macros that bracket portions of code where the
  524. // "-Wunreachable-code" warning should be ignored. Please use sparingly.
  525. // Compiler-dependent macros to declare that functions take printf-like
  526. // or scanf-like arguments. They are null except for versions of gcc
  527. // that are known to support the features properly. Functions declared
  528. // with these attributes will cause compilation warnings if there is a
  529. // mismatch between the format string and subsequent function parameter
  530. // types.
  531. // Source compatibility only, ID string not emitted in object file
  532. // __alloc_size can be used to label function arguments that represent the
  533. // size of memory that the function allocates and returns. The one-argument
  534. // form labels a single argument that gives the allocation size (where the
  535. // arguments are numbered from 1):
  536. //
  537. // void *malloc(size_t __size) __alloc_size(1);
  538. //
  539. // The two-argument form handles the case where the size is calculated as the
  540. // product of two arguments:
  541. //
  542. // void *calloc(size_t __count, size_t __size) __alloc_size(1,2);
  543. // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
  544. //
  545. // DEFAULT By default newly complied code will get POSIX APIs plus
  546. // Apple API extensions in scope.
  547. //
  548. // Most users will use this compilation environment to avoid
  549. // behavioral differences between 32 and 64 bit code.
  550. //
  551. // LEGACY Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
  552. // API extensions in scope.
  553. //
  554. // This is generally equivalent to the Tiger release compilation
  555. // environment, except that it cannot be applied to 64 bit code;
  556. // its use is discouraged.
  557. //
  558. // We expect this environment to be deprecated in the future.
  559. //
  560. // STRICT Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
  561. // available APIs to exactly the set of APIs defined by the
  562. // corresponding standard, based on the value defined.
  563. //
  564. // A correct, portable definition for _POSIX_C_SOURCE is 200112L.
  565. // A correct, portable definition for _XOPEN_SOURCE is 600L.
  566. //
  567. // Apple API extensions are not visible in this environment,
  568. // which can cause Apple specific code to fail to compile,
  569. // or behave incorrectly if prototypes are not in scope or
  570. // warnings about missing prototypes are not enabled or ignored.
  571. //
  572. // In any compilation environment, for correct symbol resolution to occur,
  573. // function prototypes must be in scope. It is recommended that all Apple
  574. // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
  575. // compiler flags to their projects to be warned when a function is being
  576. // used without a prototype in scope.
  577. // These settings are particular to each product.
  578. // Platform: MacOSX
  579. // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
  580. // legacy code to use the old symbol, thus maintaining binary compatibility
  581. // while new code can use a standards compliant version of the same function.
  582. //
  583. // __DARWIN_ALIAS is used by itself if the function signature has not
  584. // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
  585. // if the signature has changed. Because the __LP64__ environment
  586. // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
  587. // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
  588. //
  589. // As a special case, when XCode is used to target a specific version of the
  590. // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  591. // will be defined by the compiler, with the digits representing major version
  592. // time 100 + minor version times 10 (e.g. 10.5 := 1050). If we are targeting
  593. // pre-10.5, and it is the default compilation environment, revert the
  594. // compilation environment to pre-__DARWIN_UNIX03.
  595. // symbol suffixes used for symbol versioning
  596. // symbol versioning macros
  597. // symbol release macros
  598. // Copyright (c) 2010 Apple Inc. All rights reserved.
  599. //
  600. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  601. //
  602. // This file contains Original Code and/or Modifications of Original Code
  603. // as defined in and that are subject to the Apple Public Source License
  604. // Version 2.0 (the 'License'). You may not use this file except in
  605. // compliance with the License. The rights granted to you under the License
  606. // may not be used to create, or enable the creation or redistribution of,
  607. // unlawful or unlicensed copies of an Apple operating system, or to
  608. // circumvent, violate, or enable the circumvention or violation of, any
  609. // terms of an Apple operating system software license agreement.
  610. //
  611. // Please obtain a copy of the License at
  612. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  613. //
  614. // The Original Code and all software distributed under the License are
  615. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  616. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  617. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  618. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  619. // Please see the License for the specific language governing rights and
  620. // limitations under the License.
  621. //
  622. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  623. // POSIX.1 requires that the macros we test be defined before any standard
  624. // header file is included. This permits us to convert values for feature
  625. // testing, as necessary, using only _POSIX_C_SOURCE.
  626. //
  627. // Here's a quick run-down of the versions:
  628. // defined(_POSIX_SOURCE) 1003.1-1988
  629. // _POSIX_C_SOURCE == 1L 1003.1-1990
  630. // _POSIX_C_SOURCE == 2L 1003.2-1992 C Language Binding Option
  631. // _POSIX_C_SOURCE == 199309L 1003.1b-1993
  632. // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995,
  633. // and the omnibus ISO/IEC 9945-1: 1996
  634. // _POSIX_C_SOURCE == 200112L 1003.1-2001
  635. // _POSIX_C_SOURCE == 200809L 1003.1-2008
  636. //
  637. // In addition, the X/Open Portability Guide, which is now the Single UNIX
  638. // Specification, defines a feature-test macro which indicates the version of
  639. // that specification, and which subsumes _POSIX_C_SOURCE.
  640. // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
  641. // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
  642. // Deal with various X/Open Portability Guides and Single UNIX Spec.
  643. // Deal with all versions of POSIX. The ordering relative to the tests above is
  644. // important.
  645. // POSIX C deprecation macros
  646. // Copyright (c) 2010 Apple Inc. All rights reserved.
  647. //
  648. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  649. //
  650. // This file contains Original Code and/or Modifications of Original Code
  651. // as defined in and that are subject to the Apple Public Source License
  652. // Version 2.0 (the 'License'). You may not use this file except in
  653. // compliance with the License. The rights granted to you under the License
  654. // may not be used to create, or enable the creation or redistribution of,
  655. // unlawful or unlicensed copies of an Apple operating system, or to
  656. // circumvent, violate, or enable the circumvention or violation of, any
  657. // terms of an Apple operating system software license agreement.
  658. //
  659. // Please obtain a copy of the License at
  660. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  661. //
  662. // The Original Code and all software distributed under the License are
  663. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  664. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  665. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  666. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  667. // Please see the License for the specific language governing rights and
  668. // limitations under the License.
  669. //
  670. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  671. // Set a single macro which will always be defined and can be used to determine
  672. // the appropriate namespace. For POSIX, these values will correspond to
  673. // _POSIX_C_SOURCE value. Currently there are two additional levels corresponding
  674. // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
  675. // If the developer has neither requested a strict language mode nor a version
  676. // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
  677. // of __DARWIN_C_FULL.
  678. // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
  679. // c99 still want long longs. While not perfect, we allow long longs for
  680. // g++.
  681. // ****************************************
  682. //
  683. // Public darwin-specific feature macros
  684. //
  685. // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
  686. // structures modified for 64-bit inodes (like struct stat) will be used.
  687. // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
  688. // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
  689. // (and non-zero). There is no struct stat64 either, as the regular
  690. // struct stat will already be the 64-bit version.
  691. // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
  692. // in 10.5 exists; no pre-10.5 variants are available.
  693. // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
  694. // are available (the legacy BSD APIs are not available)
  695. // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
  696. // and specifies the conformance level (3 is SUSv3)
  697. // This macro casts away the qualifier from the variable
  698. //
  699. // Note: use at your own risk, removing qualifiers can result in
  700. // catastrophic run-time failures.
  701. // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
  702. // used from other compilation units, but not other libraries or executables.
  703. // We intentionally define to nothing pointer attributes which do not have an
  704. // impact on the ABI. __indexable and __bidi_indexable are not defined because
  705. // of the ABI incompatibility that makes the diagnostic preferable.
  706. // Similarly, we intentionally define to nothing the
  707. // __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable
  708. // macros because they do not lead to an ABI incompatibility. However, we do not
  709. // define the indexable and unsafe_indexable ones because the diagnostic is
  710. // better than the silent ABI break.
  711. // __unsafe_forge intrinsics are defined as regular C casts.
  712. // decay operates normally; attribute is meaningless without pointer checks.
  713. // Architecture validation for current SDK
  714. // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
  715. //
  716. // This provides more advanced type checking on compilers supporting
  717. // the proper extensions, even in C.
  718. // Machine type dependent parameters.
  719. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  720. //
  721. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  722. //
  723. // This file contains Original Code and/or Modifications of Original Code
  724. // as defined in and that are subject to the Apple Public Source License
  725. // Version 2.0 (the 'License'). You may not use this file except in
  726. // compliance with the License. The rights granted to you under the License
  727. // may not be used to create, or enable the creation or redistribution of,
  728. // unlawful or unlicensed copies of an Apple operating system, or to
  729. // circumvent, violate, or enable the circumvention or violation of, any
  730. // terms of an Apple operating system software license agreement.
  731. //
  732. // Please obtain a copy of the License at
  733. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  734. //
  735. // The Original Code and all software distributed under the License are
  736. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  737. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  738. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  739. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  740. // Please see the License for the specific language governing rights and
  741. // limitations under the License.
  742. //
  743. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  744. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  745. // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
  746. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  747. // Copyright (c) 1990, 1993
  748. // The Regents of the University of California. All rights reserved.
  749. //
  750. // Redistribution and use in source and binary forms, with or without
  751. // modification, are permitted provided that the following conditions
  752. // are met:
  753. // 1. Redistributions of source code must retain the above copyright
  754. // notice, this list of conditions and the following disclaimer.
  755. // 2. Redistributions in binary form must reproduce the above copyright
  756. // notice, this list of conditions and the following disclaimer in the
  757. // documentation and/or other materials provided with the distribution.
  758. // 3. All advertising materials mentioning features or use of this software
  759. // must display the following acknowledgement:
  760. // This product includes software developed by the University of
  761. // California, Berkeley and its contributors.
  762. // 4. Neither the name of the University nor the names of its contributors
  763. // may be used to endorse or promote products derived from this software
  764. // without specific prior written permission.
  765. //
  766. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  767. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  768. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  769. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  770. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  771. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  772. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  773. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  774. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  775. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  776. // SUCH DAMAGE.
  777. //
  778. // @(#)types.h 8.3 (Berkeley) 1/5/94
  779. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  780. // This header file contains integer types. It's intended to also contain
  781. // flotaing point and other arithmetic types, as needed, later.
  782. type X__int8_t = int8 /* _types.h:15:33 */
  783. type X__uint8_t = uint8 /* _types.h:19:33 */
  784. type X__int16_t = int16 /* _types.h:20:33 */
  785. type X__uint16_t = uint16 /* _types.h:21:33 */
  786. type X__int32_t = int32 /* _types.h:22:33 */
  787. type X__uint32_t = uint32 /* _types.h:23:33 */
  788. type X__int64_t = int64 /* _types.h:24:33 */
  789. type X__uint64_t = uint64 /* _types.h:25:33 */
  790. type X__darwin_intptr_t = int64 /* _types.h:27:33 */
  791. type X__darwin_natural_t = uint32 /* _types.h:28:33 */
  792. // The rune type below is declared to be an ``int'' instead of the more natural
  793. // ``unsigned long'' or ``long''. Two things are happening here. It is not
  794. // unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
  795. // it looks like 10646 will be a 31 bit standard. This means that if your
  796. // ints cannot hold 32 bits, you will be in trouble. The reason an int was
  797. // chosen over a long is that the is*() and to*() routines take ints (says
  798. // ANSI C), but they use __darwin_ct_rune_t instead of int. By changing it
  799. // here, you lose a bit of ANSI conformance, but your programs will still
  800. // work.
  801. //
  802. // NOTE: rune_t is not covered by ANSI nor other standards, and should not
  803. // be instantiated outside of lib/libc/locale. Use wchar_t. wchar_t and
  804. // rune_t must be the same type. Also wint_t must be no narrower than
  805. // wchar_t, and should also be able to hold all members of the largest
  806. // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
  807. type X__darwin_ct_rune_t = int32 /* _types.h:48:33 */ // ct_rune_t
  808. // mbstate_t is an opaque object to keep conversion state, during multibyte
  809. // stream conversions. The content must not be referenced by user programs.
  810. type X__mbstate_t = struct {
  811. F__ccgo_pad1 [0]uint64
  812. F__mbstate8 [128]int8
  813. } /* _types.h:57:3 */
  814. type X__darwin_mbstate_t = X__mbstate_t /* _types.h:59:33 */ // mbstate_t
  815. type X__darwin_ptrdiff_t = int64 /* _types.h:62:33 */ // ptr1 - ptr2
  816. type X__darwin_size_t = uint64 /* _types.h:70:33 */ // sizeof()
  817. type X__darwin_va_list = X__builtin_va_list /* _types.h:76:33 */ // va_list
  818. type X__darwin_wchar_t = int32 /* _types.h:82:33 */ // wchar_t
  819. type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:87:33 */ // rune_t
  820. type X__darwin_wint_t = int32 /* _types.h:90:33 */ // wint_t
  821. type X__darwin_clock_t = uint64 /* _types.h:95:33 */ // clock()
  822. type X__darwin_socklen_t = X__uint32_t /* _types.h:96:33 */ // socklen_t (duh)
  823. type X__darwin_ssize_t = int64 /* _types.h:97:33 */ // byte count or error
  824. type X__darwin_time_t = int64 /* _types.h:98:33 */ // time()
  825. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  826. //
  827. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  828. //
  829. // This file contains Original Code and/or Modifications of Original Code
  830. // as defined in and that are subject to the Apple Public Source License
  831. // Version 2.0 (the 'License'). You may not use this file except in
  832. // compliance with the License. The rights granted to you under the License
  833. // may not be used to create, or enable the creation or redistribution of,
  834. // unlawful or unlicensed copies of an Apple operating system, or to
  835. // circumvent, violate, or enable the circumvention or violation of, any
  836. // terms of an Apple operating system software license agreement.
  837. //
  838. // Please obtain a copy of the License at
  839. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  840. //
  841. // The Original Code and all software distributed under the License are
  842. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  843. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  844. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  845. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  846. // Please see the License for the specific language governing rights and
  847. // limitations under the License.
  848. //
  849. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  850. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  851. // Copyright (c) 1991, 1993
  852. // The Regents of the University of California. All rights reserved.
  853. //
  854. // This code is derived from software contributed to Berkeley by
  855. // Berkeley Software Design, Inc.
  856. //
  857. // Redistribution and use in source and binary forms, with or without
  858. // modification, are permitted provided that the following conditions
  859. // are met:
  860. // 1. Redistributions of source code must retain the above copyright
  861. // notice, this list of conditions and the following disclaimer.
  862. // 2. Redistributions in binary form must reproduce the above copyright
  863. // notice, this list of conditions and the following disclaimer in the
  864. // documentation and/or other materials provided with the distribution.
  865. // 3. All advertising materials mentioning features or use of this software
  866. // must display the following acknowledgement:
  867. // This product includes software developed by the University of
  868. // California, Berkeley and its contributors.
  869. // 4. Neither the name of the University nor the names of its contributors
  870. // may be used to endorse or promote products derived from this software
  871. // without specific prior written permission.
  872. //
  873. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  874. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  875. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  876. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  877. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  878. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  879. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  880. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  881. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  882. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  883. // SUCH DAMAGE.
  884. //
  885. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  886. // Basic integral types. Omit the typedef if
  887. // not possible for a machine/compiler combination.
  888. // Copyright (c) 2012 Apple Inc. All rights reserved.
  889. //
  890. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  891. //
  892. // This file contains Original Code and/or Modifications of Original Code
  893. // as defined in and that are subject to the Apple Public Source License
  894. // Version 2.0 (the 'License'). You may not use this file except in
  895. // compliance with the License. The rights granted to you under the License
  896. // may not be used to create, or enable the creation or redistribution of,
  897. // unlawful or unlicensed copies of an Apple operating system, or to
  898. // circumvent, violate, or enable the circumvention or violation of, any
  899. // terms of an Apple operating system software license agreement.
  900. //
  901. // Please obtain a copy of the License at
  902. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  903. //
  904. // The Original Code and all software distributed under the License are
  905. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  906. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  907. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  908. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  909. // Please see the License for the specific language governing rights and
  910. // limitations under the License.
  911. //
  912. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  913. type Int8_t = int8 /* _int8_t.h:30:31 */
  914. // Copyright (c) 2012 Apple Inc. All rights reserved.
  915. //
  916. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  917. //
  918. // This file contains Original Code and/or Modifications of Original Code
  919. // as defined in and that are subject to the Apple Public Source License
  920. // Version 2.0 (the 'License'). You may not use this file except in
  921. // compliance with the License. The rights granted to you under the License
  922. // may not be used to create, or enable the creation or redistribution of,
  923. // unlawful or unlicensed copies of an Apple operating system, or to
  924. // circumvent, violate, or enable the circumvention or violation of, any
  925. // terms of an Apple operating system software license agreement.
  926. //
  927. // Please obtain a copy of the License at
  928. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  929. //
  930. // The Original Code and all software distributed under the License are
  931. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  932. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  933. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  934. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  935. // Please see the License for the specific language governing rights and
  936. // limitations under the License.
  937. //
  938. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  939. type Int16_t = int16 /* _int16_t.h:30:33 */
  940. // Copyright (c) 2012 Apple Inc. All rights reserved.
  941. //
  942. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  943. //
  944. // This file contains Original Code and/or Modifications of Original Code
  945. // as defined in and that are subject to the Apple Public Source License
  946. // Version 2.0 (the 'License'). You may not use this file except in
  947. // compliance with the License. The rights granted to you under the License
  948. // may not be used to create, or enable the creation or redistribution of,
  949. // unlawful or unlicensed copies of an Apple operating system, or to
  950. // circumvent, violate, or enable the circumvention or violation of, any
  951. // terms of an Apple operating system software license agreement.
  952. //
  953. // Please obtain a copy of the License at
  954. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  955. //
  956. // The Original Code and all software distributed under the License are
  957. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  958. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  959. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  960. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  961. // Please see the License for the specific language governing rights and
  962. // limitations under the License.
  963. //
  964. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  965. type Int32_t = int32 /* _int32_t.h:30:33 */
  966. // Copyright (c) 2012 Apple Inc. All rights reserved.
  967. //
  968. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  969. //
  970. // This file contains Original Code and/or Modifications of Original Code
  971. // as defined in and that are subject to the Apple Public Source License
  972. // Version 2.0 (the 'License'). You may not use this file except in
  973. // compliance with the License. The rights granted to you under the License
  974. // may not be used to create, or enable the creation or redistribution of,
  975. // unlawful or unlicensed copies of an Apple operating system, or to
  976. // circumvent, violate, or enable the circumvention or violation of, any
  977. // terms of an Apple operating system software license agreement.
  978. //
  979. // Please obtain a copy of the License at
  980. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  981. //
  982. // The Original Code and all software distributed under the License are
  983. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  984. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  985. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  986. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  987. // Please see the License for the specific language governing rights and
  988. // limitations under the License.
  989. //
  990. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  991. type Int64_t = int64 /* _int64_t.h:30:33 */
  992. // Copyright (c) 2016 Apple Inc. All rights reserved.
  993. //
  994. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  995. //
  996. // This file contains Original Code and/or Modifications of Original Code
  997. // as defined in and that are subject to the Apple Public Source License
  998. // Version 2.0 (the 'License'). You may not use this file except in
  999. // compliance with the License. The rights granted to you under the License
  1000. // may not be used to create, or enable the creation or redistribution of,
  1001. // unlawful or unlicensed copies of an Apple operating system, or to
  1002. // circumvent, violate, or enable the circumvention or violation of, any
  1003. // terms of an Apple operating system software license agreement.
  1004. //
  1005. // Please obtain a copy of the License at
  1006. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1007. //
  1008. // The Original Code and all software distributed under the License are
  1009. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1010. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1011. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1012. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1013. // Please see the License for the specific language governing rights and
  1014. // limitations under the License.
  1015. //
  1016. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1017. type U_int8_t = uint8 /* _u_int8_t.h:30:33 */
  1018. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1019. //
  1020. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1021. //
  1022. // This file contains Original Code and/or Modifications of Original Code
  1023. // as defined in and that are subject to the Apple Public Source License
  1024. // Version 2.0 (the 'License'). You may not use this file except in
  1025. // compliance with the License. The rights granted to you under the License
  1026. // may not be used to create, or enable the creation or redistribution of,
  1027. // unlawful or unlicensed copies of an Apple operating system, or to
  1028. // circumvent, violate, or enable the circumvention or violation of, any
  1029. // terms of an Apple operating system software license agreement.
  1030. //
  1031. // Please obtain a copy of the License at
  1032. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1033. //
  1034. // The Original Code and all software distributed under the License are
  1035. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1036. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1037. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1038. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1039. // Please see the License for the specific language governing rights and
  1040. // limitations under the License.
  1041. //
  1042. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1043. type U_int16_t = uint16 /* _u_int16_t.h:30:41 */
  1044. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1045. //
  1046. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1047. //
  1048. // This file contains Original Code and/or Modifications of Original Code
  1049. // as defined in and that are subject to the Apple Public Source License
  1050. // Version 2.0 (the 'License'). You may not use this file except in
  1051. // compliance with the License. The rights granted to you under the License
  1052. // may not be used to create, or enable the creation or redistribution of,
  1053. // unlawful or unlicensed copies of an Apple operating system, or to
  1054. // circumvent, violate, or enable the circumvention or violation of, any
  1055. // terms of an Apple operating system software license agreement.
  1056. //
  1057. // Please obtain a copy of the License at
  1058. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1059. //
  1060. // The Original Code and all software distributed under the License are
  1061. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1062. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1063. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1064. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1065. // Please see the License for the specific language governing rights and
  1066. // limitations under the License.
  1067. //
  1068. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1069. type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
  1070. // Copyright (c) 2012 Apple Inc. All rights reserved.
  1071. //
  1072. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1073. //
  1074. // This file contains Original Code and/or Modifications of Original Code
  1075. // as defined in and that are subject to the Apple Public Source License
  1076. // Version 2.0 (the 'License'). You may not use this file except in
  1077. // compliance with the License. The rights granted to you under the License
  1078. // may not be used to create, or enable the creation or redistribution of,
  1079. // unlawful or unlicensed copies of an Apple operating system, or to
  1080. // circumvent, violate, or enable the circumvention or violation of, any
  1081. // terms of an Apple operating system software license agreement.
  1082. //
  1083. // Please obtain a copy of the License at
  1084. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1085. //
  1086. // The Original Code and all software distributed under the License are
  1087. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1088. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1089. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1090. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1091. // Please see the License for the specific language governing rights and
  1092. // limitations under the License.
  1093. //
  1094. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1095. type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
  1096. type Register_t = Int64_t /* types.h:66:33 */
  1097. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1098. //
  1099. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1100. //
  1101. // This file contains Original Code and/or Modifications of Original Code
  1102. // as defined in and that are subject to the Apple Public Source License
  1103. // Version 2.0 (the 'License'). You may not use this file except in
  1104. // compliance with the License. The rights granted to you under the License
  1105. // may not be used to create, or enable the creation or redistribution of,
  1106. // unlawful or unlicensed copies of an Apple operating system, or to
  1107. // circumvent, violate, or enable the circumvention or violation of, any
  1108. // terms of an Apple operating system software license agreement.
  1109. //
  1110. // Please obtain a copy of the License at
  1111. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1112. //
  1113. // The Original Code and all software distributed under the License are
  1114. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1115. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1116. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1117. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1118. // Please see the License for the specific language governing rights and
  1119. // limitations under the License.
  1120. //
  1121. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1122. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1123. //
  1124. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1125. //
  1126. // This file contains Original Code and/or Modifications of Original Code
  1127. // as defined in and that are subject to the Apple Public Source License
  1128. // Version 2.0 (the 'License'). You may not use this file except in
  1129. // compliance with the License. The rights granted to you under the License
  1130. // may not be used to create, or enable the creation or redistribution of,
  1131. // unlawful or unlicensed copies of an Apple operating system, or to
  1132. // circumvent, violate, or enable the circumvention or violation of, any
  1133. // terms of an Apple operating system software license agreement.
  1134. //
  1135. // Please obtain a copy of the License at
  1136. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1137. //
  1138. // The Original Code and all software distributed under the License are
  1139. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1140. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1141. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1142. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1143. // Please see the License for the specific language governing rights and
  1144. // limitations under the License.
  1145. //
  1146. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1147. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1148. type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */
  1149. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1150. //
  1151. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1152. //
  1153. // This file contains Original Code and/or Modifications of Original Code
  1154. // as defined in and that are subject to the Apple Public Source License
  1155. // Version 2.0 (the 'License'). You may not use this file except in
  1156. // compliance with the License. The rights granted to you under the License
  1157. // may not be used to create, or enable the creation or redistribution of,
  1158. // unlawful or unlicensed copies of an Apple operating system, or to
  1159. // circumvent, violate, or enable the circumvention or violation of, any
  1160. // terms of an Apple operating system software license agreement.
  1161. //
  1162. // Please obtain a copy of the License at
  1163. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1164. //
  1165. // The Original Code and all software distributed under the License are
  1166. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1167. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1168. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1169. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1170. // Please see the License for the specific language governing rights and
  1171. // limitations under the License.
  1172. //
  1173. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1174. type Uintptr_t = uint64 /* _uintptr_t.h:34:33 */
  1175. // These types are used for reserving the largest possible size.
  1176. type User_addr_t = U_int64_t /* types.h:77:33 */
  1177. type User_size_t = U_int64_t /* types.h:78:33 */
  1178. type User_ssize_t = Int64_t /* types.h:79:33 */
  1179. type User_long_t = Int64_t /* types.h:80:33 */
  1180. type User_ulong_t = U_int64_t /* types.h:81:33 */
  1181. type User_time_t = Int64_t /* types.h:82:33 */
  1182. type User_off_t = Int64_t /* types.h:83:33 */
  1183. // This defines the size of syscall arguments after copying into the kernel:
  1184. type Syscall_arg_t = U_int64_t /* types.h:104:33 */
  1185. // Copyright (c) 2003-2007 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 (c) 2000-2018 Apple Inc. All rights reserved.
  1211. //
  1212. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1213. //
  1214. // This file contains Original Code and/or Modifications of Original Code
  1215. // as defined in and that are subject to the Apple Public Source License
  1216. // Version 2.0 (the 'License'). You may not use this file except in
  1217. // compliance with the License. The rights granted to you under the License
  1218. // may not be used to create, or enable the creation or redistribution of,
  1219. // unlawful or unlicensed copies of an Apple operating system, or to
  1220. // circumvent, violate, or enable the circumvention or violation of, any
  1221. // terms of an Apple operating system software license agreement.
  1222. //
  1223. // Please obtain a copy of the License at
  1224. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1225. //
  1226. // The Original Code and all software distributed under the License are
  1227. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1228. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1229. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1230. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1231. // Please see the License for the specific language governing rights and
  1232. // limitations under the License.
  1233. //
  1234. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1235. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1236. // Copyright (c) 1991, 1993
  1237. // The Regents of the University of California. All rights reserved.
  1238. //
  1239. // This code is derived from software contributed to Berkeley by
  1240. // Berkeley Software Design, Inc.
  1241. //
  1242. // Redistribution and use in source and binary forms, with or without
  1243. // modification, are permitted provided that the following conditions
  1244. // are met:
  1245. // 1. Redistributions of source code must retain the above copyright
  1246. // notice, this list of conditions and the following disclaimer.
  1247. // 2. Redistributions in binary form must reproduce the above copyright
  1248. // notice, this list of conditions and the following disclaimer in the
  1249. // documentation and/or other materials provided with the distribution.
  1250. // 3. All advertising materials mentioning features or use of this software
  1251. // must display the following acknowledgement:
  1252. // This product includes software developed by the University of
  1253. // California, Berkeley and its contributors.
  1254. // 4. Neither the name of the University nor the names of its contributors
  1255. // may be used to endorse or promote products derived from this software
  1256. // without specific prior written permission.
  1257. //
  1258. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1259. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1260. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1261. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1262. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1263. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1264. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1265. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1266. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1267. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1268. // SUCH DAMAGE.
  1269. //
  1270. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1271. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1272. //
  1273. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1274. //
  1275. // This file contains Original Code and/or Modifications of Original Code
  1276. // as defined in and that are subject to the Apple Public Source License
  1277. // Version 2.0 (the 'License'). You may not use this file except in
  1278. // compliance with the License. The rights granted to you under the License
  1279. // may not be used to create, or enable the creation or redistribution of,
  1280. // unlawful or unlicensed copies of an Apple operating system, or to
  1281. // circumvent, violate, or enable the circumvention or violation of, any
  1282. // terms of an Apple operating system software license agreement.
  1283. //
  1284. // Please obtain a copy of the License at
  1285. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1286. //
  1287. // The Original Code and all software distributed under the License are
  1288. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1289. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1290. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1291. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1292. // Please see the License for the specific language governing rights and
  1293. // limitations under the License.
  1294. //
  1295. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1296. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1297. // Type definitions; takes common type definitions that must be used
  1298. // in multiple header files due to [XSI], removes them from the system
  1299. // space, and puts them in the implementation space.
  1300. type X__darwin_blkcnt_t = X__int64_t /* _types.h:55:25 */ // total blocks
  1301. type X__darwin_blksize_t = X__int32_t /* _types.h:56:25 */ // preferred block size
  1302. type X__darwin_dev_t = X__int32_t /* _types.h:57:25 */ // dev_t
  1303. type X__darwin_fsblkcnt_t = uint32 /* _types.h:58:25 */ // Used by statvfs and fstatvfs
  1304. type X__darwin_fsfilcnt_t = uint32 /* _types.h:59:25 */ // Used by statvfs and fstatvfs
  1305. type X__darwin_gid_t = X__uint32_t /* _types.h:60:25 */ // [???] process and group IDs
  1306. type X__darwin_id_t = X__uint32_t /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
  1307. type X__darwin_ino64_t = X__uint64_t /* _types.h:62:25 */ // [???] Used for 64 bit inodes
  1308. type X__darwin_ino_t = X__darwin_ino64_t /* _types.h:64:26 */ // [???] Used for inodes
  1309. type X__darwin_mach_port_name_t = X__darwin_natural_t /* _types.h:68:28 */ // Used by mach
  1310. type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
  1311. type X__darwin_mode_t = X__uint16_t /* _types.h:70:25 */ // [???] Some file attributes
  1312. type X__darwin_off_t = X__int64_t /* _types.h:71:25 */ // [???] Used for file sizes
  1313. type X__darwin_pid_t = X__int32_t /* _types.h:72:25 */ // [???] process and group IDs
  1314. type X__darwin_sigset_t = X__uint32_t /* _types.h:73:25 */ // [???] signal set
  1315. type X__darwin_suseconds_t = X__int32_t /* _types.h:74:25 */ // [???] microseconds
  1316. type X__darwin_uid_t = X__uint32_t /* _types.h:75:25 */ // [???] user IDs
  1317. type X__darwin_useconds_t = X__uint32_t /* _types.h:76:25 */ // [???] microseconds
  1318. type X__darwin_uuid_t = [16]uint8 /* _types.h:77:25 */
  1319. type X__darwin_uuid_string_t = [37]int8 /* _types.h:78:17 */
  1320. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  1321. //
  1322. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1323. //
  1324. // This file contains Original Code and/or Modifications of Original Code
  1325. // as defined in and that are subject to the Apple Public Source License
  1326. // Version 2.0 (the 'License'). You may not use this file except in
  1327. // compliance with the License. The rights granted to you under the License
  1328. // may not be used to create, or enable the creation or redistribution of,
  1329. // unlawful or unlicensed copies of an Apple operating system, or to
  1330. // circumvent, violate, or enable the circumvention or violation of, any
  1331. // terms of an Apple operating system software license agreement.
  1332. //
  1333. // Please obtain a copy of the License at
  1334. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1335. //
  1336. // The Original Code and all software distributed under the License are
  1337. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1338. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1339. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1340. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1341. // Please see the License for the specific language governing rights and
  1342. // limitations under the License.
  1343. //
  1344. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1345. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1346. //
  1347. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1348. //
  1349. // This file contains Original Code and/or Modifications of Original Code
  1350. // as defined in and that are subject to the Apple Public Source License
  1351. // Version 2.0 (the 'License'). You may not use this file except in
  1352. // compliance with the License. The rights granted to you under the License
  1353. // may not be used to create, or enable the creation or redistribution of,
  1354. // unlawful or unlicensed copies of an Apple operating system, or to
  1355. // circumvent, violate, or enable the circumvention or violation of, any
  1356. // terms of an Apple operating system software license agreement.
  1357. //
  1358. // Please obtain a copy of the License at
  1359. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1360. //
  1361. // The Original Code and all software distributed under the License are
  1362. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1363. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1364. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1365. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1366. // Please see the License for the specific language governing rights and
  1367. // limitations under the License.
  1368. //
  1369. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1370. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1371. // Copyright (c) 1991, 1993
  1372. // The Regents of the University of California. All rights reserved.
  1373. //
  1374. // This code is derived from software contributed to Berkeley by
  1375. // Berkeley Software Design, Inc.
  1376. //
  1377. // Redistribution and use in source and binary forms, with or without
  1378. // modification, are permitted provided that the following conditions
  1379. // are met:
  1380. // 1. Redistributions of source code must retain the above copyright
  1381. // notice, this list of conditions and the following disclaimer.
  1382. // 2. Redistributions in binary form must reproduce the above copyright
  1383. // notice, this list of conditions and the following disclaimer in the
  1384. // documentation and/or other materials provided with the distribution.
  1385. // 3. All advertising materials mentioning features or use of this software
  1386. // must display the following acknowledgement:
  1387. // This product includes software developed by the University of
  1388. // California, Berkeley and its contributors.
  1389. // 4. Neither the name of the University nor the names of its contributors
  1390. // may be used to endorse or promote products derived from this software
  1391. // without specific prior written permission.
  1392. //
  1393. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1394. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1395. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1396. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1397. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1398. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1399. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1400. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1401. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1402. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1403. // SUCH DAMAGE.
  1404. //
  1405. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1406. // pthread opaque structures
  1407. type X__darwin_pthread_handler_rec = struct {
  1408. F__routine uintptr
  1409. F__arg uintptr
  1410. F__next uintptr
  1411. } /* _pthread_types.h:57:1 */
  1412. type X_opaque_pthread_attr_t = struct {
  1413. F__sig int64
  1414. F__opaque [56]int8
  1415. } /* _pthread_types.h:63:1 */
  1416. type X_opaque_pthread_cond_t = struct {
  1417. F__sig int64
  1418. F__opaque [40]int8
  1419. } /* _pthread_types.h:68:1 */
  1420. type X_opaque_pthread_condattr_t = struct {
  1421. F__sig int64
  1422. F__opaque [8]int8
  1423. } /* _pthread_types.h:73:1 */
  1424. type X_opaque_pthread_mutex_t = struct {
  1425. F__sig int64
  1426. F__opaque [56]int8
  1427. } /* _pthread_types.h:78:1 */
  1428. type X_opaque_pthread_mutexattr_t = struct {
  1429. F__sig int64
  1430. F__opaque [8]int8
  1431. } /* _pthread_types.h:83:1 */
  1432. type X_opaque_pthread_once_t = struct {
  1433. F__sig int64
  1434. F__opaque [8]int8
  1435. } /* _pthread_types.h:88:1 */
  1436. type X_opaque_pthread_rwlock_t = struct {
  1437. F__sig int64
  1438. F__opaque [192]int8
  1439. } /* _pthread_types.h:93:1 */
  1440. type X_opaque_pthread_rwlockattr_t = struct {
  1441. F__sig int64
  1442. F__opaque [16]int8
  1443. } /* _pthread_types.h:98:1 */
  1444. type X_opaque_pthread_t = struct {
  1445. F__sig int64
  1446. F__cleanup_stack uintptr
  1447. F__opaque [8176]int8
  1448. } /* _pthread_types.h:103:1 */
  1449. type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t /* _pthread_types.h:109:39 */
  1450. type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t /* _pthread_types.h:110:39 */
  1451. type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t /* _pthread_types.h:111:43 */
  1452. type X__darwin_pthread_key_t = uint64 /* _pthread_types.h:112:23 */
  1453. type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t /* _pthread_types.h:113:40 */
  1454. type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t /* _pthread_types.h:114:44 */
  1455. type X__darwin_pthread_once_t = X_opaque_pthread_once_t /* _pthread_types.h:115:39 */
  1456. type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t /* _pthread_types.h:116:41 */
  1457. type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
  1458. type X__darwin_pthread_t = uintptr /* _pthread_types.h:118:34 */
  1459. type Uint64_t = uint64 /* stdint.h:98:25 */
  1460. type Int_least64_t = Int64_t /* stdint.h:110:25 */
  1461. type Uint_least64_t = Uint64_t /* stdint.h:111:26 */
  1462. type Int_fast64_t = Int64_t /* stdint.h:112:25 */
  1463. type Uint_fast64_t = Uint64_t /* stdint.h:113:26 */
  1464. type Uint32_t = uint32 /* stdint.h:172:25 */
  1465. type Int_least32_t = Int32_t /* stdint.h:184:25 */
  1466. type Uint_least32_t = Uint32_t /* stdint.h:185:26 */
  1467. type Int_fast32_t = Int32_t /* stdint.h:186:25 */
  1468. type Uint_fast32_t = Uint32_t /* stdint.h:187:26 */
  1469. type Uint16_t = uint16 /* stdint.h:207:25 */
  1470. type Int_least16_t = Int16_t /* stdint.h:215:25 */
  1471. type Uint_least16_t = Uint16_t /* stdint.h:216:26 */
  1472. type Int_fast16_t = Int16_t /* stdint.h:217:25 */
  1473. type Uint_fast16_t = Uint16_t /* stdint.h:218:26 */
  1474. type Uint8_t = uint8 /* stdint.h:226:24 */
  1475. type Int_least8_t = Int8_t /* stdint.h:232:24 */
  1476. type Uint_least8_t = Uint8_t /* stdint.h:233:25 */
  1477. type Int_fast8_t = Int8_t /* stdint.h:234:24 */
  1478. type Uint_fast8_t = Uint8_t /* stdint.h:235:25 */
  1479. // prevent glibc sys/types.h from defining conflicting types
  1480. // C99 7.18.1.4 Integer types capable of holding object pointers.
  1481. // C99 7.18.1.5 Greatest-width integer types.
  1482. type Intmax_t = int64 /* stdint.h:262:26 */
  1483. type Uintmax_t = uint64 /* stdint.h:263:26 */
  1484. // Functions for byte reversed loads.
  1485. type X_OSUnalignedU16 = struct{ F__val Uint16_t } /* OSByteOrder.h:64:1 */
  1486. type X_OSUnalignedU32 = struct{ F__val Uint32_t } /* OSByteOrder.h:68:1 */
  1487. type X_OSUnalignedU64 = struct{ F__val Uint64_t } /* OSByteOrder.h:72:1 */
  1488. // Copyright (c) 2017 Apple Inc. All rights reserved.
  1489. //
  1490. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1491. //
  1492. // This file contains Original Code and/or Modifications of Original Code
  1493. // as defined in and that are subject to the Apple Public Source License
  1494. // Version 2.0 (the 'License'). You may not use this file except in
  1495. // compliance with the License. The rights granted to you under the License
  1496. // may not be used to create, or enable the creation or redistribution of,
  1497. // unlawful or unlicensed copies of an Apple operating system, or to
  1498. // circumvent, violate, or enable the circumvention or violation of, any
  1499. // terms of an Apple operating system software license agreement.
  1500. //
  1501. // Please obtain a copy of the License at
  1502. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1503. //
  1504. // The Original Code and all software distributed under the License are
  1505. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1506. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1507. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1508. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1509. // Please see the License for the specific language governing rights and
  1510. // limitations under the License.
  1511. //
  1512. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1513. type U_char = uint8 /* _u_char.h:30:25 */
  1514. // Copyright (c) 2017 Apple Inc. All rights reserved.
  1515. //
  1516. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1517. //
  1518. // This file contains Original Code and/or Modifications of Original Code
  1519. // as defined in and that are subject to the Apple Public Source License
  1520. // Version 2.0 (the 'License'). You may not use this file except in
  1521. // compliance with the License. The rights granted to you under the License
  1522. // may not be used to create, or enable the creation or redistribution of,
  1523. // unlawful or unlicensed copies of an Apple operating system, or to
  1524. // circumvent, violate, or enable the circumvention or violation of, any
  1525. // terms of an Apple operating system software license agreement.
  1526. //
  1527. // Please obtain a copy of the License at
  1528. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1529. //
  1530. // The Original Code and all software distributed under the License are
  1531. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1532. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1533. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1534. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1535. // Please see the License for the specific language governing rights and
  1536. // limitations under the License.
  1537. //
  1538. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1539. type U_short = uint16 /* _u_short.h:30:25 */
  1540. // Copyright (c) 2017 Apple Inc. All rights reserved.
  1541. //
  1542. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1543. //
  1544. // This file contains Original Code and/or Modifications of Original Code
  1545. // as defined in and that are subject to the Apple Public Source License
  1546. // Version 2.0 (the 'License'). You may not use this file except in
  1547. // compliance with the License. The rights granted to you under the License
  1548. // may not be used to create, or enable the creation or redistribution of,
  1549. // unlawful or unlicensed copies of an Apple operating system, or to
  1550. // circumvent, violate, or enable the circumvention or violation of, any
  1551. // terms of an Apple operating system software license agreement.
  1552. //
  1553. // Please obtain a copy of the License at
  1554. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1555. //
  1556. // The Original Code and all software distributed under the License are
  1557. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1558. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1559. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1560. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1561. // Please see the License for the specific language governing rights and
  1562. // limitations under the License.
  1563. //
  1564. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1565. type U_int = uint32 /* _u_int.h:30:25 */
  1566. type U_long = uint64 /* types.h:88:33 */
  1567. type Ushort = uint16 /* types.h:91:33 */ // Sys V compatibility
  1568. type Uint = uint32 /* types.h:92:33 */ // Sys V compatibility
  1569. type U_quad_t = U_int64_t /* types.h:95:33 */ // quads
  1570. type Quad_t = Int64_t /* types.h:96:33 */
  1571. type Qaddr_t = uintptr /* types.h:97:16 */
  1572. // Copyright (c) 2017 Apple Inc. All rights reserved.
  1573. //
  1574. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1575. //
  1576. // This file contains Original Code and/or Modifications of Original Code
  1577. // as defined in and that are subject to the Apple Public Source License
  1578. // Version 2.0 (the 'License'). You may not use this file except in
  1579. // compliance with the License. The rights granted to you under the License
  1580. // may not be used to create, or enable the creation or redistribution of,
  1581. // unlawful or unlicensed copies of an Apple operating system, or to
  1582. // circumvent, violate, or enable the circumvention or violation of, any
  1583. // terms of an Apple operating system software license agreement.
  1584. //
  1585. // Please obtain a copy of the License at
  1586. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1587. //
  1588. // The Original Code and all software distributed under the License are
  1589. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1590. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1591. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1592. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1593. // Please see the License for the specific language governing rights and
  1594. // limitations under the License.
  1595. //
  1596. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1597. type Caddr_t = uintptr /* _caddr_t.h:30:14 */
  1598. type Daddr_t = Int32_t /* types.h:101:33 */ // disk address
  1599. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1600. //
  1601. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1602. //
  1603. // This file contains Original Code and/or Modifications of Original Code
  1604. // as defined in and that are subject to the Apple Public Source License
  1605. // Version 2.0 (the 'License'). You may not use this file except in
  1606. // compliance with the License. The rights granted to you under the License
  1607. // may not be used to create, or enable the creation or redistribution of,
  1608. // unlawful or unlicensed copies of an Apple operating system, or to
  1609. // circumvent, violate, or enable the circumvention or violation of, any
  1610. // terms of an Apple operating system software license agreement.
  1611. //
  1612. // Please obtain a copy of the License at
  1613. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1614. //
  1615. // The Original Code and all software distributed under the License are
  1616. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1617. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1618. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1619. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1620. // Please see the License for the specific language governing rights and
  1621. // limitations under the License.
  1622. //
  1623. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1624. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1625. //
  1626. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1627. //
  1628. // This file contains Original Code and/or Modifications of Original Code
  1629. // as defined in and that are subject to the Apple Public Source License
  1630. // Version 2.0 (the 'License'). You may not use this file except in
  1631. // compliance with the License. The rights granted to you under the License
  1632. // may not be used to create, or enable the creation or redistribution of,
  1633. // unlawful or unlicensed copies of an Apple operating system, or to
  1634. // circumvent, violate, or enable the circumvention or violation of, any
  1635. // terms of an Apple operating system software license agreement.
  1636. //
  1637. // Please obtain a copy of the License at
  1638. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1639. //
  1640. // The Original Code and all software distributed under the License are
  1641. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1642. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1643. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1644. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1645. // Please see the License for the specific language governing rights and
  1646. // limitations under the License.
  1647. //
  1648. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1649. type Dev_t = X__darwin_dev_t /* _dev_t.h:31:31 */ // device number
  1650. type Fixpt_t = U_int32_t /* types.h:105:33 */ // fixed point number
  1651. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1652. //
  1653. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1654. //
  1655. // This file contains Original Code and/or Modifications of Original Code
  1656. // as defined in and that are subject to the Apple Public Source License
  1657. // Version 2.0 (the 'License'). You may not use this file except in
  1658. // compliance with the License. The rights granted to you under the License
  1659. // may not be used to create, or enable the creation or redistribution of,
  1660. // unlawful or unlicensed copies of an Apple operating system, or to
  1661. // circumvent, violate, or enable the circumvention or violation of, any
  1662. // terms of an Apple operating system software license agreement.
  1663. //
  1664. // Please obtain a copy of the License at
  1665. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1666. //
  1667. // The Original Code and all software distributed under the License are
  1668. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1669. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1670. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1671. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1672. // Please see the License for the specific language governing rights and
  1673. // limitations under the License.
  1674. //
  1675. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1676. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1677. //
  1678. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1679. //
  1680. // This file contains Original Code and/or Modifications of Original Code
  1681. // as defined in and that are subject to the Apple Public Source License
  1682. // Version 2.0 (the 'License'). You may not use this file except in
  1683. // compliance with the License. The rights granted to you under the License
  1684. // may not be used to create, or enable the creation or redistribution of,
  1685. // unlawful or unlicensed copies of an Apple operating system, or to
  1686. // circumvent, violate, or enable the circumvention or violation of, any
  1687. // terms of an Apple operating system software license agreement.
  1688. //
  1689. // Please obtain a copy of the License at
  1690. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1691. //
  1692. // The Original Code and all software distributed under the License are
  1693. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1694. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1695. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1696. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1697. // Please see the License for the specific language governing rights and
  1698. // limitations under the License.
  1699. //
  1700. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1701. type Blkcnt_t = X__darwin_blkcnt_t /* _blkcnt_t.h:31:34 */
  1702. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1703. //
  1704. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1705. //
  1706. // This file contains Original Code and/or Modifications of Original Code
  1707. // as defined in and that are subject to the Apple Public Source License
  1708. // Version 2.0 (the 'License'). You may not use this file except in
  1709. // compliance with the License. The rights granted to you under the License
  1710. // may not be used to create, or enable the creation or redistribution of,
  1711. // unlawful or unlicensed copies of an Apple operating system, or to
  1712. // circumvent, violate, or enable the circumvention or violation of, any
  1713. // terms of an Apple operating system software license agreement.
  1714. //
  1715. // Please obtain a copy of the License at
  1716. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1717. //
  1718. // The Original Code and all software distributed under the License are
  1719. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1720. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1721. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1722. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1723. // Please see the License for the specific language governing rights and
  1724. // limitations under the License.
  1725. //
  1726. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1727. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1728. //
  1729. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1730. //
  1731. // This file contains Original Code and/or Modifications of Original Code
  1732. // as defined in and that are subject to the Apple Public Source License
  1733. // Version 2.0 (the 'License'). You may not use this file except in
  1734. // compliance with the License. The rights granted to you under the License
  1735. // may not be used to create, or enable the creation or redistribution of,
  1736. // unlawful or unlicensed copies of an Apple operating system, or to
  1737. // circumvent, violate, or enable the circumvention or violation of, any
  1738. // terms of an Apple operating system software license agreement.
  1739. //
  1740. // Please obtain a copy of the License at
  1741. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1742. //
  1743. // The Original Code and all software distributed under the License are
  1744. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1745. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1746. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1747. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1748. // Please see the License for the specific language governing rights and
  1749. // limitations under the License.
  1750. //
  1751. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1752. type Blksize_t = X__darwin_blksize_t /* _blksize_t.h:31:35 */
  1753. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1754. //
  1755. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1756. //
  1757. // This file contains Original Code and/or Modifications of Original Code
  1758. // as defined in and that are subject to the Apple Public Source License
  1759. // Version 2.0 (the 'License'). You may not use this file except in
  1760. // compliance with the License. The rights granted to you under the License
  1761. // may not be used to create, or enable the creation or redistribution of,
  1762. // unlawful or unlicensed copies of an Apple operating system, or to
  1763. // circumvent, violate, or enable the circumvention or violation of, any
  1764. // terms of an Apple operating system software license agreement.
  1765. //
  1766. // Please obtain a copy of the License at
  1767. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1768. //
  1769. // The Original Code and all software distributed under the License are
  1770. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1771. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1772. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1773. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1774. // Please see the License for the specific language governing rights and
  1775. // limitations under the License.
  1776. //
  1777. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1778. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1779. //
  1780. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1781. //
  1782. // This file contains Original Code and/or Modifications of Original Code
  1783. // as defined in and that are subject to the Apple Public Source License
  1784. // Version 2.0 (the 'License'). You may not use this file except in
  1785. // compliance with the License. The rights granted to you under the License
  1786. // may not be used to create, or enable the creation or redistribution of,
  1787. // unlawful or unlicensed copies of an Apple operating system, or to
  1788. // circumvent, violate, or enable the circumvention or violation of, any
  1789. // terms of an Apple operating system software license agreement.
  1790. //
  1791. // Please obtain a copy of the License at
  1792. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1793. //
  1794. // The Original Code and all software distributed under the License are
  1795. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1796. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1797. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1798. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1799. // Please see the License for the specific language governing rights and
  1800. // limitations under the License.
  1801. //
  1802. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1803. type Gid_t = X__darwin_gid_t /* _gid_t.h:31:25 */
  1804. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1805. //
  1806. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1807. //
  1808. // This file contains Original Code and/or Modifications of Original Code
  1809. // as defined in and that are subject to the Apple Public Source License
  1810. // Version 2.0 (the 'License'). You may not use this file except in
  1811. // compliance with the License. The rights granted to you under the License
  1812. // may not be used to create, or enable the creation or redistribution of,
  1813. // unlawful or unlicensed copies of an Apple operating system, or to
  1814. // circumvent, violate, or enable the circumvention or violation of, any
  1815. // terms of an Apple operating system software license agreement.
  1816. //
  1817. // Please obtain a copy of the License at
  1818. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1819. //
  1820. // The Original Code and all software distributed under the License are
  1821. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1822. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1823. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1824. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1825. // Please see the License for the specific language governing rights and
  1826. // limitations under the License.
  1827. //
  1828. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1829. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1830. //
  1831. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1832. //
  1833. // This file contains Original Code and/or Modifications of Original Code
  1834. // as defined in and that are subject to the Apple Public Source License
  1835. // Version 2.0 (the 'License'). You may not use this file except in
  1836. // compliance with the License. The rights granted to you under the License
  1837. // may not be used to create, or enable the creation or redistribution of,
  1838. // unlawful or unlicensed copies of an Apple operating system, or to
  1839. // circumvent, violate, or enable the circumvention or violation of, any
  1840. // terms of an Apple operating system software license agreement.
  1841. //
  1842. // Please obtain a copy of the License at
  1843. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1844. //
  1845. // The Original Code and all software distributed under the License are
  1846. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1847. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1848. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1849. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1850. // Please see the License for the specific language governing rights and
  1851. // limitations under the License.
  1852. //
  1853. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1854. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1855. type In_addr_t = X__uint32_t /* _in_addr_t.h:31:25 */ // base type for internet address
  1856. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1857. //
  1858. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1859. //
  1860. // This file contains Original Code and/or Modifications of Original Code
  1861. // as defined in and that are subject to the Apple Public Source License
  1862. // Version 2.0 (the 'License'). You may not use this file except in
  1863. // compliance with the License. The rights granted to you under the License
  1864. // may not be used to create, or enable the creation or redistribution of,
  1865. // unlawful or unlicensed copies of an Apple operating system, or to
  1866. // circumvent, violate, or enable the circumvention or violation of, any
  1867. // terms of an Apple operating system software license agreement.
  1868. //
  1869. // Please obtain a copy of the License at
  1870. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1871. //
  1872. // The Original Code and all software distributed under the License are
  1873. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1874. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1875. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1876. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1877. // Please see the License for the specific language governing rights and
  1878. // limitations under the License.
  1879. //
  1880. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1881. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1882. //
  1883. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1884. //
  1885. // This file contains Original Code and/or Modifications of Original Code
  1886. // as defined in and that are subject to the Apple Public Source License
  1887. // Version 2.0 (the 'License'). You may not use this file except in
  1888. // compliance with the License. The rights granted to you under the License
  1889. // may not be used to create, or enable the creation or redistribution of,
  1890. // unlawful or unlicensed copies of an Apple operating system, or to
  1891. // circumvent, violate, or enable the circumvention or violation of, any
  1892. // terms of an Apple operating system software license agreement.
  1893. //
  1894. // Please obtain a copy of the License at
  1895. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1896. //
  1897. // The Original Code and all software distributed under the License are
  1898. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1899. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1900. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1901. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1902. // Please see the License for the specific language governing rights and
  1903. // limitations under the License.
  1904. //
  1905. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1906. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1907. type In_port_t = X__uint16_t /* _in_port_t.h:31:33 */
  1908. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1909. //
  1910. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1911. //
  1912. // This file contains Original Code and/or Modifications of Original Code
  1913. // as defined in and that are subject to the Apple Public Source License
  1914. // Version 2.0 (the 'License'). You may not use this file except in
  1915. // compliance with the License. The rights granted to you under the License
  1916. // may not be used to create, or enable the creation or redistribution of,
  1917. // unlawful or unlicensed copies of an Apple operating system, or to
  1918. // circumvent, violate, or enable the circumvention or violation of, any
  1919. // terms of an Apple operating system software license agreement.
  1920. //
  1921. // Please obtain a copy of the License at
  1922. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1923. //
  1924. // The Original Code and all software distributed under the License are
  1925. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1926. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1927. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1928. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1929. // Please see the License for the specific language governing rights and
  1930. // limitations under the License.
  1931. //
  1932. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1933. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1934. //
  1935. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1936. //
  1937. // This file contains Original Code and/or Modifications of Original Code
  1938. // as defined in and that are subject to the Apple Public Source License
  1939. // Version 2.0 (the 'License'). You may not use this file except in
  1940. // compliance with the License. The rights granted to you under the License
  1941. // may not be used to create, or enable the creation or redistribution of,
  1942. // unlawful or unlicensed copies of an Apple operating system, or to
  1943. // circumvent, violate, or enable the circumvention or violation of, any
  1944. // terms of an Apple operating system software license agreement.
  1945. //
  1946. // Please obtain a copy of the License at
  1947. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1948. //
  1949. // The Original Code and all software distributed under the License are
  1950. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1951. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1952. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1953. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1954. // Please see the License for the specific language governing rights and
  1955. // limitations under the License.
  1956. //
  1957. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1958. type Ino_t = X__darwin_ino_t /* _ino_t.h:31:33 */ // inode number
  1959. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1960. //
  1961. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1962. //
  1963. // This file contains Original Code and/or Modifications of Original Code
  1964. // as defined in and that are subject to the Apple Public Source License
  1965. // Version 2.0 (the 'License'). You may not use this file except in
  1966. // compliance with the License. The rights granted to you under the License
  1967. // may not be used to create, or enable the creation or redistribution of,
  1968. // unlawful or unlicensed copies of an Apple operating system, or to
  1969. // circumvent, violate, or enable the circumvention or violation of, any
  1970. // terms of an Apple operating system software license agreement.
  1971. //
  1972. // Please obtain a copy of the License at
  1973. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1974. //
  1975. // The Original Code and all software distributed under the License are
  1976. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1977. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1978. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1979. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1980. // Please see the License for the specific language governing rights and
  1981. // limitations under the License.
  1982. //
  1983. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1984. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1985. //
  1986. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1987. //
  1988. // This file contains Original Code and/or Modifications of Original Code
  1989. // as defined in and that are subject to the Apple Public Source License
  1990. // Version 2.0 (the 'License'). You may not use this file except in
  1991. // compliance with the License. The rights granted to you under the License
  1992. // may not be used to create, or enable the creation or redistribution of,
  1993. // unlawful or unlicensed copies of an Apple operating system, or to
  1994. // circumvent, violate, or enable the circumvention or violation of, any
  1995. // terms of an Apple operating system software license agreement.
  1996. //
  1997. // Please obtain a copy of the License at
  1998. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1999. //
  2000. // The Original Code and all software distributed under the License are
  2001. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2002. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2003. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2004. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2005. // Please see the License for the specific language governing rights and
  2006. // limitations under the License.
  2007. //
  2008. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2009. type Ino64_t = X__darwin_ino64_t /* _ino64_t.h:31:33 */ // 64bit inode number
  2010. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2011. //
  2012. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2013. //
  2014. // This file contains Original Code and/or Modifications of Original Code
  2015. // as defined in and that are subject to the Apple Public Source License
  2016. // Version 2.0 (the 'License'). You may not use this file except in
  2017. // compliance with the License. The rights granted to you under the License
  2018. // may not be used to create, or enable the creation or redistribution of,
  2019. // unlawful or unlicensed copies of an Apple operating system, or to
  2020. // circumvent, violate, or enable the circumvention or violation of, any
  2021. // terms of an Apple operating system software license agreement.
  2022. //
  2023. // Please obtain a copy of the License at
  2024. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2025. //
  2026. // The Original Code and all software distributed under the License are
  2027. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2028. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2029. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2030. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2031. // Please see the License for the specific language governing rights and
  2032. // limitations under the License.
  2033. //
  2034. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2035. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2036. //
  2037. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2038. //
  2039. // This file contains Original Code and/or Modifications of Original Code
  2040. // as defined in and that are subject to the Apple Public Source License
  2041. // Version 2.0 (the 'License'). You may not use this file except in
  2042. // compliance with the License. The rights granted to you under the License
  2043. // may not be used to create, or enable the creation or redistribution of,
  2044. // unlawful or unlicensed copies of an Apple operating system, or to
  2045. // circumvent, violate, or enable the circumvention or violation of, any
  2046. // terms of an Apple operating system software license agreement.
  2047. //
  2048. // Please obtain a copy of the License at
  2049. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2050. //
  2051. // The Original Code and all software distributed under the License are
  2052. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2053. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2054. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2055. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2056. // Please see the License for the specific language governing rights and
  2057. // limitations under the License.
  2058. //
  2059. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2060. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2061. type Key_t = X__int32_t /* _key_t.h:31:26 */ // IPC key (for Sys V IPC)
  2062. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2063. //
  2064. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2065. //
  2066. // This file contains Original Code and/or Modifications of Original Code
  2067. // as defined in and that are subject to the Apple Public Source License
  2068. // Version 2.0 (the 'License'). You may not use this file except in
  2069. // compliance with the License. The rights granted to you under the License
  2070. // may not be used to create, or enable the creation or redistribution of,
  2071. // unlawful or unlicensed copies of an Apple operating system, or to
  2072. // circumvent, violate, or enable the circumvention or violation of, any
  2073. // terms of an Apple operating system software license agreement.
  2074. //
  2075. // Please obtain a copy of the License at
  2076. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2077. //
  2078. // The Original Code and all software distributed under the License are
  2079. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2080. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2081. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2082. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2083. // Please see the License for the specific language governing rights and
  2084. // limitations under the License.
  2085. //
  2086. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2087. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2088. //
  2089. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2090. //
  2091. // This file contains Original Code and/or Modifications of Original Code
  2092. // as defined in and that are subject to the Apple Public Source License
  2093. // Version 2.0 (the 'License'). You may not use this file except in
  2094. // compliance with the License. The rights granted to you under the License
  2095. // may not be used to create, or enable the creation or redistribution of,
  2096. // unlawful or unlicensed copies of an Apple operating system, or to
  2097. // circumvent, violate, or enable the circumvention or violation of, any
  2098. // terms of an Apple operating system software license agreement.
  2099. //
  2100. // Please obtain a copy of the License at
  2101. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2102. //
  2103. // The Original Code and all software distributed under the License are
  2104. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2105. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2106. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2107. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2108. // Please see the License for the specific language governing rights and
  2109. // limitations under the License.
  2110. //
  2111. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2112. type Mode_t = X__darwin_mode_t /* _mode_t.h:31:33 */
  2113. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2114. //
  2115. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2116. //
  2117. // This file contains Original Code and/or Modifications of Original Code
  2118. // as defined in and that are subject to the Apple Public Source License
  2119. // Version 2.0 (the 'License'). You may not use this file except in
  2120. // compliance with the License. The rights granted to you under the License
  2121. // may not be used to create, or enable the creation or redistribution of,
  2122. // unlawful or unlicensed copies of an Apple operating system, or to
  2123. // circumvent, violate, or enable the circumvention or violation of, any
  2124. // terms of an Apple operating system software license agreement.
  2125. //
  2126. // Please obtain a copy of the License at
  2127. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2128. //
  2129. // The Original Code and all software distributed under the License are
  2130. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2131. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2132. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2133. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2134. // Please see the License for the specific language governing rights and
  2135. // limitations under the License.
  2136. //
  2137. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2138. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2139. //
  2140. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2141. //
  2142. // This file contains Original Code and/or Modifications of Original Code
  2143. // as defined in and that are subject to the Apple Public Source License
  2144. // Version 2.0 (the 'License'). You may not use this file except in
  2145. // compliance with the License. The rights granted to you under the License
  2146. // may not be used to create, or enable the creation or redistribution of,
  2147. // unlawful or unlicensed copies of an Apple operating system, or to
  2148. // circumvent, violate, or enable the circumvention or violation of, any
  2149. // terms of an Apple operating system software license agreement.
  2150. //
  2151. // Please obtain a copy of the License at
  2152. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2153. //
  2154. // The Original Code and all software distributed under the License are
  2155. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2156. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2157. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2158. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2159. // Please see the License for the specific language governing rights and
  2160. // limitations under the License.
  2161. //
  2162. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2163. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2164. type Nlink_t = X__uint16_t /* _nlink_t.h:31:27 */ // link count
  2165. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2166. //
  2167. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2168. //
  2169. // This file contains Original Code and/or Modifications of Original Code
  2170. // as defined in and that are subject to the Apple Public Source License
  2171. // Version 2.0 (the 'License'). You may not use this file except in
  2172. // compliance with the License. The rights granted to you under the License
  2173. // may not be used to create, or enable the creation or redistribution of,
  2174. // unlawful or unlicensed copies of an Apple operating system, or to
  2175. // circumvent, violate, or enable the circumvention or violation of, any
  2176. // terms of an Apple operating system software license agreement.
  2177. //
  2178. // Please obtain a copy of the License at
  2179. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2180. //
  2181. // The Original Code and all software distributed under the License are
  2182. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2183. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2184. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2185. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2186. // Please see the License for the specific language governing rights and
  2187. // limitations under the License.
  2188. //
  2189. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2190. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2191. //
  2192. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2193. //
  2194. // This file contains Original Code and/or Modifications of Original Code
  2195. // as defined in and that are subject to the Apple Public Source License
  2196. // Version 2.0 (the 'License'). You may not use this file except in
  2197. // compliance with the License. The rights granted to you under the License
  2198. // may not be used to create, or enable the creation or redistribution of,
  2199. // unlawful or unlicensed copies of an Apple operating system, or to
  2200. // circumvent, violate, or enable the circumvention or violation of, any
  2201. // terms of an Apple operating system software license agreement.
  2202. //
  2203. // Please obtain a copy of the License at
  2204. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2205. //
  2206. // The Original Code and all software distributed under the License are
  2207. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2208. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2209. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2210. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2211. // Please see the License for the specific language governing rights and
  2212. // limitations under the License.
  2213. //
  2214. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2215. type Id_t = X__darwin_id_t /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t
  2216. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2217. //
  2218. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2219. //
  2220. // This file contains Original Code and/or Modifications of Original Code
  2221. // as defined in and that are subject to the Apple Public Source License
  2222. // Version 2.0 (the 'License'). You may not use this file except in
  2223. // compliance with the License. The rights granted to you under the License
  2224. // may not be used to create, or enable the creation or redistribution of,
  2225. // unlawful or unlicensed copies of an Apple operating system, or to
  2226. // circumvent, violate, or enable the circumvention or violation of, any
  2227. // terms of an Apple operating system software license agreement.
  2228. //
  2229. // Please obtain a copy of the License at
  2230. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2231. //
  2232. // The Original Code and all software distributed under the License are
  2233. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2234. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2235. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2236. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2237. // Please see the License for the specific language governing rights and
  2238. // limitations under the License.
  2239. //
  2240. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2241. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2242. //
  2243. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2244. //
  2245. // This file contains Original Code and/or Modifications of Original Code
  2246. // as defined in and that are subject to the Apple Public Source License
  2247. // Version 2.0 (the 'License'). You may not use this file except in
  2248. // compliance with the License. The rights granted to you under the License
  2249. // may not be used to create, or enable the creation or redistribution of,
  2250. // unlawful or unlicensed copies of an Apple operating system, or to
  2251. // circumvent, violate, or enable the circumvention or violation of, any
  2252. // terms of an Apple operating system software license agreement.
  2253. //
  2254. // Please obtain a copy of the License at
  2255. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2256. //
  2257. // The Original Code and all software distributed under the License are
  2258. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2259. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2260. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2261. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2262. // Please see the License for the specific language governing rights and
  2263. // limitations under the License.
  2264. //
  2265. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2266. type Pid_t = X__darwin_pid_t /* _pid_t.h:31:31 */
  2267. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2268. //
  2269. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2270. //
  2271. // This file contains Original Code and/or Modifications of Original Code
  2272. // as defined in and that are subject to the Apple Public Source License
  2273. // Version 2.0 (the 'License'). You may not use this file except in
  2274. // compliance with the License. The rights granted to you under the License
  2275. // may not be used to create, or enable the creation or redistribution of,
  2276. // unlawful or unlicensed copies of an Apple operating system, or to
  2277. // circumvent, violate, or enable the circumvention or violation of, any
  2278. // terms of an Apple operating system software license agreement.
  2279. //
  2280. // Please obtain a copy of the License at
  2281. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2282. //
  2283. // The Original Code and all software distributed under the License are
  2284. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2285. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2286. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2287. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2288. // Please see the License for the specific language governing rights and
  2289. // limitations under the License.
  2290. //
  2291. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2292. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2293. //
  2294. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2295. //
  2296. // This file contains Original Code and/or Modifications of Original Code
  2297. // as defined in and that are subject to the Apple Public Source License
  2298. // Version 2.0 (the 'License'). You may not use this file except in
  2299. // compliance with the License. The rights granted to you under the License
  2300. // may not be used to create, or enable the creation or redistribution of,
  2301. // unlawful or unlicensed copies of an Apple operating system, or to
  2302. // circumvent, violate, or enable the circumvention or violation of, any
  2303. // terms of an Apple operating system software license agreement.
  2304. //
  2305. // Please obtain a copy of the License at
  2306. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2307. //
  2308. // The Original Code and all software distributed under the License are
  2309. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2310. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2311. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2312. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2313. // Please see the License for the specific language governing rights and
  2314. // limitations under the License.
  2315. //
  2316. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2317. type Off_t = X__darwin_off_t /* _off_t.h:31:33 */
  2318. type Segsz_t = Int32_t /* types.h:125:33 */ // segment size
  2319. type Swblk_t = Int32_t /* types.h:126:33 */ // swap offset
  2320. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2321. //
  2322. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2323. //
  2324. // This file contains Original Code and/or Modifications of Original Code
  2325. // as defined in and that are subject to the Apple Public Source License
  2326. // Version 2.0 (the 'License'). You may not use this file except in
  2327. // compliance with the License. The rights granted to you under the License
  2328. // may not be used to create, or enable the creation or redistribution of,
  2329. // unlawful or unlicensed copies of an Apple operating system, or to
  2330. // circumvent, violate, or enable the circumvention or violation of, any
  2331. // terms of an Apple operating system software license agreement.
  2332. //
  2333. // Please obtain a copy of the License at
  2334. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2335. //
  2336. // The Original Code and all software distributed under the License are
  2337. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2338. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2339. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2340. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2341. // Please see the License for the specific language governing rights and
  2342. // limitations under the License.
  2343. //
  2344. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2345. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2346. //
  2347. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2348. //
  2349. // This file contains Original Code and/or Modifications of Original Code
  2350. // as defined in and that are subject to the Apple Public Source License
  2351. // Version 2.0 (the 'License'). You may not use this file except in
  2352. // compliance with the License. The rights granted to you under the License
  2353. // may not be used to create, or enable the creation or redistribution of,
  2354. // unlawful or unlicensed copies of an Apple operating system, or to
  2355. // circumvent, violate, or enable the circumvention or violation of, any
  2356. // terms of an Apple operating system software license agreement.
  2357. //
  2358. // Please obtain a copy of the License at
  2359. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2360. //
  2361. // The Original Code and all software distributed under the License are
  2362. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2363. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2364. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2365. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2366. // Please see the License for the specific language governing rights and
  2367. // limitations under the License.
  2368. //
  2369. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2370. type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
  2371. // Major, minor numbers, dev_t's.
  2372. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2373. //
  2374. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2375. //
  2376. // This file contains Original Code and/or Modifications of Original Code
  2377. // as defined in and that are subject to the Apple Public Source License
  2378. // Version 2.0 (the 'License'). You may not use this file except in
  2379. // compliance with the License. The rights granted to you under the License
  2380. // may not be used to create, or enable the creation or redistribution of,
  2381. // unlawful or unlicensed copies of an Apple operating system, or to
  2382. // circumvent, violate, or enable the circumvention or violation of, any
  2383. // terms of an Apple operating system software license agreement.
  2384. //
  2385. // Please obtain a copy of the License at
  2386. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2387. //
  2388. // The Original Code and all software distributed under the License are
  2389. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2390. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2391. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2392. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2393. // Please see the License for the specific language governing rights and
  2394. // limitations under the License.
  2395. //
  2396. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2397. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2398. //
  2399. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2400. //
  2401. // This file contains Original Code and/or Modifications of Original Code
  2402. // as defined in and that are subject to the Apple Public Source License
  2403. // Version 2.0 (the 'License'). You may not use this file except in
  2404. // compliance with the License. The rights granted to you under the License
  2405. // may not be used to create, or enable the creation or redistribution of,
  2406. // unlawful or unlicensed copies of an Apple operating system, or to
  2407. // circumvent, violate, or enable the circumvention or violation of, any
  2408. // terms of an Apple operating system software license agreement.
  2409. //
  2410. // Please obtain a copy of the License at
  2411. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2412. //
  2413. // The Original Code and all software distributed under the License are
  2414. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2415. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2416. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2417. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2418. // Please see the License for the specific language governing rights and
  2419. // limitations under the License.
  2420. //
  2421. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2422. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2423. type Clock_t = X__darwin_clock_t /* _clock_t.h:31:33 */
  2424. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2425. //
  2426. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2427. //
  2428. // This file contains Original Code and/or Modifications of Original Code
  2429. // as defined in and that are subject to the Apple Public Source License
  2430. // Version 2.0 (the 'License'). You may not use this file except in
  2431. // compliance with the License. The rights granted to you under the License
  2432. // may not be used to create, or enable the creation or redistribution of,
  2433. // unlawful or unlicensed copies of an Apple operating system, or to
  2434. // circumvent, violate, or enable the circumvention or violation of, any
  2435. // terms of an Apple operating system software license agreement.
  2436. //
  2437. // Please obtain a copy of the License at
  2438. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2439. //
  2440. // The Original Code and all software distributed under the License are
  2441. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2442. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2443. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2444. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2445. // Please see the License for the specific language governing rights and
  2446. // limitations under the License.
  2447. //
  2448. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2449. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2450. //
  2451. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2452. //
  2453. // This file contains Original Code and/or Modifications of Original Code
  2454. // as defined in and that are subject to the Apple Public Source License
  2455. // Version 2.0 (the 'License'). You may not use this file except in
  2456. // compliance with the License. The rights granted to you under the License
  2457. // may not be used to create, or enable the creation or redistribution of,
  2458. // unlawful or unlicensed copies of an Apple operating system, or to
  2459. // circumvent, violate, or enable the circumvention or violation of, any
  2460. // terms of an Apple operating system software license agreement.
  2461. //
  2462. // Please obtain a copy of the License at
  2463. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2464. //
  2465. // The Original Code and all software distributed under the License are
  2466. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2467. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2468. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2469. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2470. // Please see the License for the specific language governing rights and
  2471. // limitations under the License.
  2472. //
  2473. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2474. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2475. type Ssize_t = X__darwin_ssize_t /* _ssize_t.h:31:33 */
  2476. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2477. //
  2478. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2479. //
  2480. // This file contains Original Code and/or Modifications of Original Code
  2481. // as defined in and that are subject to the Apple Public Source License
  2482. // Version 2.0 (the 'License'). You may not use this file except in
  2483. // compliance with the License. The rights granted to you under the License
  2484. // may not be used to create, or enable the creation or redistribution of,
  2485. // unlawful or unlicensed copies of an Apple operating system, or to
  2486. // circumvent, violate, or enable the circumvention or violation of, any
  2487. // terms of an Apple operating system software license agreement.
  2488. //
  2489. // Please obtain a copy of the License at
  2490. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2491. //
  2492. // The Original Code and all software distributed under the License are
  2493. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2494. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2495. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2496. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2497. // Please see the License for the specific language governing rights and
  2498. // limitations under the License.
  2499. //
  2500. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2501. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2502. //
  2503. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2504. //
  2505. // This file contains Original Code and/or Modifications of Original Code
  2506. // as defined in and that are subject to the Apple Public Source License
  2507. // Version 2.0 (the 'License'). You may not use this file except in
  2508. // compliance with the License. The rights granted to you under the License
  2509. // may not be used to create, or enable the creation or redistribution of,
  2510. // unlawful or unlicensed copies of an Apple operating system, or to
  2511. // circumvent, violate, or enable the circumvention or violation of, any
  2512. // terms of an Apple operating system software license agreement.
  2513. //
  2514. // Please obtain a copy of the License at
  2515. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2516. //
  2517. // The Original Code and all software distributed under the License are
  2518. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2519. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2520. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2521. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2522. // Please see the License for the specific language governing rights and
  2523. // limitations under the License.
  2524. //
  2525. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2526. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2527. type Time_t = X__darwin_time_t /* _time_t.h:31:33 */
  2528. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2529. //
  2530. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2531. //
  2532. // This file contains Original Code and/or Modifications of Original Code
  2533. // as defined in and that are subject to the Apple Public Source License
  2534. // Version 2.0 (the 'License'). You may not use this file except in
  2535. // compliance with the License. The rights granted to you under the License
  2536. // may not be used to create, or enable the creation or redistribution of,
  2537. // unlawful or unlicensed copies of an Apple operating system, or to
  2538. // circumvent, violate, or enable the circumvention or violation of, any
  2539. // terms of an Apple operating system software license agreement.
  2540. //
  2541. // Please obtain a copy of the License at
  2542. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2543. //
  2544. // The Original Code and all software distributed under the License are
  2545. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2546. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2547. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2548. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2549. // Please see the License for the specific language governing rights and
  2550. // limitations under the License.
  2551. //
  2552. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2553. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2554. //
  2555. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2556. //
  2557. // This file contains Original Code and/or Modifications of Original Code
  2558. // as defined in and that are subject to the Apple Public Source License
  2559. // Version 2.0 (the 'License'). You may not use this file except in
  2560. // compliance with the License. The rights granted to you under the License
  2561. // may not be used to create, or enable the creation or redistribution of,
  2562. // unlawful or unlicensed copies of an Apple operating system, or to
  2563. // circumvent, violate, or enable the circumvention or violation of, any
  2564. // terms of an Apple operating system software license agreement.
  2565. //
  2566. // Please obtain a copy of the License at
  2567. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2568. //
  2569. // The Original Code and all software distributed under the License are
  2570. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2571. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2572. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2573. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2574. // Please see the License for the specific language governing rights and
  2575. // limitations under the License.
  2576. //
  2577. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2578. type Useconds_t = X__darwin_useconds_t /* _useconds_t.h:31:33 */
  2579. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2580. //
  2581. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2582. //
  2583. // This file contains Original Code and/or Modifications of Original Code
  2584. // as defined in and that are subject to the Apple Public Source License
  2585. // Version 2.0 (the 'License'). You may not use this file except in
  2586. // compliance with the License. The rights granted to you under the License
  2587. // may not be used to create, or enable the creation or redistribution of,
  2588. // unlawful or unlicensed copies of an Apple operating system, or to
  2589. // circumvent, violate, or enable the circumvention or violation of, any
  2590. // terms of an Apple operating system software license agreement.
  2591. //
  2592. // Please obtain a copy of the License at
  2593. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2594. //
  2595. // The Original Code and all software distributed under the License are
  2596. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2597. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2598. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2599. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2600. // Please see the License for the specific language governing rights and
  2601. // limitations under the License.
  2602. //
  2603. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2604. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  2605. //
  2606. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2607. //
  2608. // This file contains Original Code and/or Modifications of Original Code
  2609. // as defined in and that are subject to the Apple Public Source License
  2610. // Version 2.0 (the 'License'). You may not use this file except in
  2611. // compliance with the License. The rights granted to you under the License
  2612. // may not be used to create, or enable the creation or redistribution of,
  2613. // unlawful or unlicensed copies of an Apple operating system, or to
  2614. // circumvent, violate, or enable the circumvention or violation of, any
  2615. // terms of an Apple operating system software license agreement.
  2616. //
  2617. // Please obtain a copy of the License at
  2618. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2619. //
  2620. // The Original Code and all software distributed under the License are
  2621. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2622. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2623. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2624. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2625. // Please see the License for the specific language governing rights and
  2626. // limitations under the License.
  2627. //
  2628. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2629. type Suseconds_t = X__darwin_suseconds_t /* _suseconds_t.h:31:33 */
  2630. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2631. //
  2632. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2633. //
  2634. // This file contains Original Code and/or Modifications of Original Code
  2635. // as defined in and that are subject to the Apple Public Source License
  2636. // Version 2.0 (the 'License'). You may not use this file except in
  2637. // compliance with the License. The rights granted to you under the License
  2638. // may not be used to create, or enable the creation or redistribution of,
  2639. // unlawful or unlicensed copies of an Apple operating system, or to
  2640. // circumvent, violate, or enable the circumvention or violation of, any
  2641. // terms of an Apple operating system software license agreement.
  2642. //
  2643. // Please obtain a copy of the License at
  2644. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2645. //
  2646. // The Original Code and all software distributed under the License are
  2647. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2648. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2649. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2650. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2651. // Please see the License for the specific language governing rights and
  2652. // limitations under the License.
  2653. //
  2654. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2655. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2656. //
  2657. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2658. //
  2659. // This file contains Original Code and/or Modifications of Original Code
  2660. // as defined in and that are subject to the Apple Public Source License
  2661. // Version 2.0 (the 'License'). You may not use this file except in
  2662. // compliance with the License. The rights granted to you under the License
  2663. // may not be used to create, or enable the creation or redistribution of,
  2664. // unlawful or unlicensed copies of an Apple operating system, or to
  2665. // circumvent, violate, or enable the circumvention or violation of, any
  2666. // terms of an Apple operating system software license agreement.
  2667. //
  2668. // Please obtain a copy of the License at
  2669. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2670. //
  2671. // The Original Code and all software distributed under the License are
  2672. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2673. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2674. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2675. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2676. // Please see the License for the specific language governing rights and
  2677. // limitations under the License.
  2678. //
  2679. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2680. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2681. type Rsize_t = X__darwin_size_t /* _rsize_t.h:31:32 */
  2682. // Copyright (c) 2003-2012 Apple 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. type Errno_t = int32 /* _errno_t.h:30:32 */
  2708. // This code is present here in order to maintain historical backward
  2709. // compatability, and is intended to be removed at some point in the
  2710. // future; please include <sys/select.h> instead.
  2711. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2712. //
  2713. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2714. //
  2715. // This file contains Original Code and/or Modifications of Original Code
  2716. // as defined in and that are subject to the Apple Public Source License
  2717. // Version 2.0 (the 'License'). You may not use this file except in
  2718. // compliance with the License. The rights granted to you under the License
  2719. // may not be used to create, or enable the creation or redistribution of,
  2720. // unlawful or unlicensed copies of an Apple operating system, or to
  2721. // circumvent, violate, or enable the circumvention or violation of, any
  2722. // terms of an Apple operating system software license agreement.
  2723. //
  2724. // Please obtain a copy of the License at
  2725. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2726. //
  2727. // The Original Code and all software distributed under the License are
  2728. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2729. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2730. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2731. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2732. // Please see the License for the specific language governing rights and
  2733. // limitations under the License.
  2734. //
  2735. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2736. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2737. //
  2738. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2739. //
  2740. // This file contains Original Code and/or Modifications of Original Code
  2741. // as defined in and that are subject to the Apple Public Source License
  2742. // Version 2.0 (the 'License'). You may not use this file except in
  2743. // compliance with the License. The rights granted to you under the License
  2744. // may not be used to create, or enable the creation or redistribution of,
  2745. // unlawful or unlicensed copies of an Apple operating system, or to
  2746. // circumvent, violate, or enable the circumvention or violation of, any
  2747. // terms of an Apple operating system software license agreement.
  2748. //
  2749. // Please obtain a copy of the License at
  2750. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2751. //
  2752. // The Original Code and all software distributed under the License are
  2753. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2754. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2755. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2756. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2757. // Please see the License for the specific language governing rights and
  2758. // limitations under the License.
  2759. //
  2760. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2761. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2762. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  2763. //
  2764. // @APPLE_LICENSE_HEADER_START@
  2765. //
  2766. // This file contains Original Code and/or Modifications of Original Code
  2767. // as defined in and that are subject to the Apple Public Source License
  2768. // Version 2.0 (the 'License'). You may not use this file except in
  2769. // compliance with the License. Please obtain a copy of the License at
  2770. // http://www.opensource.apple.com/apsl/ and read it before using this
  2771. // file.
  2772. //
  2773. // The Original Code and all software distributed under the License are
  2774. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2775. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2776. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2777. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2778. // Please see the License for the specific language governing rights and
  2779. // limitations under the License.
  2780. //
  2781. // @APPLE_LICENSE_HEADER_END@
  2782. //
  2783. // These macros are for use in OS header files. They enable function prototypes
  2784. // and Objective-C methods to be tagged with the OS version in which they
  2785. // were first available; and, if applicable, the OS version in which they
  2786. // became deprecated.
  2787. //
  2788. // The desktop Mac OS X and iOS each have different version numbers.
  2789. // The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  2790. // and iOS version numbers. For instance:
  2791. // __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  2792. // means the function/method was first available on Mac OS X 10.2 on the desktop
  2793. // and first available in iOS 2.0 on the iPhone.
  2794. //
  2795. // If a function is available on one platform, but not the other a _NA (not
  2796. // applicable) parameter is used. For instance:
  2797. // __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  2798. // means that the function/method was first available on Mac OS X 10.3, and it
  2799. // currently not implemented on the iPhone.
  2800. //
  2801. // At some point, a function/method may be deprecated. That means Apple
  2802. // recommends applications stop using the function, either because there is a
  2803. // better replacement or the functionality is being phased out. Deprecated
  2804. // functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  2805. // macro which specifies the OS version where the function became available
  2806. // as well as the OS version in which it became deprecated. For instance:
  2807. // __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  2808. // means that the function/method was introduced in Mac OS X 10.0, then
  2809. // became deprecated beginning in Mac OS X 10.5. On iOS the function
  2810. // has never been available.
  2811. //
  2812. // For these macros to function properly, a program must specify the OS version range
  2813. // it is targeting. The min OS version is specified as an option to the compiler:
  2814. // -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  2815. // when building for the iPhone. The upper bound for the OS version is rarely needed,
  2816. // but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  2817. // Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  2818. //
  2819. // Examples:
  2820. //
  2821. // A function available in Mac OS X 10.5 and later, but not on the phone:
  2822. //
  2823. // extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  2824. //
  2825. //
  2826. // An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  2827. //
  2828. // @interface MyClass : NSObject
  2829. // -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  2830. // @end
  2831. //
  2832. //
  2833. // An enum available on the phone, but not available on Mac OS X:
  2834. //
  2835. // #if __IPHONE_OS_VERSION_MIN_REQUIRED
  2836. // enum { myEnum = 1 };
  2837. // #endif
  2838. // Note: this works when targeting the Mac OS X platform because
  2839. // __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  2840. //
  2841. //
  2842. // An enum with values added in different iPhoneOS versions:
  2843. //
  2844. // enum {
  2845. // myX = 1, // Usable on iPhoneOS 2.1 and later
  2846. // myY = 2, // Usable on iPhoneOS 3.0 and later
  2847. // myZ = 3, // Usable on iPhoneOS 3.0 and later
  2848. // ...
  2849. // Note: you do not want to use #if with enumeration values
  2850. // when a client needs to see all values at compile time
  2851. // and use runtime logic to only use the viable values.
  2852. //
  2853. //
  2854. // It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  2855. // source base that can be compiled to target a range of OS versions. It is best
  2856. // to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  2857. // That is because you might get compiled on an old OS that does not define a later
  2858. // OS version macro, and in the C preprocessor undefined values evaluate to zero
  2859. // in expresssions, which could cause the #if expression to evaluate in an unexpected
  2860. // way.
  2861. //
  2862. // #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  2863. // // code only compiled when targeting Mac OS X and not iPhone
  2864. // // note use of 1050 instead of __MAC_10_5
  2865. // #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  2866. // // code in here might run on pre-Leopard OS
  2867. // #else
  2868. // // code here can assume Leopard or later
  2869. // #endif
  2870. // #endif
  2871. //
  2872. //
  2873. // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  2874. // in an upcoming release. This soft deprecation is an intermediate step before formal
  2875. // deprecation to notify developers about the API before compiler warnings are generated.
  2876. // You can find all places in your code that use soft deprecated API by redefining the
  2877. // value of this macro to your current minimum deployment target, for example:
  2878. // (macOS)
  2879. // clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  2880. // (iOS)
  2881. // clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  2882. // Copyright (c) 2019 by Apple Inc.. All rights reserved.
  2883. //
  2884. // @APPLE_LICENSE_HEADER_START@
  2885. //
  2886. // This file contains Original Code and/or Modifications of Original Code
  2887. // as defined in and that are subject to the Apple Public Source License
  2888. // Version 2.0 (the 'License'). You may not use this file except in
  2889. // compliance with the License. Please obtain a copy of the License at
  2890. // http://www.opensource.apple.com/apsl/ and read it before using this
  2891. // file.
  2892. //
  2893. // The Original Code and all software distributed under the License are
  2894. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2895. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2896. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2897. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2898. // Please see the License for the specific language governing rights and
  2899. // limitations under the License.
  2900. //
  2901. // @APPLE_LICENSE_HEADER_END@
  2902. // __MAC_NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable
  2903. // __IPHONE_NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable
  2904. // Set up standard Mac OS X versions
  2905. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  2906. //
  2907. // @APPLE_LICENSE_HEADER_START@
  2908. //
  2909. // This file contains Original Code and/or Modifications of Original Code
  2910. // as defined in and that are subject to the Apple Public Source License
  2911. // Version 2.0 (the 'License'). You may not use this file except in
  2912. // compliance with the License. Please obtain a copy of the License at
  2913. // http://www.opensource.apple.com/apsl/ and read it before using this
  2914. // file.
  2915. //
  2916. // The Original Code and all software distributed under the License are
  2917. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2918. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2919. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2920. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2921. // Please see the License for the specific language governing rights and
  2922. // limitations under the License.
  2923. //
  2924. // @APPLE_LICENSE_HEADER_END@
  2925. //
  2926. // File: AvailabilityInternal.h
  2927. //
  2928. // Contains: implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  2929. //
  2930. // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  2931. // make sure a default max version is set
  2932. //
  2933. // Macros for defining which versions/platform a given symbol can be used.
  2934. //
  2935. // @see http://clang.llvm.org/docs/AttributeReference.html#availability
  2936. //
  2937. // Evaluate to nothing for compilers that don't support availability.
  2938. // Swift compiler version
  2939. // Allows for project-agnostic "epochs" for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  2940. // Example:
  2941. //
  2942. // #if __swift_compiler_version_at_least(800, 2, 20)
  2943. // - (nonnull NSString *)description;
  2944. // #else
  2945. // - (NSString *)description;
  2946. // #endif
  2947. // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  2948. // for use to document app extension usage
  2949. // for use marking APIs available info for Mac OSX
  2950. // for use marking APIs available info for iOS
  2951. // for use marking APIs available info for tvOS
  2952. // for use marking APIs available info for Watch OS
  2953. // for use marking APIs unavailable for swift
  2954. //
  2955. // Macros for defining which versions/platform a given symbol can be used.
  2956. //
  2957. // @see http://clang.llvm.org/docs/AttributeReference.html#availability
  2958. //
  2959. // * Note that these macros are only compatible with clang compilers that
  2960. // * support the following target selection options:
  2961. // *
  2962. // * -mmacosx-version-min
  2963. // * -miphoneos-version-min
  2964. // * -mwatchos-version-min
  2965. // * -mtvos-version-min
  2966. //
  2967. // Evaluate to nothing for compilers that don't support availability.
  2968. // If SPI decorations have not been defined elsewhere, disable them.
  2969. // Select uses bit masks of file descriptors in longs. These macros
  2970. // manipulate such bit fields (the filesystem macros use chars). The
  2971. // extra protection here is to permit application redefinition above
  2972. // the default size.
  2973. type Fd_set1 = struct{ Ffds_bits [32]X__int32_t } /* _fd_def.h:50:9 */
  2974. // This code is present here in order to maintain historical backward
  2975. // compatability, and is intended to be removed at some point in the
  2976. // future; please include <sys/select.h> instead.
  2977. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2978. //
  2979. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2980. //
  2981. // This file contains Original Code and/or Modifications of Original Code
  2982. // as defined in and that are subject to the Apple Public Source License
  2983. // Version 2.0 (the 'License'). You may not use this file except in
  2984. // compliance with the License. The rights granted to you under the License
  2985. // may not be used to create, or enable the creation or redistribution of,
  2986. // unlawful or unlicensed copies of an Apple operating system, or to
  2987. // circumvent, violate, or enable the circumvention or violation of, any
  2988. // terms of an Apple operating system software license agreement.
  2989. //
  2990. // Please obtain a copy of the License at
  2991. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2992. //
  2993. // The Original Code and all software distributed under the License are
  2994. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2995. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2996. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2997. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2998. // Please see the License for the specific language governing rights and
  2999. // limitations under the License.
  3000. //
  3001. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3002. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  3003. //
  3004. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3005. //
  3006. // This file contains Original Code and/or Modifications of Original Code
  3007. // as defined in and that are subject to the Apple Public Source License
  3008. // Version 2.0 (the 'License'). You may not use this file except in
  3009. // compliance with the License. The rights granted to you under the License
  3010. // may not be used to create, or enable the creation or redistribution of,
  3011. // unlawful or unlicensed copies of an Apple operating system, or to
  3012. // circumvent, violate, or enable the circumvention or violation of, any
  3013. // terms of an Apple operating system software license agreement.
  3014. //
  3015. // Please obtain a copy of the License at
  3016. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3017. //
  3018. // The Original Code and all software distributed under the License are
  3019. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3020. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3021. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3022. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3023. // Please see the License for the specific language governing rights and
  3024. // limitations under the License.
  3025. //
  3026. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3027. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  3028. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3029. //
  3030. // @APPLE_LICENSE_HEADER_START@
  3031. //
  3032. // This file contains Original Code and/or Modifications of Original Code
  3033. // as defined in and that are subject to the Apple Public Source License
  3034. // Version 2.0 (the 'License'). You may not use this file except in
  3035. // compliance with the License. Please obtain a copy of the License at
  3036. // http://www.opensource.apple.com/apsl/ and read it before using this
  3037. // file.
  3038. //
  3039. // The Original Code and all software distributed under the License are
  3040. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3041. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3042. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3043. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3044. // Please see the License for the specific language governing rights and
  3045. // limitations under the License.
  3046. //
  3047. // @APPLE_LICENSE_HEADER_END@
  3048. //
  3049. // These macros are for use in OS header files. They enable function prototypes
  3050. // and Objective-C methods to be tagged with the OS version in which they
  3051. // were first available; and, if applicable, the OS version in which they
  3052. // became deprecated.
  3053. //
  3054. // The desktop Mac OS X and iOS each have different version numbers.
  3055. // The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  3056. // and iOS version numbers. For instance:
  3057. // __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  3058. // means the function/method was first available on Mac OS X 10.2 on the desktop
  3059. // and first available in iOS 2.0 on the iPhone.
  3060. //
  3061. // If a function is available on one platform, but not the other a _NA (not
  3062. // applicable) parameter is used. For instance:
  3063. // __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  3064. // means that the function/method was first available on Mac OS X 10.3, and it
  3065. // currently not implemented on the iPhone.
  3066. //
  3067. // At some point, a function/method may be deprecated. That means Apple
  3068. // recommends applications stop using the function, either because there is a
  3069. // better replacement or the functionality is being phased out. Deprecated
  3070. // functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  3071. // macro which specifies the OS version where the function became available
  3072. // as well as the OS version in which it became deprecated. For instance:
  3073. // __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  3074. // means that the function/method was introduced in Mac OS X 10.0, then
  3075. // became deprecated beginning in Mac OS X 10.5. On iOS the function
  3076. // has never been available.
  3077. //
  3078. // For these macros to function properly, a program must specify the OS version range
  3079. // it is targeting. The min OS version is specified as an option to the compiler:
  3080. // -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  3081. // when building for the iPhone. The upper bound for the OS version is rarely needed,
  3082. // but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  3083. // Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  3084. //
  3085. // Examples:
  3086. //
  3087. // A function available in Mac OS X 10.5 and later, but not on the phone:
  3088. //
  3089. // extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  3090. //
  3091. //
  3092. // An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  3093. //
  3094. // @interface MyClass : NSObject
  3095. // -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  3096. // @end
  3097. //
  3098. //
  3099. // An enum available on the phone, but not available on Mac OS X:
  3100. //
  3101. // #if __IPHONE_OS_VERSION_MIN_REQUIRED
  3102. // enum { myEnum = 1 };
  3103. // #endif
  3104. // Note: this works when targeting the Mac OS X platform because
  3105. // __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  3106. //
  3107. //
  3108. // An enum with values added in different iPhoneOS versions:
  3109. //
  3110. // enum {
  3111. // myX = 1, // Usable on iPhoneOS 2.1 and later
  3112. // myY = 2, // Usable on iPhoneOS 3.0 and later
  3113. // myZ = 3, // Usable on iPhoneOS 3.0 and later
  3114. // ...
  3115. // Note: you do not want to use #if with enumeration values
  3116. // when a client needs to see all values at compile time
  3117. // and use runtime logic to only use the viable values.
  3118. //
  3119. //
  3120. // It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  3121. // source base that can be compiled to target a range of OS versions. It is best
  3122. // to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  3123. // That is because you might get compiled on an old OS that does not define a later
  3124. // OS version macro, and in the C preprocessor undefined values evaluate to zero
  3125. // in expresssions, which could cause the #if expression to evaluate in an unexpected
  3126. // way.
  3127. //
  3128. // #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  3129. // // code only compiled when targeting Mac OS X and not iPhone
  3130. // // note use of 1050 instead of __MAC_10_5
  3131. // #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  3132. // // code in here might run on pre-Leopard OS
  3133. // #else
  3134. // // code here can assume Leopard or later
  3135. // #endif
  3136. // #endif
  3137. //
  3138. //
  3139. // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  3140. // in an upcoming release. This soft deprecation is an intermediate step before formal
  3141. // deprecation to notify developers about the API before compiler warnings are generated.
  3142. // You can find all places in your code that use soft deprecated API by redefining the
  3143. // value of this macro to your current minimum deployment target, for example:
  3144. // (macOS)
  3145. // clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  3146. // (iOS)
  3147. // clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  3148. // Copyright (c) 2019 by Apple Inc.. All rights reserved.
  3149. //
  3150. // @APPLE_LICENSE_HEADER_START@
  3151. //
  3152. // This file contains Original Code and/or Modifications of Original Code
  3153. // as defined in and that are subject to the Apple Public Source License
  3154. // Version 2.0 (the 'License'). You may not use this file except in
  3155. // compliance with the License. Please obtain a copy of the License at
  3156. // http://www.opensource.apple.com/apsl/ and read it before using this
  3157. // file.
  3158. //
  3159. // The Original Code and all software distributed under the License are
  3160. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3161. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3162. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3163. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3164. // Please see the License for the specific language governing rights and
  3165. // limitations under the License.
  3166. //
  3167. // @APPLE_LICENSE_HEADER_END@
  3168. // __MAC_NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable
  3169. // __IPHONE_NA is not defined to a value but is used as a token by macros to indicate that the API is unavailable
  3170. // Set up standard Mac OS X versions
  3171. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  3172. //
  3173. // @APPLE_LICENSE_HEADER_START@
  3174. //
  3175. // This file contains Original Code and/or Modifications of Original Code
  3176. // as defined in and that are subject to the Apple Public Source License
  3177. // Version 2.0 (the 'License'). You may not use this file except in
  3178. // compliance with the License. Please obtain a copy of the License at
  3179. // http://www.opensource.apple.com/apsl/ and read it before using this
  3180. // file.
  3181. //
  3182. // The Original Code and all software distributed under the License are
  3183. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3184. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3185. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3186. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3187. // Please see the License for the specific language governing rights and
  3188. // limitations under the License.
  3189. //
  3190. // @APPLE_LICENSE_HEADER_END@
  3191. //
  3192. // File: AvailabilityInternal.h
  3193. //
  3194. // Contains: implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  3195. //
  3196. // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  3197. // make sure a default max version is set
  3198. //
  3199. // Macros for defining which versions/platform a given symbol can be used.
  3200. //
  3201. // @see http://clang.llvm.org/docs/AttributeReference.html#availability
  3202. //
  3203. // Evaluate to nothing for compilers that don't support availability.
  3204. // Swift compiler version
  3205. // Allows for project-agnostic "epochs" for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  3206. // Example:
  3207. //
  3208. // #if __swift_compiler_version_at_least(800, 2, 20)
  3209. // - (nonnull NSString *)description;
  3210. // #else
  3211. // - (NSString *)description;
  3212. // #endif
  3213. // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  3214. // for use to document app extension usage
  3215. // for use marking APIs available info for Mac OSX
  3216. // for use marking APIs available info for iOS
  3217. // for use marking APIs available info for tvOS
  3218. // for use marking APIs available info for Watch OS
  3219. // for use marking APIs unavailable for swift
  3220. //
  3221. // Macros for defining which versions/platform a given symbol can be used.
  3222. //
  3223. // @see http://clang.llvm.org/docs/AttributeReference.html#availability
  3224. //
  3225. // * Note that these macros are only compatible with clang compilers that
  3226. // * support the following target selection options:
  3227. // *
  3228. // * -mmacosx-version-min
  3229. // * -miphoneos-version-min
  3230. // * -mwatchos-version-min
  3231. // * -mtvos-version-min
  3232. //
  3233. // Evaluate to nothing for compilers that don't support availability.
  3234. // If SPI decorations have not been defined elsewhere, disable them.
  3235. // Select uses bit masks of file descriptors in longs. These macros
  3236. // manipulate such bit fields (the filesystem macros use chars). The
  3237. // extra protection here is to permit application redefinition above
  3238. // the default size.
  3239. type Fd_set = Fd_set1 /* _fd_def.h:52:3 */
  3240. // Use the built-in bzero function instead of the library version so that
  3241. // we do not pollute the namespace or introduce prototype warnings.
  3242. type Fd_mask = X__int32_t /* types.h:189:25 */
  3243. // Select uses bit masks of file descriptors in longs. These macros
  3244. // manipulate such bit fields (the filesystem macros use chars). The
  3245. // extra protection here is to permit application redefinition above
  3246. // the default size.
  3247. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3248. //
  3249. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3250. //
  3251. // This file contains Original Code and/or Modifications of Original Code
  3252. // as defined in and that are subject to the Apple Public Source License
  3253. // Version 2.0 (the 'License'). You may not use this file except in
  3254. // compliance with the License. The rights granted to you under the License
  3255. // may not be used to create, or enable the creation or redistribution of,
  3256. // unlawful or unlicensed copies of an Apple operating system, or to
  3257. // circumvent, violate, or enable the circumvention or violation of, any
  3258. // terms of an Apple operating system software license agreement.
  3259. //
  3260. // Please obtain a copy of the License at
  3261. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3262. //
  3263. // The Original Code and all software distributed under the License are
  3264. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3265. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3266. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3267. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3268. // Please see the License for the specific language governing rights and
  3269. // limitations under the License.
  3270. //
  3271. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3272. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3273. //
  3274. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3275. //
  3276. // This file contains Original Code and/or Modifications of Original Code
  3277. // as defined in and that are subject to the Apple Public Source License
  3278. // Version 2.0 (the 'License'). You may not use this file except in
  3279. // compliance with the License. The rights granted to you under the License
  3280. // may not be used to create, or enable the creation or redistribution of,
  3281. // unlawful or unlicensed copies of an Apple operating system, or to
  3282. // circumvent, violate, or enable the circumvention or violation of, any
  3283. // terms of an Apple operating system software license agreement.
  3284. //
  3285. // Please obtain a copy of the License at
  3286. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3287. //
  3288. // The Original Code and all software distributed under the License are
  3289. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3290. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3291. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3292. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3293. // Please see the License for the specific language governing rights and
  3294. // limitations under the License.
  3295. //
  3296. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3297. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3298. //
  3299. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3300. //
  3301. // This file contains Original Code and/or Modifications of Original Code
  3302. // as defined in and that are subject to the Apple Public Source License
  3303. // Version 2.0 (the 'License'). You may not use this file except in
  3304. // compliance with the License. The rights granted to you under the License
  3305. // may not be used to create, or enable the creation or redistribution of,
  3306. // unlawful or unlicensed copies of an Apple operating system, or to
  3307. // circumvent, violate, or enable the circumvention or violation of, any
  3308. // terms of an Apple operating system software license agreement.
  3309. //
  3310. // Please obtain a copy of the License at
  3311. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3312. //
  3313. // The Original Code and all software distributed under the License are
  3314. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3315. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3316. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3317. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3318. // Please see the License for the specific language governing rights and
  3319. // limitations under the License.
  3320. //
  3321. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3322. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3323. //
  3324. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3325. //
  3326. // This file contains Original Code and/or Modifications of Original Code
  3327. // as defined in and that are subject to the Apple Public Source License
  3328. // Version 2.0 (the 'License'). You may not use this file except in
  3329. // compliance with the License. The rights granted to you under the License
  3330. // may not be used to create, or enable the creation or redistribution of,
  3331. // unlawful or unlicensed copies of an Apple operating system, or to
  3332. // circumvent, violate, or enable the circumvention or violation of, any
  3333. // terms of an Apple operating system software license agreement.
  3334. //
  3335. // Please obtain a copy of the License at
  3336. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3337. //
  3338. // The Original Code and all software distributed under the License are
  3339. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3340. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3341. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3342. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3343. // Please see the License for the specific language governing rights and
  3344. // limitations under the License.
  3345. //
  3346. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3347. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3348. //
  3349. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3350. //
  3351. // This file contains Original Code and/or Modifications of Original Code
  3352. // as defined in and that are subject to the Apple Public Source License
  3353. // Version 2.0 (the 'License'). You may not use this file except in
  3354. // compliance with the License. The rights granted to you under the License
  3355. // may not be used to create, or enable the creation or redistribution of,
  3356. // unlawful or unlicensed copies of an Apple operating system, or to
  3357. // circumvent, violate, or enable the circumvention or violation of, any
  3358. // terms of an Apple operating system software license agreement.
  3359. //
  3360. // Please obtain a copy of the License at
  3361. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3362. //
  3363. // The Original Code and all software distributed under the License are
  3364. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3365. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3366. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3367. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3368. // Please see the License for the specific language governing rights and
  3369. // limitations under the License.
  3370. //
  3371. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3372. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3373. //
  3374. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3375. //
  3376. // This file contains Original Code and/or Modifications of Original Code
  3377. // as defined in and that are subject to the Apple Public Source License
  3378. // Version 2.0 (the 'License'). You may not use this file except in
  3379. // compliance with the License. The rights granted to you under the License
  3380. // may not be used to create, or enable the creation or redistribution of,
  3381. // unlawful or unlicensed copies of an Apple operating system, or to
  3382. // circumvent, violate, or enable the circumvention or violation of, any
  3383. // terms of an Apple operating system software license agreement.
  3384. //
  3385. // Please obtain a copy of the License at
  3386. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3387. //
  3388. // The Original Code and all software distributed under the License are
  3389. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3390. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3391. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3392. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3393. // Please see the License for the specific language governing rights and
  3394. // limitations under the License.
  3395. //
  3396. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3397. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3398. //
  3399. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3400. //
  3401. // This file contains Original Code and/or Modifications of Original Code
  3402. // as defined in and that are subject to the Apple Public Source License
  3403. // Version 2.0 (the 'License'). You may not use this file except in
  3404. // compliance with the License. The rights granted to you under the License
  3405. // may not be used to create, or enable the creation or redistribution of,
  3406. // unlawful or unlicensed copies of an Apple operating system, or to
  3407. // circumvent, violate, or enable the circumvention or violation of, any
  3408. // terms of an Apple operating system software license agreement.
  3409. //
  3410. // Please obtain a copy of the License at
  3411. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3412. //
  3413. // The Original Code and all software distributed under the License are
  3414. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3415. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3416. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3417. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3418. // Please see the License for the specific language governing rights and
  3419. // limitations under the License.
  3420. //
  3421. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3422. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3423. //
  3424. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3425. //
  3426. // This file contains Original Code and/or Modifications of Original Code
  3427. // as defined in and that are subject to the Apple Public Source License
  3428. // Version 2.0 (the 'License'). You may not use this file except in
  3429. // compliance with the License. The rights granted to you under the License
  3430. // may not be used to create, or enable the creation or redistribution of,
  3431. // unlawful or unlicensed copies of an Apple operating system, or to
  3432. // circumvent, violate, or enable the circumvention or violation of, any
  3433. // terms of an Apple operating system software license agreement.
  3434. //
  3435. // Please obtain a copy of the License at
  3436. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3437. //
  3438. // The Original Code and all software distributed under the License are
  3439. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3440. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3441. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3442. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3443. // Please see the License for the specific language governing rights and
  3444. // limitations under the License.
  3445. //
  3446. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3447. type Pthread_attr_t = X__darwin_pthread_attr_t /* _pthread_attr_t.h:31:33 */
  3448. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3449. //
  3450. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3451. //
  3452. // This file contains Original Code and/or Modifications of Original Code
  3453. // as defined in and that are subject to the Apple Public Source License
  3454. // Version 2.0 (the 'License'). You may not use this file except in
  3455. // compliance with the License. The rights granted to you under the License
  3456. // may not be used to create, or enable the creation or redistribution of,
  3457. // unlawful or unlicensed copies of an Apple operating system, or to
  3458. // circumvent, violate, or enable the circumvention or violation of, any
  3459. // terms of an Apple operating system software license agreement.
  3460. //
  3461. // Please obtain a copy of the License at
  3462. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3463. //
  3464. // The Original Code and all software distributed under the License are
  3465. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3466. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3467. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3468. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3469. // Please see the License for the specific language governing rights and
  3470. // limitations under the License.
  3471. //
  3472. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3473. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3474. //
  3475. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3476. //
  3477. // This file contains Original Code and/or Modifications of Original Code
  3478. // as defined in and that are subject to the Apple Public Source License
  3479. // Version 2.0 (the 'License'). You may not use this file except in
  3480. // compliance with the License. The rights granted to you under the License
  3481. // may not be used to create, or enable the creation or redistribution of,
  3482. // unlawful or unlicensed copies of an Apple operating system, or to
  3483. // circumvent, violate, or enable the circumvention or violation of, any
  3484. // terms of an Apple operating system software license agreement.
  3485. //
  3486. // Please obtain a copy of the License at
  3487. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3488. //
  3489. // The Original Code and all software distributed under the License are
  3490. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3491. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3492. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3493. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3494. // Please see the License for the specific language governing rights and
  3495. // limitations under the License.
  3496. //
  3497. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3498. type Pthread_cond_t = X__darwin_pthread_cond_t /* _pthread_cond_t.h:31:33 */
  3499. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3500. //
  3501. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3502. //
  3503. // This file contains Original Code and/or Modifications of Original Code
  3504. // as defined in and that are subject to the Apple Public Source License
  3505. // Version 2.0 (the 'License'). You may not use this file except in
  3506. // compliance with the License. The rights granted to you under the License
  3507. // may not be used to create, or enable the creation or redistribution of,
  3508. // unlawful or unlicensed copies of an Apple operating system, or to
  3509. // circumvent, violate, or enable the circumvention or violation of, any
  3510. // terms of an Apple operating system software license agreement.
  3511. //
  3512. // Please obtain a copy of the License at
  3513. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3514. //
  3515. // The Original Code and all software distributed under the License are
  3516. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3517. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3518. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3519. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3520. // Please see the License for the specific language governing rights and
  3521. // limitations under the License.
  3522. //
  3523. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3524. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3525. //
  3526. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3527. //
  3528. // This file contains Original Code and/or Modifications of Original Code
  3529. // as defined in and that are subject to the Apple Public Source License
  3530. // Version 2.0 (the 'License'). You may not use this file except in
  3531. // compliance with the License. The rights granted to you under the License
  3532. // may not be used to create, or enable the creation or redistribution of,
  3533. // unlawful or unlicensed copies of an Apple operating system, or to
  3534. // circumvent, violate, or enable the circumvention or violation of, any
  3535. // terms of an Apple operating system software license agreement.
  3536. //
  3537. // Please obtain a copy of the License at
  3538. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3539. //
  3540. // The Original Code and all software distributed under the License are
  3541. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3542. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3543. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3544. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3545. // Please see the License for the specific language governing rights and
  3546. // limitations under the License.
  3547. //
  3548. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3549. type Pthread_condattr_t = X__darwin_pthread_condattr_t /* _pthread_condattr_t.h:31:37 */
  3550. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3551. //
  3552. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3553. //
  3554. // This file contains Original Code and/or Modifications of Original Code
  3555. // as defined in and that are subject to the Apple Public Source License
  3556. // Version 2.0 (the 'License'). You may not use this file except in
  3557. // compliance with the License. The rights granted to you under the License
  3558. // may not be used to create, or enable the creation or redistribution of,
  3559. // unlawful or unlicensed copies of an Apple operating system, or to
  3560. // circumvent, violate, or enable the circumvention or violation of, any
  3561. // terms of an Apple operating system software license agreement.
  3562. //
  3563. // Please obtain a copy of the License at
  3564. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3565. //
  3566. // The Original Code and all software distributed under the License are
  3567. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3568. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3569. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3570. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3571. // Please see the License for the specific language governing rights and
  3572. // limitations under the License.
  3573. //
  3574. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3575. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3576. //
  3577. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3578. //
  3579. // This file contains Original Code and/or Modifications of Original Code
  3580. // as defined in and that are subject to the Apple Public Source License
  3581. // Version 2.0 (the 'License'). You may not use this file except in
  3582. // compliance with the License. The rights granted to you under the License
  3583. // may not be used to create, or enable the creation or redistribution of,
  3584. // unlawful or unlicensed copies of an Apple operating system, or to
  3585. // circumvent, violate, or enable the circumvention or violation of, any
  3586. // terms of an Apple operating system software license agreement.
  3587. //
  3588. // Please obtain a copy of the License at
  3589. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3590. //
  3591. // The Original Code and all software distributed under the License are
  3592. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3593. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3594. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3595. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3596. // Please see the License for the specific language governing rights and
  3597. // limitations under the License.
  3598. //
  3599. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3600. type Pthread_mutex_t = X__darwin_pthread_mutex_t /* _pthread_mutex_t.h:31:34 */
  3601. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3602. //
  3603. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3604. //
  3605. // This file contains Original Code and/or Modifications of Original Code
  3606. // as defined in and that are subject to the Apple Public Source License
  3607. // Version 2.0 (the 'License'). You may not use this file except in
  3608. // compliance with the License. The rights granted to you under the License
  3609. // may not be used to create, or enable the creation or redistribution of,
  3610. // unlawful or unlicensed copies of an Apple operating system, or to
  3611. // circumvent, violate, or enable the circumvention or violation of, any
  3612. // terms of an Apple operating system software license agreement.
  3613. //
  3614. // Please obtain a copy of the License at
  3615. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3616. //
  3617. // The Original Code and all software distributed under the License are
  3618. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3619. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3620. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3621. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3622. // Please see the License for the specific language governing rights and
  3623. // limitations under the License.
  3624. //
  3625. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3626. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3627. //
  3628. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3629. //
  3630. // This file contains Original Code and/or Modifications of Original Code
  3631. // as defined in and that are subject to the Apple Public Source License
  3632. // Version 2.0 (the 'License'). You may not use this file except in
  3633. // compliance with the License. The rights granted to you under the License
  3634. // may not be used to create, or enable the creation or redistribution of,
  3635. // unlawful or unlicensed copies of an Apple operating system, or to
  3636. // circumvent, violate, or enable the circumvention or violation of, any
  3637. // terms of an Apple operating system software license agreement.
  3638. //
  3639. // Please obtain a copy of the License at
  3640. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3641. //
  3642. // The Original Code and all software distributed under the License are
  3643. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3644. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3645. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3646. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3647. // Please see the License for the specific language governing rights and
  3648. // limitations under the License.
  3649. //
  3650. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3651. type Pthread_mutexattr_t = X__darwin_pthread_mutexattr_t /* _pthread_mutexattr_t.h:31:38 */
  3652. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3653. //
  3654. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3655. //
  3656. // This file contains Original Code and/or Modifications of Original Code
  3657. // as defined in and that are subject to the Apple Public Source License
  3658. // Version 2.0 (the 'License'). You may not use this file except in
  3659. // compliance with the License. The rights granted to you under the License
  3660. // may not be used to create, or enable the creation or redistribution of,
  3661. // unlawful or unlicensed copies of an Apple operating system, or to
  3662. // circumvent, violate, or enable the circumvention or violation of, any
  3663. // terms of an Apple operating system software license agreement.
  3664. //
  3665. // Please obtain a copy of the License at
  3666. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3667. //
  3668. // The Original Code and all software distributed under the License are
  3669. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3670. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3671. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3672. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3673. // Please see the License for the specific language governing rights and
  3674. // limitations under the License.
  3675. //
  3676. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3677. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3678. //
  3679. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3680. //
  3681. // This file contains Original Code and/or Modifications of Original Code
  3682. // as defined in and that are subject to the Apple Public Source License
  3683. // Version 2.0 (the 'License'). You may not use this file except in
  3684. // compliance with the License. The rights granted to you under the License
  3685. // may not be used to create, or enable the creation or redistribution of,
  3686. // unlawful or unlicensed copies of an Apple operating system, or to
  3687. // circumvent, violate, or enable the circumvention or violation of, any
  3688. // terms of an Apple operating system software license agreement.
  3689. //
  3690. // Please obtain a copy of the License at
  3691. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3692. //
  3693. // The Original Code and all software distributed under the License are
  3694. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3695. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3696. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3697. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3698. // Please see the License for the specific language governing rights and
  3699. // limitations under the License.
  3700. //
  3701. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3702. type Pthread_once_t = X__darwin_pthread_once_t /* _pthread_once_t.h:31:33 */
  3703. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3704. //
  3705. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3706. //
  3707. // This file contains Original Code and/or Modifications of Original Code
  3708. // as defined in and that are subject to the Apple Public Source License
  3709. // Version 2.0 (the 'License'). You may not use this file except in
  3710. // compliance with the License. The rights granted to you under the License
  3711. // may not be used to create, or enable the creation or redistribution of,
  3712. // unlawful or unlicensed copies of an Apple operating system, or to
  3713. // circumvent, violate, or enable the circumvention or violation of, any
  3714. // terms of an Apple operating system software license agreement.
  3715. //
  3716. // Please obtain a copy of the License at
  3717. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3718. //
  3719. // The Original Code and all software distributed under the License are
  3720. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3721. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3722. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3723. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3724. // Please see the License for the specific language governing rights and
  3725. // limitations under the License.
  3726. //
  3727. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3728. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3729. //
  3730. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3731. //
  3732. // This file contains Original Code and/or Modifications of Original Code
  3733. // as defined in and that are subject to the Apple Public Source License
  3734. // Version 2.0 (the 'License'). You may not use this file except in
  3735. // compliance with the License. The rights granted to you under the License
  3736. // may not be used to create, or enable the creation or redistribution of,
  3737. // unlawful or unlicensed copies of an Apple operating system, or to
  3738. // circumvent, violate, or enable the circumvention or violation of, any
  3739. // terms of an Apple operating system software license agreement.
  3740. //
  3741. // Please obtain a copy of the License at
  3742. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3743. //
  3744. // The Original Code and all software distributed under the License are
  3745. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3746. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3747. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3748. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3749. // Please see the License for the specific language governing rights and
  3750. // limitations under the License.
  3751. //
  3752. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3753. type Pthread_rwlock_t = X__darwin_pthread_rwlock_t /* _pthread_rwlock_t.h:31:35 */
  3754. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3755. //
  3756. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3757. //
  3758. // This file contains Original Code and/or Modifications of Original Code
  3759. // as defined in and that are subject to the Apple Public Source License
  3760. // Version 2.0 (the 'License'). You may not use this file except in
  3761. // compliance with the License. The rights granted to you under the License
  3762. // may not be used to create, or enable the creation or redistribution of,
  3763. // unlawful or unlicensed copies of an Apple operating system, or to
  3764. // circumvent, violate, or enable the circumvention or violation of, any
  3765. // terms of an Apple operating system software license agreement.
  3766. //
  3767. // Please obtain a copy of the License at
  3768. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3769. //
  3770. // The Original Code and all software distributed under the License are
  3771. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3772. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3773. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3774. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3775. // Please see the License for the specific language governing rights and
  3776. // limitations under the License.
  3777. //
  3778. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3779. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3780. //
  3781. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3782. //
  3783. // This file contains Original Code and/or Modifications of Original Code
  3784. // as defined in and that are subject to the Apple Public Source License
  3785. // Version 2.0 (the 'License'). You may not use this file except in
  3786. // compliance with the License. The rights granted to you under the License
  3787. // may not be used to create, or enable the creation or redistribution of,
  3788. // unlawful or unlicensed copies of an Apple operating system, or to
  3789. // circumvent, violate, or enable the circumvention or violation of, any
  3790. // terms of an Apple operating system software license agreement.
  3791. //
  3792. // Please obtain a copy of the License at
  3793. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3794. //
  3795. // The Original Code and all software distributed under the License are
  3796. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3797. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3798. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3799. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3800. // Please see the License for the specific language governing rights and
  3801. // limitations under the License.
  3802. //
  3803. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3804. type Pthread_rwlockattr_t = X__darwin_pthread_rwlockattr_t /* _pthread_rwlockattr_t.h:31:39 */
  3805. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3806. //
  3807. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3808. //
  3809. // This file contains Original Code and/or Modifications of Original Code
  3810. // as defined in and that are subject to the Apple Public Source License
  3811. // Version 2.0 (the 'License'). You may not use this file except in
  3812. // compliance with the License. The rights granted to you under the License
  3813. // may not be used to create, or enable the creation or redistribution of,
  3814. // unlawful or unlicensed copies of an Apple operating system, or to
  3815. // circumvent, violate, or enable the circumvention or violation of, any
  3816. // terms of an Apple operating system software license agreement.
  3817. //
  3818. // Please obtain a copy of the License at
  3819. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3820. //
  3821. // The Original Code and all software distributed under the License are
  3822. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3823. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3824. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3825. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3826. // Please see the License for the specific language governing rights and
  3827. // limitations under the License.
  3828. //
  3829. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3830. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3831. //
  3832. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3833. //
  3834. // This file contains Original Code and/or Modifications of Original Code
  3835. // as defined in and that are subject to the Apple Public Source License
  3836. // Version 2.0 (the 'License'). You may not use this file except in
  3837. // compliance with the License. The rights granted to you under the License
  3838. // may not be used to create, or enable the creation or redistribution of,
  3839. // unlawful or unlicensed copies of an Apple operating system, or to
  3840. // circumvent, violate, or enable the circumvention or violation of, any
  3841. // terms of an Apple operating system software license agreement.
  3842. //
  3843. // Please obtain a copy of the License at
  3844. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3845. //
  3846. // The Original Code and all software distributed under the License are
  3847. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3848. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3849. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3850. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3851. // Please see the License for the specific language governing rights and
  3852. // limitations under the License.
  3853. //
  3854. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3855. type Pthread_t = X__darwin_pthread_t /* _pthread_t.h:31:28 */
  3856. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3857. //
  3858. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3859. //
  3860. // This file contains Original Code and/or Modifications of Original Code
  3861. // as defined in and that are subject to the Apple Public Source License
  3862. // Version 2.0 (the 'License'). You may not use this file except in
  3863. // compliance with the License. The rights granted to you under the License
  3864. // may not be used to create, or enable the creation or redistribution of,
  3865. // unlawful or unlicensed copies of an Apple operating system, or to
  3866. // circumvent, violate, or enable the circumvention or violation of, any
  3867. // terms of an Apple operating system software license agreement.
  3868. //
  3869. // Please obtain a copy of the License at
  3870. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3871. //
  3872. // The Original Code and all software distributed under the License are
  3873. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3874. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3875. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3876. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3877. // Please see the License for the specific language governing rights and
  3878. // limitations under the License.
  3879. //
  3880. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3881. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  3882. //
  3883. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3884. //
  3885. // This file contains Original Code and/or Modifications of Original Code
  3886. // as defined in and that are subject to the Apple Public Source License
  3887. // Version 2.0 (the 'License'). You may not use this file except in
  3888. // compliance with the License. The rights granted to you under the License
  3889. // may not be used to create, or enable the creation or redistribution of,
  3890. // unlawful or unlicensed copies of an Apple operating system, or to
  3891. // circumvent, violate, or enable the circumvention or violation of, any
  3892. // terms of an Apple operating system software license agreement.
  3893. //
  3894. // Please obtain a copy of the License at
  3895. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3896. //
  3897. // The Original Code and all software distributed under the License are
  3898. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3899. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3900. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3901. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3902. // Please see the License for the specific language governing rights and
  3903. // limitations under the License.
  3904. //
  3905. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3906. type Pthread_key_t = X__darwin_pthread_key_t /* _pthread_key_t.h:31:32 */
  3907. // statvfs and fstatvfs
  3908. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3909. //
  3910. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3911. //
  3912. // This file contains Original Code and/or Modifications of Original Code
  3913. // as defined in and that are subject to the Apple Public Source License
  3914. // Version 2.0 (the 'License'). You may not use this file except in
  3915. // compliance with the License. The rights granted to you under the License
  3916. // may not be used to create, or enable the creation or redistribution of,
  3917. // unlawful or unlicensed copies of an Apple operating system, or to
  3918. // circumvent, violate, or enable the circumvention or violation of, any
  3919. // terms of an Apple operating system software license agreement.
  3920. //
  3921. // Please obtain a copy of the License at
  3922. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3923. //
  3924. // The Original Code and all software distributed under the License are
  3925. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3926. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3927. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3928. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3929. // Please see the License for the specific language governing rights and
  3930. // limitations under the License.
  3931. //
  3932. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3933. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3934. //
  3935. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3936. //
  3937. // This file contains Original Code and/or Modifications of Original Code
  3938. // as defined in and that are subject to the Apple Public Source License
  3939. // Version 2.0 (the 'License'). You may not use this file except in
  3940. // compliance with the License. The rights granted to you under the License
  3941. // may not be used to create, or enable the creation or redistribution of,
  3942. // unlawful or unlicensed copies of an Apple operating system, or to
  3943. // circumvent, violate, or enable the circumvention or violation of, any
  3944. // terms of an Apple operating system software license agreement.
  3945. //
  3946. // Please obtain a copy of the License at
  3947. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3948. //
  3949. // The Original Code and all software distributed under the License are
  3950. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3951. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3952. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3953. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3954. // Please see the License for the specific language governing rights and
  3955. // limitations under the License.
  3956. //
  3957. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3958. type Fsblkcnt_t = X__darwin_fsblkcnt_t /* _fsblkcnt_t.h:31:41 */
  3959. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  3960. //
  3961. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3962. //
  3963. // This file contains Original Code and/or Modifications of Original Code
  3964. // as defined in and that are subject to the Apple Public Source License
  3965. // Version 2.0 (the 'License'). You may not use this file except in
  3966. // compliance with the License. The rights granted to you under the License
  3967. // may not be used to create, or enable the creation or redistribution of,
  3968. // unlawful or unlicensed copies of an Apple operating system, or to
  3969. // circumvent, violate, or enable the circumvention or violation of, any
  3970. // terms of an Apple operating system software license agreement.
  3971. //
  3972. // Please obtain a copy of the License at
  3973. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3974. //
  3975. // The Original Code and all software distributed under the License are
  3976. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  3977. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  3978. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  3979. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  3980. // Please see the License for the specific language governing rights and
  3981. // limitations under the License.
  3982. //
  3983. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  3984. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  3985. //
  3986. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  3987. //
  3988. // This file contains Original Code and/or Modifications of Original Code
  3989. // as defined in and that are subject to the Apple Public Source License
  3990. // Version 2.0 (the 'License'). You may not use this file except in
  3991. // compliance with the License. The rights granted to you under the License
  3992. // may not be used to create, or enable the creation or redistribution of,
  3993. // unlawful or unlicensed copies of an Apple operating system, or to
  3994. // circumvent, violate, or enable the circumvention or violation of, any
  3995. // terms of an Apple operating system software license agreement.
  3996. //
  3997. // Please obtain a copy of the License at
  3998. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  3999. //
  4000. // The Original Code and all software distributed under the License are
  4001. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4002. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4003. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4004. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4005. // Please see the License for the specific language governing rights and
  4006. // limitations under the License.
  4007. //
  4008. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4009. type Fsfilcnt_t = X__darwin_fsfilcnt_t /* _fsfilcnt_t.h:31:41 */
  4010. // Copyright (c) 2000-2014 Apple Inc. All rights reserved.
  4011. //
  4012. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4013. //
  4014. // This file contains Original Code and/or Modifications of Original Code
  4015. // as defined in and that are subject to the Apple Public Source License
  4016. // Version 2.0 (the 'License'). You may not use this file except in
  4017. // compliance with the License. The rights granted to you under the License
  4018. // may not be used to create, or enable the creation or redistribution of,
  4019. // unlawful or unlicensed copies of an Apple operating system, or to
  4020. // circumvent, violate, or enable the circumvention or violation of, any
  4021. // terms of an Apple operating system software license agreement.
  4022. //
  4023. // Please obtain a copy of the License at
  4024. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4025. //
  4026. // The Original Code and all software distributed under the License are
  4027. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4028. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4029. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4030. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4031. // Please see the License for the specific language governing rights and
  4032. // limitations under the License.
  4033. //
  4034. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4035. // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  4036. // -
  4037. // Copyright (c) 1982, 1986, 1989, 1993
  4038. // The Regents of the University of California. All rights reserved.
  4039. // (c) UNIX System Laboratories, Inc.
  4040. // All or some portions of this file are derived from material licensed
  4041. // to the University of California by American Telephone and Telegraph
  4042. // Co. or Unix System Laboratories, Inc. and are reproduced herein with
  4043. // the permission of UNIX System Laboratories, Inc.
  4044. //
  4045. // Redistribution and use in source and binary forms, with or without
  4046. // modification, are permitted provided that the following conditions
  4047. // are met:
  4048. // 1. Redistributions of source code must retain the above copyright
  4049. // notice, this list of conditions and the following disclaimer.
  4050. // 2. Redistributions in binary form must reproduce the above copyright
  4051. // notice, this list of conditions and the following disclaimer in the
  4052. // documentation and/or other materials provided with the distribution.
  4053. // 3. All advertising materials mentioning features or use of this software
  4054. // must display the following acknowledgement:
  4055. // This product includes software developed by the University of
  4056. // California, Berkeley and its contributors.
  4057. // 4. Neither the name of the University nor the names of its contributors
  4058. // may be used to endorse or promote products derived from this software
  4059. // without specific prior written permission.
  4060. //
  4061. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4062. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4063. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4064. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4065. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4066. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4067. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4068. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4069. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4070. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4071. // SUCH DAMAGE.
  4072. //
  4073. // @(#)stat.h 8.9 (Berkeley) 8/17/94
  4074. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4075. //
  4076. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4077. //
  4078. // This file contains Original Code and/or Modifications of Original Code
  4079. // as defined in and that are subject to the Apple Public Source License
  4080. // Version 2.0 (the 'License'). You may not use this file except in
  4081. // compliance with the License. The rights granted to you under the License
  4082. // may not be used to create, or enable the creation or redistribution of,
  4083. // unlawful or unlicensed copies of an Apple operating system, or to
  4084. // circumvent, violate, or enable the circumvention or violation of, any
  4085. // terms of an Apple operating system software license agreement.
  4086. //
  4087. // Please obtain a copy of the License at
  4088. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4089. //
  4090. // The Original Code and all software distributed under the License are
  4091. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4092. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4093. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4094. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4095. // Please see the License for the specific language governing rights and
  4096. // limitations under the License.
  4097. //
  4098. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4099. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  4100. //
  4101. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4102. //
  4103. // This file contains Original Code and/or Modifications of Original Code
  4104. // as defined in and that are subject to the Apple Public Source License
  4105. // Version 2.0 (the 'License'). You may not use this file except in
  4106. // compliance with the License. The rights granted to you under the License
  4107. // may not be used to create, or enable the creation or redistribution of,
  4108. // unlawful or unlicensed copies of an Apple operating system, or to
  4109. // circumvent, violate, or enable the circumvention or violation of, any
  4110. // terms of an Apple operating system software license agreement.
  4111. //
  4112. // Please obtain a copy of the License at
  4113. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4114. //
  4115. // The Original Code and all software distributed under the License are
  4116. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4117. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4118. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4119. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4120. // Please see the License for the specific language governing rights and
  4121. // limitations under the License.
  4122. //
  4123. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4124. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4125. // Copyright (c) 1991, 1993
  4126. // The Regents of the University of California. All rights reserved.
  4127. //
  4128. // This code is derived from software contributed to Berkeley by
  4129. // Berkeley Software Design, Inc.
  4130. //
  4131. // Redistribution and use in source and binary forms, with or without
  4132. // modification, are permitted provided that the following conditions
  4133. // are met:
  4134. // 1. Redistributions of source code must retain the above copyright
  4135. // notice, this list of conditions and the following disclaimer.
  4136. // 2. Redistributions in binary form must reproduce the above copyright
  4137. // notice, this list of conditions and the following disclaimer in the
  4138. // documentation and/or other materials provided with the distribution.
  4139. // 3. All advertising materials mentioning features or use of this software
  4140. // must display the following acknowledgement:
  4141. // This product includes software developed by the University of
  4142. // California, Berkeley and its contributors.
  4143. // 4. Neither the name of the University nor the names of its contributors
  4144. // may be used to endorse or promote products derived from this software
  4145. // without specific prior written permission.
  4146. //
  4147. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4148. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4149. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4150. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4151. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4152. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4153. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4154. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4155. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4156. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4157. // SUCH DAMAGE.
  4158. //
  4159. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  4160. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  4161. //
  4162. // @APPLE_LICENSE_HEADER_START@
  4163. //
  4164. // This file contains Original Code and/or Modifications of Original Code
  4165. // as defined in and that are subject to the Apple Public Source License
  4166. // Version 2.0 (the 'License'). You may not use this file except in
  4167. // compliance with the License. Please obtain a copy of the License at
  4168. // http://www.opensource.apple.com/apsl/ and read it before using this
  4169. // file.
  4170. //
  4171. // The Original Code and all software distributed under the License are
  4172. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4173. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4174. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4175. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4176. // Please see the License for the specific language governing rights and
  4177. // limitations under the License.
  4178. //
  4179. // @APPLE_LICENSE_HEADER_END@
  4180. // [XSI] The timespec structure may be defined as described in <time.h>
  4181. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4182. //
  4183. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4184. //
  4185. // This file contains Original Code and/or Modifications of Original Code
  4186. // as defined in and that are subject to the Apple Public Source License
  4187. // Version 2.0 (the 'License'). You may not use this file except in
  4188. // compliance with the License. The rights granted to you under the License
  4189. // may not be used to create, or enable the creation or redistribution of,
  4190. // unlawful or unlicensed copies of an Apple operating system, or to
  4191. // circumvent, violate, or enable the circumvention or violation of, any
  4192. // terms of an Apple operating system software license agreement.
  4193. //
  4194. // Please obtain a copy of the License at
  4195. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4196. //
  4197. // The Original Code and all software distributed under the License are
  4198. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4199. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4200. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4201. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4202. // Please see the License for the specific language governing rights and
  4203. // limitations under the License.
  4204. //
  4205. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4206. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4207. //
  4208. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4209. //
  4210. // This file contains Original Code and/or Modifications of Original Code
  4211. // as defined in and that are subject to the Apple Public Source License
  4212. // Version 2.0 (the 'License'). You may not use this file except in
  4213. // compliance with the License. The rights granted to you under the License
  4214. // may not be used to create, or enable the creation or redistribution of,
  4215. // unlawful or unlicensed copies of an Apple operating system, or to
  4216. // circumvent, violate, or enable the circumvention or violation of, any
  4217. // terms of an Apple operating system software license agreement.
  4218. //
  4219. // Please obtain a copy of the License at
  4220. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4221. //
  4222. // The Original Code and all software distributed under the License are
  4223. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4224. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4225. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4226. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4227. // Please see the License for the specific language governing rights and
  4228. // limitations under the License.
  4229. //
  4230. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4231. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4232. type Timespec = struct {
  4233. Ftv_sec X__darwin_time_t
  4234. Ftv_nsec int64
  4235. } /* _timespec.h:33:1 */
  4236. // [XSI] The blkcnt_t, blksize_t, dev_t, ino_t, mode_t, nlink_t, uid_t,
  4237. // gid_t, off_t, and time_t types shall be defined as described in
  4238. // <sys/types.h>.
  4239. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4240. //
  4241. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4242. //
  4243. // This file contains Original Code and/or Modifications of Original Code
  4244. // as defined in and that are subject to the Apple Public Source License
  4245. // Version 2.0 (the 'License'). You may not use this file except in
  4246. // compliance with the License. The rights granted to you under the License
  4247. // may not be used to create, or enable the creation or redistribution of,
  4248. // unlawful or unlicensed copies of an Apple operating system, or to
  4249. // circumvent, violate, or enable the circumvention or violation of, any
  4250. // terms of an Apple operating system software license agreement.
  4251. //
  4252. // Please obtain a copy of the License at
  4253. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4254. //
  4255. // The Original Code and all software distributed under the License are
  4256. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4257. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4258. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4259. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4260. // Please see the License for the specific language governing rights and
  4261. // limitations under the License.
  4262. //
  4263. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4264. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4265. //
  4266. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4267. //
  4268. // This file contains Original Code and/or Modifications of Original Code
  4269. // as defined in and that are subject to the Apple Public Source License
  4270. // Version 2.0 (the 'License'). You may not use this file except in
  4271. // compliance with the License. The rights granted to you under the License
  4272. // may not be used to create, or enable the creation or redistribution of,
  4273. // unlawful or unlicensed copies of an Apple operating system, or to
  4274. // circumvent, violate, or enable the circumvention or violation of, any
  4275. // terms of an Apple operating system software license agreement.
  4276. //
  4277. // Please obtain a copy of the License at
  4278. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4279. //
  4280. // The Original Code and all software distributed under the License are
  4281. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4282. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4283. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4284. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4285. // Please see the License for the specific language governing rights and
  4286. // limitations under the License.
  4287. //
  4288. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4289. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4290. //
  4291. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4292. //
  4293. // This file contains Original Code and/or Modifications of Original Code
  4294. // as defined in and that are subject to the Apple Public Source License
  4295. // Version 2.0 (the 'License'). You may not use this file except in
  4296. // compliance with the License. The rights granted to you under the License
  4297. // may not be used to create, or enable the creation or redistribution of,
  4298. // unlawful or unlicensed copies of an Apple operating system, or to
  4299. // circumvent, violate, or enable the circumvention or violation of, any
  4300. // terms of an Apple operating system software license agreement.
  4301. //
  4302. // Please obtain a copy of the License at
  4303. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4304. //
  4305. // The Original Code and all software distributed under the License are
  4306. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4307. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4308. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4309. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4310. // Please see the License for the specific language governing rights and
  4311. // limitations under the License.
  4312. //
  4313. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4314. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4315. //
  4316. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4317. //
  4318. // This file contains Original Code and/or Modifications of Original Code
  4319. // as defined in and that are subject to the Apple Public Source License
  4320. // Version 2.0 (the 'License'). You may not use this file except in
  4321. // compliance with the License. The rights granted to you under the License
  4322. // may not be used to create, or enable the creation or redistribution of,
  4323. // unlawful or unlicensed copies of an Apple operating system, or to
  4324. // circumvent, violate, or enable the circumvention or violation of, any
  4325. // terms of an Apple operating system software license agreement.
  4326. //
  4327. // Please obtain a copy of the License at
  4328. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4329. //
  4330. // The Original Code and all software distributed under the License are
  4331. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4332. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4333. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4334. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4335. // Please see the License for the specific language governing rights and
  4336. // limitations under the License.
  4337. //
  4338. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4339. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4340. //
  4341. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4342. //
  4343. // This file contains Original Code and/or Modifications of Original Code
  4344. // as defined in and that are subject to the Apple Public Source License
  4345. // Version 2.0 (the 'License'). You may not use this file except in
  4346. // compliance with the License. The rights granted to you under the License
  4347. // may not be used to create, or enable the creation or redistribution of,
  4348. // unlawful or unlicensed copies of an Apple operating system, or to
  4349. // circumvent, violate, or enable the circumvention or violation of, any
  4350. // terms of an Apple operating system software license agreement.
  4351. //
  4352. // Please obtain a copy of the License at
  4353. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4354. //
  4355. // The Original Code and all software distributed under the License are
  4356. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4357. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4358. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4359. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4360. // Please see the License for the specific language governing rights and
  4361. // limitations under the License.
  4362. //
  4363. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4364. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4365. //
  4366. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4367. //
  4368. // This file contains Original Code and/or Modifications of Original Code
  4369. // as defined in and that are subject to the Apple Public Source License
  4370. // Version 2.0 (the 'License'). You may not use this file except in
  4371. // compliance with the License. The rights granted to you under the License
  4372. // may not be used to create, or enable the creation or redistribution of,
  4373. // unlawful or unlicensed copies of an Apple operating system, or to
  4374. // circumvent, violate, or enable the circumvention or violation of, any
  4375. // terms of an Apple operating system software license agreement.
  4376. //
  4377. // Please obtain a copy of the License at
  4378. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4379. //
  4380. // The Original Code and all software distributed under the License are
  4381. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4382. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4383. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4384. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4385. // Please see the License for the specific language governing rights and
  4386. // limitations under the License.
  4387. //
  4388. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4389. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4390. //
  4391. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4392. //
  4393. // This file contains Original Code and/or Modifications of Original Code
  4394. // as defined in and that are subject to the Apple Public Source License
  4395. // Version 2.0 (the 'License'). You may not use this file except in
  4396. // compliance with the License. The rights granted to you under the License
  4397. // may not be used to create, or enable the creation or redistribution of,
  4398. // unlawful or unlicensed copies of an Apple operating system, or to
  4399. // circumvent, violate, or enable the circumvention or violation of, any
  4400. // terms of an Apple operating system software license agreement.
  4401. //
  4402. // Please obtain a copy of the License at
  4403. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4404. //
  4405. // The Original Code and all software distributed under the License are
  4406. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4407. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4408. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4409. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4410. // Please see the License for the specific language governing rights and
  4411. // limitations under the License.
  4412. //
  4413. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4414. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4415. //
  4416. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4417. //
  4418. // This file contains Original Code and/or Modifications of Original Code
  4419. // as defined in and that are subject to the Apple Public Source License
  4420. // Version 2.0 (the 'License'). You may not use this file except in
  4421. // compliance with the License. The rights granted to you under the License
  4422. // may not be used to create, or enable the creation or redistribution of,
  4423. // unlawful or unlicensed copies of an Apple operating system, or to
  4424. // circumvent, violate, or enable the circumvention or violation of, any
  4425. // terms of an Apple operating system software license agreement.
  4426. //
  4427. // Please obtain a copy of the License at
  4428. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4429. //
  4430. // The Original Code and all software distributed under the License are
  4431. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4432. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4433. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4434. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4435. // Please see the License for the specific language governing rights and
  4436. // limitations under the License.
  4437. //
  4438. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4439. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4440. //
  4441. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4442. //
  4443. // This file contains Original Code and/or Modifications of Original Code
  4444. // as defined in and that are subject to the Apple Public Source License
  4445. // Version 2.0 (the 'License'). You may not use this file except in
  4446. // compliance with the License. The rights granted to you under the License
  4447. // may not be used to create, or enable the creation or redistribution of,
  4448. // unlawful or unlicensed copies of an Apple operating system, or to
  4449. // circumvent, violate, or enable the circumvention or violation of, any
  4450. // terms of an Apple operating system software license agreement.
  4451. //
  4452. // Please obtain a copy of the License at
  4453. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4454. //
  4455. // The Original Code and all software distributed under the License are
  4456. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4457. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4458. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4459. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4460. // Please see the License for the specific language governing rights and
  4461. // limitations under the License.
  4462. //
  4463. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4464. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4465. //
  4466. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4467. //
  4468. // This file contains Original Code and/or Modifications of Original Code
  4469. // as defined in and that are subject to the Apple Public Source License
  4470. // Version 2.0 (the 'License'). You may not use this file except in
  4471. // compliance with the License. The rights granted to you under the License
  4472. // may not be used to create, or enable the creation or redistribution of,
  4473. // unlawful or unlicensed copies of an Apple operating system, or to
  4474. // circumvent, violate, or enable the circumvention or violation of, any
  4475. // terms of an Apple operating system software license agreement.
  4476. //
  4477. // Please obtain a copy of the License at
  4478. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4479. //
  4480. // The Original Code and all software distributed under the License are
  4481. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4482. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4483. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4484. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4485. // Please see the License for the specific language governing rights and
  4486. // limitations under the License.
  4487. //
  4488. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4489. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4490. //
  4491. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4492. //
  4493. // This file contains Original Code and/or Modifications of Original Code
  4494. // as defined in and that are subject to the Apple Public Source License
  4495. // Version 2.0 (the 'License'). You may not use this file except in
  4496. // compliance with the License. The rights granted to you under the License
  4497. // may not be used to create, or enable the creation or redistribution of,
  4498. // unlawful or unlicensed copies of an Apple operating system, or to
  4499. // circumvent, violate, or enable the circumvention or violation of, any
  4500. // terms of an Apple operating system software license agreement.
  4501. //
  4502. // Please obtain a copy of the License at
  4503. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4504. //
  4505. // The Original Code and all software distributed under the License are
  4506. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4507. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4508. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4509. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4510. // Please see the License for the specific language governing rights and
  4511. // limitations under the License.
  4512. //
  4513. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4514. // XXX So deprecated, it would make your head spin
  4515. //
  4516. // The old stat structure. In fact, this is not used by the kernel at all,
  4517. // and should not be used by user space, and should be removed from this
  4518. // header file entirely (along with the unused cvtstat() prototype in
  4519. // vnode_internal.h).
  4520. type Ostat = struct {
  4521. Fst_dev X__uint16_t
  4522. F__ccgo_pad1 [6]byte
  4523. Fst_ino Ino_t
  4524. Fst_mode Mode_t
  4525. Fst_nlink Nlink_t
  4526. Fst_uid X__uint16_t
  4527. Fst_gid X__uint16_t
  4528. Fst_rdev X__uint16_t
  4529. F__ccgo_pad2 [2]byte
  4530. Fst_size X__int32_t
  4531. Fst_atimespec struct {
  4532. Ftv_sec X__darwin_time_t
  4533. Ftv_nsec int64
  4534. }
  4535. Fst_mtimespec struct {
  4536. Ftv_sec X__darwin_time_t
  4537. Ftv_nsec int64
  4538. }
  4539. Fst_ctimespec struct {
  4540. Ftv_sec X__darwin_time_t
  4541. Ftv_nsec int64
  4542. }
  4543. Fst_blksize X__int32_t
  4544. Fst_blocks X__int32_t
  4545. Fst_flags X__uint32_t
  4546. Fst_gen X__uint32_t
  4547. } /* stat.h:110:1 */
  4548. // This structure is used as the second parameter to the fstat64(),
  4549. // lstat64(), and stat64() functions, and for struct stat when
  4550. // __DARWIN_64_BIT_INO_T is set. __DARWIN_STRUCT_STAT64 is defined
  4551. // above, depending on whether we use struct timespec or the direct
  4552. // components.
  4553. //
  4554. // This is simillar to stat except for 64bit inode number
  4555. // number instead of 32bit ino_t and the addition of create(birth) time.
  4556. // [XSI] This structure is used as the second parameter to the fstat(),
  4557. // lstat(), and stat() functions.
  4558. type Stat = struct {
  4559. Fst_dev Dev_t
  4560. Fst_mode Mode_t
  4561. Fst_nlink Nlink_t
  4562. Fst_ino X__darwin_ino64_t
  4563. Fst_uid Uid_t
  4564. Fst_gid Gid_t
  4565. Fst_rdev Dev_t
  4566. F__ccgo_pad1 [4]byte
  4567. Fst_atimespec struct {
  4568. Ftv_sec X__darwin_time_t
  4569. Ftv_nsec int64
  4570. }
  4571. Fst_mtimespec struct {
  4572. Ftv_sec X__darwin_time_t
  4573. Ftv_nsec int64
  4574. }
  4575. Fst_ctimespec struct {
  4576. Ftv_sec X__darwin_time_t
  4577. Ftv_nsec int64
  4578. }
  4579. Fst_birthtimespec struct {
  4580. Ftv_sec X__darwin_time_t
  4581. Ftv_nsec int64
  4582. }
  4583. Fst_size Off_t
  4584. Fst_blocks Blkcnt_t
  4585. Fst_blksize Blksize_t
  4586. Fst_flags X__uint32_t
  4587. Fst_gen X__uint32_t
  4588. Fst_lspare X__int32_t
  4589. Fst_qspare [2]X__int64_t
  4590. } /* stat.h:182:1 */
  4591. type Filesec_t = uintptr /* _filesec_t.h:31:25 */
  4592. // Copyright (c) 2000, 2003-2006, 2008, 2012 Apple Inc. All rights reserved.
  4593. //
  4594. // @APPLE_LICENSE_HEADER_START@
  4595. //
  4596. // This file contains Original Code and/or Modifications of Original Code
  4597. // as defined in and that are subject to the Apple Public Source License
  4598. // Version 2.0 (the 'License'). You may not use this file except in
  4599. // compliance with the License. Please obtain a copy of the License at
  4600. // http://www.opensource.apple.com/apsl/ and read it before using this
  4601. // file.
  4602. //
  4603. // The Original Code and all software distributed under the License are
  4604. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4605. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4606. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4607. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4608. // Please see the License for the specific language governing rights and
  4609. // limitations under the License.
  4610. //
  4611. // @APPLE_LICENSE_HEADER_END@
  4612. // Copyright (c) 1989, 1993
  4613. // The Regents of the University of California. All rights reserved.
  4614. //
  4615. // Redistribution and use in source and binary forms, with or without
  4616. // modification, are permitted provided that the following conditions
  4617. // are met:
  4618. // 1. Redistributions of source code must retain the above copyright
  4619. // notice, this list of conditions and the following disclaimer.
  4620. // 2. Redistributions in binary form must reproduce the above copyright
  4621. // notice, this list of conditions and the following disclaimer in the
  4622. // documentation and/or other materials provided with the distribution.
  4623. // 3. All advertising materials mentioning features or use of this software
  4624. // must display the following acknowledgement:
  4625. // This product includes software developed by the University of
  4626. // California, Berkeley and its contributors.
  4627. // 4. Neither the name of the University nor the names of its contributors
  4628. // may be used to endorse or promote products derived from this software
  4629. // without specific prior written permission.
  4630. //
  4631. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4632. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4633. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4634. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4635. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4636. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4637. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4638. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4639. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4640. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4641. // SUCH DAMAGE.
  4642. //
  4643. // @(#)fts.h 8.3 (Berkeley) 8/14/94
  4644. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4645. //
  4646. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4647. //
  4648. // This file contains Original Code and/or Modifications of Original Code
  4649. // as defined in and that are subject to the Apple Public Source License
  4650. // Version 2.0 (the 'License'). You may not use this file except in
  4651. // compliance with the License. The rights granted to you under the License
  4652. // may not be used to create, or enable the creation or redistribution of,
  4653. // unlawful or unlicensed copies of an Apple operating system, or to
  4654. // circumvent, violate, or enable the circumvention or violation of, any
  4655. // terms of an Apple operating system software license agreement.
  4656. //
  4657. // Please obtain a copy of the License at
  4658. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4659. //
  4660. // The Original Code and all software distributed under the License are
  4661. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4662. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4663. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4664. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4665. // Please see the License for the specific language governing rights and
  4666. // limitations under the License.
  4667. //
  4668. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4669. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4670. //
  4671. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4672. //
  4673. // This file contains Original Code and/or Modifications of Original Code
  4674. // as defined in and that are subject to the Apple Public Source License
  4675. // Version 2.0 (the 'License'). You may not use this file except in
  4676. // compliance with the License. The rights granted to you under the License
  4677. // may not be used to create, or enable the creation or redistribution of,
  4678. // unlawful or unlicensed copies of an Apple operating system, or to
  4679. // circumvent, violate, or enable the circumvention or violation of, any
  4680. // terms of an Apple operating system software license agreement.
  4681. //
  4682. // Please obtain a copy of the License at
  4683. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4684. //
  4685. // The Original Code and all software distributed under the License are
  4686. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4687. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4688. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4689. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4690. // Please see the License for the specific language governing rights and
  4691. // limitations under the License.
  4692. //
  4693. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4694. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4695. //
  4696. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4697. //
  4698. // This file contains Original Code and/or Modifications of Original Code
  4699. // as defined in and that are subject to the Apple Public Source License
  4700. // Version 2.0 (the 'License'). You may not use this file except in
  4701. // compliance with the License. The rights granted to you under the License
  4702. // may not be used to create, or enable the creation or redistribution of,
  4703. // unlawful or unlicensed copies of an Apple operating system, or to
  4704. // circumvent, violate, or enable the circumvention or violation of, any
  4705. // terms of an Apple operating system software license agreement.
  4706. //
  4707. // Please obtain a copy of the License at
  4708. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4709. //
  4710. // The Original Code and all software distributed under the License are
  4711. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4712. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4713. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4714. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4715. // Please see the License for the specific language governing rights and
  4716. // limitations under the License.
  4717. //
  4718. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4719. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4720. //
  4721. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4722. //
  4723. // This file contains Original Code and/or Modifications of Original Code
  4724. // as defined in and that are subject to the Apple Public Source License
  4725. // Version 2.0 (the 'License'). You may not use this file except in
  4726. // compliance with the License. The rights granted to you under the License
  4727. // may not be used to create, or enable the creation or redistribution of,
  4728. // unlawful or unlicensed copies of an Apple operating system, or to
  4729. // circumvent, violate, or enable the circumvention or violation of, any
  4730. // terms of an Apple operating system software license agreement.
  4731. //
  4732. // Please obtain a copy of the License at
  4733. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4734. //
  4735. // The Original Code and all software distributed under the License are
  4736. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4737. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4738. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4739. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4740. // Please see the License for the specific language governing rights and
  4741. // limitations under the License.
  4742. //
  4743. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4744. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  4745. //
  4746. // @APPLE_LICENSE_HEADER_START@
  4747. //
  4748. // This file contains Original Code and/or Modifications of Original Code
  4749. // as defined in and that are subject to the Apple Public Source License
  4750. // Version 2.0 (the 'License'). You may not use this file except in
  4751. // compliance with the License. Please obtain a copy of the License at
  4752. // http://www.opensource.apple.com/apsl/ and read it before using this
  4753. // file.
  4754. //
  4755. // The Original Code and all software distributed under the License are
  4756. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4757. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4758. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4759. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4760. // Please see the License for the specific language governing rights and
  4761. // limitations under the License.
  4762. //
  4763. // @APPLE_LICENSE_HEADER_END@
  4764. type X_ftsent = struct {
  4765. Ffts_cycle uintptr
  4766. Ffts_parent uintptr
  4767. Ffts_link uintptr
  4768. Ffts_number int64
  4769. Ffts_pointer uintptr
  4770. Ffts_accpath uintptr
  4771. Ffts_path uintptr
  4772. Ffts_errno int32
  4773. Ffts_symfd int32
  4774. Ffts_pathlen uint16
  4775. Ffts_namelen uint16
  4776. F__ccgo_pad1 [4]byte
  4777. Ffts_ino Ino_t
  4778. Ffts_dev Dev_t
  4779. Ffts_nlink Nlink_t
  4780. Ffts_level int16
  4781. Ffts_info uint16
  4782. Ffts_flags uint16
  4783. Ffts_instr uint16
  4784. F__ccgo_pad2 [2]byte
  4785. Ffts_statp uintptr
  4786. Ffts_name [1]int8
  4787. F__ccgo_pad3 [7]byte
  4788. } /* fts.h:72:2 */
  4789. // Copyright (c) 2000, 2003-2006, 2008, 2012 Apple Inc. All rights reserved.
  4790. //
  4791. // @APPLE_LICENSE_HEADER_START@
  4792. //
  4793. // This file contains Original Code and/or Modifications of Original Code
  4794. // as defined in and that are subject to the Apple Public Source License
  4795. // Version 2.0 (the 'License'). You may not use this file except in
  4796. // compliance with the License. Please obtain a copy of the License at
  4797. // http://www.opensource.apple.com/apsl/ and read it before using this
  4798. // file.
  4799. //
  4800. // The Original Code and all software distributed under the License are
  4801. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4802. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4803. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4804. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4805. // Please see the License for the specific language governing rights and
  4806. // limitations under the License.
  4807. //
  4808. // @APPLE_LICENSE_HEADER_END@
  4809. // Copyright (c) 1989, 1993
  4810. // The Regents of the University of California. All rights reserved.
  4811. //
  4812. // Redistribution and use in source and binary forms, with or without
  4813. // modification, are permitted provided that the following conditions
  4814. // are met:
  4815. // 1. Redistributions of source code must retain the above copyright
  4816. // notice, this list of conditions and the following disclaimer.
  4817. // 2. Redistributions in binary form must reproduce the above copyright
  4818. // notice, this list of conditions and the following disclaimer in the
  4819. // documentation and/or other materials provided with the distribution.
  4820. // 3. All advertising materials mentioning features or use of this software
  4821. // must display the following acknowledgement:
  4822. // This product includes software developed by the University of
  4823. // California, Berkeley and its contributors.
  4824. // 4. Neither the name of the University nor the names of its contributors
  4825. // may be used to endorse or promote products derived from this software
  4826. // without specific prior written permission.
  4827. //
  4828. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4829. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4830. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4831. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4832. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4833. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4834. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4835. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4836. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4837. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4838. // SUCH DAMAGE.
  4839. //
  4840. // @(#)fts.h 8.3 (Berkeley) 8/14/94
  4841. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4842. //
  4843. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4844. //
  4845. // This file contains Original Code and/or Modifications of Original Code
  4846. // as defined in and that are subject to the Apple Public Source License
  4847. // Version 2.0 (the 'License'). You may not use this file except in
  4848. // compliance with the License. The rights granted to you under the License
  4849. // may not be used to create, or enable the creation or redistribution of,
  4850. // unlawful or unlicensed copies of an Apple operating system, or to
  4851. // circumvent, violate, or enable the circumvention or violation of, any
  4852. // terms of an Apple operating system software license agreement.
  4853. //
  4854. // Please obtain a copy of the License at
  4855. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4856. //
  4857. // The Original Code and all software distributed under the License are
  4858. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4859. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4860. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4861. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4862. // Please see the License for the specific language governing rights and
  4863. // limitations under the License.
  4864. //
  4865. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4866. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4867. //
  4868. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4869. //
  4870. // This file contains Original Code and/or Modifications of Original Code
  4871. // as defined in and that are subject to the Apple Public Source License
  4872. // Version 2.0 (the 'License'). You may not use this file except in
  4873. // compliance with the License. The rights granted to you under the License
  4874. // may not be used to create, or enable the creation or redistribution of,
  4875. // unlawful or unlicensed copies of an Apple operating system, or to
  4876. // circumvent, violate, or enable the circumvention or violation of, any
  4877. // terms of an Apple operating system software license agreement.
  4878. //
  4879. // Please obtain a copy of the License at
  4880. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4881. //
  4882. // The Original Code and all software distributed under the License are
  4883. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4884. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4885. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4886. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4887. // Please see the License for the specific language governing rights and
  4888. // limitations under the License.
  4889. //
  4890. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4891. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4892. //
  4893. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4894. //
  4895. // This file contains Original Code and/or Modifications of Original Code
  4896. // as defined in and that are subject to the Apple Public Source License
  4897. // Version 2.0 (the 'License'). You may not use this file except in
  4898. // compliance with the License. The rights granted to you under the License
  4899. // may not be used to create, or enable the creation or redistribution of,
  4900. // unlawful or unlicensed copies of an Apple operating system, or to
  4901. // circumvent, violate, or enable the circumvention or violation of, any
  4902. // terms of an Apple operating system software license agreement.
  4903. //
  4904. // Please obtain a copy of the License at
  4905. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4906. //
  4907. // The Original Code and all software distributed under the License are
  4908. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4909. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4910. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4911. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4912. // Please see the License for the specific language governing rights and
  4913. // limitations under the License.
  4914. //
  4915. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4916. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4917. //
  4918. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4919. //
  4920. // This file contains Original Code and/or Modifications of Original Code
  4921. // as defined in and that are subject to the Apple Public Source License
  4922. // Version 2.0 (the 'License'). You may not use this file except in
  4923. // compliance with the License. The rights granted to you under the License
  4924. // may not be used to create, or enable the creation or redistribution of,
  4925. // unlawful or unlicensed copies of an Apple operating system, or to
  4926. // circumvent, violate, or enable the circumvention or violation of, any
  4927. // terms of an Apple operating system software license agreement.
  4928. //
  4929. // Please obtain a copy of the License at
  4930. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4931. //
  4932. // The Original Code and all software distributed under the License are
  4933. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4934. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4935. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4936. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4937. // Please see the License for the specific language governing rights and
  4938. // limitations under the License.
  4939. //
  4940. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4941. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  4942. //
  4943. // @APPLE_LICENSE_HEADER_START@
  4944. //
  4945. // This file contains Original Code and/or Modifications of Original Code
  4946. // as defined in and that are subject to the Apple Public Source License
  4947. // Version 2.0 (the 'License'). You may not use this file except in
  4948. // compliance with the License. Please obtain a copy of the License at
  4949. // http://www.opensource.apple.com/apsl/ and read it before using this
  4950. // file.
  4951. //
  4952. // The Original Code and all software distributed under the License are
  4953. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4954. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4955. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4956. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4957. // Please see the License for the specific language governing rights and
  4958. // limitations under the License.
  4959. //
  4960. // @APPLE_LICENSE_HEADER_END@
  4961. type FTS = struct {
  4962. Ffts_cur uintptr
  4963. Ffts_child uintptr
  4964. Ffts_array uintptr
  4965. Ffts_dev Dev_t
  4966. F__ccgo_pad1 [4]byte
  4967. Ffts_path uintptr
  4968. Ffts_rfd int32
  4969. Ffts_pathlen int32
  4970. Ffts_nitems int32
  4971. F__ccgo_pad2 [4]byte
  4972. F__56 struct{ Ffts_compar uintptr }
  4973. Ffts_options int32
  4974. F__ccgo_pad3 [4]byte
  4975. } /* fts.h:111:3 */
  4976. type FTSENT = X_ftsent /* fts.h:165:3 */
  4977. var _ int8 /* gen.c:5:13: */