fts_darwin_amd64.go 252 KB

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