stdlib_darwin_amd64.go 271 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026
  1. // Code generated by 'ccgo stdlib/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 stdlib/stdlib_darwin_amd64.go -pkgname stdlib', DO NOT EDIT.
  2. package stdlib
  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. BIG_ENDIAN = 4321 // endian.h:94:1:
  15. BUS_ADRALN = 1 // signal.h:241:1:
  16. BUS_ADRERR = 2 // signal.h:242:1:
  17. BUS_NOOP = 0 // signal.h:239:1:
  18. BUS_OBJERR = 3 // signal.h:243:1:
  19. BYTE_ORDER = 1234 // endian.h:97:1:
  20. CLD_CONTINUED = 6 // signal.h:258:1:
  21. CLD_DUMPED = 3 // signal.h:255:1:
  22. CLD_EXITED = 1 // signal.h:253:1:
  23. CLD_KILLED = 2 // signal.h:254:1:
  24. CLD_NOOP = 0 // signal.h:251:1:
  25. CLD_STOPPED = 5 // signal.h:257:1:
  26. CLD_TRAPPED = 4 // signal.h:256:1:
  27. CPUMON_MAKE_FATAL = 0x1000 // resource.h:393:1:
  28. EXIT_FAILURE = 1 // stdlib.h:102:1:
  29. EXIT_SUCCESS = 0 // stdlib.h:103:1:
  30. FOOTPRINT_INTERVAL_RESET = 0x1 // resource.h:398:1:
  31. FPE_FLTDIV = 1 // signal.h:221:1:
  32. FPE_FLTINV = 5 // signal.h:225:1:
  33. FPE_FLTOVF = 2 // signal.h:222:1:
  34. FPE_FLTRES = 4 // signal.h:224:1:
  35. FPE_FLTSUB = 6 // signal.h:226:1:
  36. FPE_FLTUND = 3 // signal.h:223:1:
  37. FPE_INTDIV = 7 // signal.h:227:1:
  38. FPE_INTOVF = 8 // signal.h:228:1:
  39. FPE_NOOP = 0 // signal.h:219:1:
  40. FP_CHOP = 3 // _structs.h:112:1:
  41. FP_PREC_24B = 0 // _structs.h:103:1:
  42. FP_PREC_53B = 2 // _structs.h:104:1:
  43. FP_PREC_64B = 3 // _structs.h:105:1:
  44. FP_RND_DOWN = 1 // _structs.h:110:1:
  45. FP_RND_NEAR = 0 // _structs.h:109:1:
  46. FP_RND_UP = 2 // _structs.h:111:1:
  47. FP_STATE_BYTES = 512 // _structs.h:276:1:
  48. ILL_BADSTK = 8 // signal.h:215:1:
  49. ILL_COPROC = 7 // signal.h:214:1:
  50. ILL_ILLADR = 5 // signal.h:212:1:
  51. ILL_ILLOPC = 1 // signal.h:208:1:
  52. ILL_ILLOPN = 4 // signal.h:211:1:
  53. ILL_ILLTRP = 2 // signal.h:209:1:
  54. ILL_NOOP = 0 // signal.h:206:1:
  55. ILL_PRVOPC = 3 // signal.h:210:1:
  56. ILL_PRVREG = 6 // signal.h:213:1:
  57. INT16_MAX = 32767 // stdint.h:599:1:
  58. INT16_MIN = -32768 // stdint.h:600:1:
  59. INT32_MAX = 2147483647 // stdint.h:555:1:
  60. INT32_MIN = -2147483648 // stdint.h:556:1:
  61. INT64_MAX = 9223372036854775807 // stdint.h:461:1:
  62. INT64_MIN = -9223372036854775808 // stdint.h:462:1:
  63. INT8_MAX = 127 // stdint.h:621:1:
  64. INT8_MIN = -128 // stdint.h:622:1:
  65. INTMAX_MAX = 9223372036854775807 // stdint.h:663:1:
  66. INTMAX_MIN = -9223372036854775808 // stdint.h:662:1:
  67. INTPTR_MAX = 9223372036854775807 // stdint.h:649:1:
  68. INTPTR_MIN = -9223372036854775808 // stdint.h:648:1:
  69. INT_FAST16_MAX = 32767 // stdint.h:615:1:
  70. INT_FAST16_MIN = -32768 // stdint.h:614:1:
  71. INT_FAST32_MAX = 2147483647 // stdint.h:574:1:
  72. INT_FAST32_MIN = -2147483648 // stdint.h:573:1:
  73. INT_FAST64_MAX = 9223372036854775807 // stdint.h:483:1:
  74. INT_FAST64_MIN = -9223372036854775808 // stdint.h:482:1:
  75. INT_FAST8_MAX = 127 // stdint.h:634:1:
  76. INT_FAST8_MIN = -128 // stdint.h:633:1:
  77. INT_LEAST16_MAX = 32767 // stdint.h:612:1:
  78. INT_LEAST16_MIN = -32768 // stdint.h:611:1:
  79. INT_LEAST32_MAX = 2147483647 // stdint.h:571:1:
  80. INT_LEAST32_MIN = -2147483648 // stdint.h:570:1:
  81. INT_LEAST64_MAX = 9223372036854775807 // stdint.h:480:1:
  82. INT_LEAST64_MIN = -9223372036854775808 // stdint.h:479:1:
  83. INT_LEAST8_MAX = 127 // stdint.h:631:1:
  84. INT_LEAST8_MIN = -128 // stdint.h:630:1:
  85. IOPOL_APPLICATION = 5 // resource.h:427:1:
  86. IOPOL_ATIME_UPDATES_DEFAULT = 0 // resource.h:431:1:
  87. IOPOL_ATIME_UPDATES_OFF = 1 // resource.h:432:1:
  88. IOPOL_DEFAULT = 0 // resource.h:419:1:
  89. IOPOL_IMPORTANT = 1 // resource.h:420:1:
  90. IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT = 0 // resource.h:434:1:
  91. IOPOL_MATERIALIZE_DATALESS_FILES_OFF = 1 // resource.h:435:1:
  92. IOPOL_MATERIALIZE_DATALESS_FILES_ON = 2 // resource.h:436:1:
  93. IOPOL_NORMAL = 1 // resource.h:428:1:
  94. IOPOL_PASSIVE = 2 // resource.h:421:1:
  95. IOPOL_SCOPE_DARWIN_BG = 2 // resource.h:416:1:
  96. IOPOL_SCOPE_PROCESS = 0 // resource.h:414:1:
  97. IOPOL_SCOPE_THREAD = 1 // resource.h:415:1:
  98. IOPOL_STANDARD = 5 // resource.h:424:1:
  99. IOPOL_THROTTLE = 3 // resource.h:422:1:
  100. IOPOL_TYPE_DISK = 0 // resource.h:408:1:
  101. IOPOL_TYPE_VFS_ATIME_UPDATES = 2 // resource.h:409:1:
  102. IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES = 3 // resource.h:410:1:
  103. IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME = 4 // resource.h:411:1:
  104. IOPOL_UTILITY = 4 // resource.h:423:1:
  105. IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME = 1 // resource.h:439:1:
  106. IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT = 0 // resource.h:438:1:
  107. LITTLE_ENDIAN = 1234 // endian.h:93:1:
  108. MINSIGSTKSZ = 32768 // signal.h:340:1:
  109. NSIG = 32 // signal.h:79:1:
  110. PDP_ENDIAN = 3412 // endian.h:95:1:
  111. POLL_ERR = 4 // signal.h:264:1:
  112. POLL_HUP = 6 // signal.h:266:1:
  113. POLL_IN = 1 // signal.h:261:1:
  114. POLL_MSG = 3 // signal.h:263:1:
  115. POLL_OUT = 2 // signal.h:262:1:
  116. POLL_PRI = 5 // signal.h:265:1:
  117. PRIO_DARWIN_BG = 0x1000 // resource.h:120:1:
  118. PRIO_DARWIN_NONUI = 0x1001 // resource.h:126:1:
  119. PRIO_DARWIN_PROCESS = 4 // resource.h:106:1:
  120. PRIO_DARWIN_THREAD = 3 // resource.h:105:1:
  121. PRIO_MAX = 20 // resource.h:113:1:
  122. PRIO_MIN = -20 // resource.h:112:1:
  123. PRIO_PGRP = 1 // resource.h:101:1:
  124. PRIO_PROCESS = 0 // resource.h:100:1:
  125. PRIO_USER = 2 // resource.h:102:1:
  126. PTRDIFF_MAX = 9223372036854775807 // stdint.h:652:1:
  127. PTRDIFF_MIN = -9223372036854775808 // stdint.h:651:1:
  128. RAND_MAX = 0x7fffffff // stdlib.h:105:1:
  129. RLIMIT_AS = 5 // resource.h:349:1:
  130. RLIMIT_CORE = 4 // resource.h:348:1:
  131. RLIMIT_CPU = 0 // resource.h:344:1:
  132. RLIMIT_CPU_USAGE_MONITOR = 0x2 // resource.h:377:1:
  133. RLIMIT_DATA = 2 // resource.h:346:1:
  134. RLIMIT_FOOTPRINT_INTERVAL = 0x4 // resource.h:379:1:
  135. RLIMIT_FSIZE = 1 // resource.h:345:1:
  136. RLIMIT_MEMLOCK = 6 // resource.h:352:1:
  137. RLIMIT_NOFILE = 8 // resource.h:355:1:
  138. RLIMIT_NPROC = 7 // resource.h:353:1:
  139. RLIMIT_RSS = 5 // resource.h:351:1:
  140. RLIMIT_STACK = 3 // resource.h:347:1:
  141. RLIMIT_THREAD_CPULIMITS = 0x3 // resource.h:378:1:
  142. RLIMIT_WAKEUPS_MONITOR = 0x1 // resource.h:376:1:
  143. RLIM_NLIMITS = 9 // resource.h:357:1:
  144. RSIZE_MAX = 9223372036854775807 // stdint.h:658:1:
  145. RUSAGE_CHILDREN = -1 // resource.h:141:1:
  146. RUSAGE_INFO_CURRENT = 4 // resource.h:191:1:
  147. RUSAGE_INFO_V0 = 0 // resource.h:186:1:
  148. RUSAGE_INFO_V1 = 1 // resource.h:187:1:
  149. RUSAGE_INFO_V2 = 2 // resource.h:188:1:
  150. RUSAGE_INFO_V3 = 3 // resource.h:189:1:
  151. RUSAGE_INFO_V4 = 4 // resource.h:190:1:
  152. RUSAGE_SELF = 0 // resource.h:140:1:
  153. SA_64REGSET = 0x0200 // signal.h:308:1:
  154. SA_NOCLDSTOP = 0x0008 // signal.h:301:1:
  155. SA_NOCLDWAIT = 0x0020 // signal.h:303:1:
  156. SA_NODEFER = 0x0010 // signal.h:302:1:
  157. SA_ONSTACK = 0x0001 // signal.h:298:1:
  158. SA_RESETHAND = 0x0004 // signal.h:300:1:
  159. SA_RESTART = 0x0002 // signal.h:299:1:
  160. SA_SIGINFO = 0x0040 // signal.h:304:1:
  161. SA_USERSPACE_MASK = 127 // signal.h:314:1:
  162. SA_USERTRAMP = 0x0100 // signal.h:306:1:
  163. SEGV_ACCERR = 2 // signal.h:235:1:
  164. SEGV_MAPERR = 1 // signal.h:234:1:
  165. SEGV_NOOP = 0 // signal.h:232:1:
  166. SIGABRT = 6 // signal.h:89:1:
  167. SIGALRM = 14 // signal.h:102:1:
  168. SIGBUS = 10 // signal.h:98:1:
  169. SIGCHLD = 20 // signal.h:108:1:
  170. SIGCONT = 19 // signal.h:107:1:
  171. SIGEMT = 7 // signal.h:94:1:
  172. SIGEV_NONE = 0 // signal.h:164:1:
  173. SIGEV_SIGNAL = 1 // signal.h:165:1:
  174. SIGEV_THREAD = 3 // signal.h:166:1:
  175. SIGFPE = 8 // signal.h:96:1:
  176. SIGHUP = 1 // signal.h:84:1:
  177. SIGILL = 4 // signal.h:87:1:
  178. SIGINFO = 29 // signal.h:120:1:
  179. SIGINT = 2 // signal.h:85:1:
  180. SIGIO = 23 // signal.h:112:1:
  181. SIGIOT = 6 // signal.h:93:1:
  182. SIGKILL = 9 // signal.h:97:1:
  183. SIGPIPE = 13 // signal.h:101:1:
  184. SIGPROF = 27 // signal.h:117:1:
  185. SIGQUIT = 3 // signal.h:86:1:
  186. SIGSEGV = 11 // signal.h:99:1:
  187. SIGSTKSZ = 131072 // signal.h:341:1:
  188. SIGSTOP = 17 // signal.h:105:1:
  189. SIGSYS = 12 // signal.h:100:1:
  190. SIGTERM = 15 // signal.h:103:1:
  191. SIGTRAP = 5 // signal.h:88:1:
  192. SIGTSTP = 18 // signal.h:106:1:
  193. SIGTTIN = 21 // signal.h:109:1:
  194. SIGTTOU = 22 // signal.h:110:1:
  195. SIGURG = 16 // signal.h:104:1:
  196. SIGUSR1 = 30 // signal.h:122:1:
  197. SIGUSR2 = 31 // signal.h:123:1:
  198. SIGVTALRM = 26 // signal.h:116:1:
  199. SIGWINCH = 28 // signal.h:119:1:
  200. SIGXCPU = 24 // signal.h:114:1:
  201. SIGXFSZ = 25 // signal.h:115:1:
  202. SIG_ATOMIC_MAX = 2147483647 // stdint.h:668:1:
  203. SIG_ATOMIC_MIN = -2147483648 // stdint.h:667:1:
  204. SIG_BLOCK = 1 // signal.h:319:1:
  205. SIG_SETMASK = 3 // signal.h:321:1:
  206. SIG_UNBLOCK = 2 // signal.h:320:1:
  207. SIZE_MAX = 18446744073709551615 // stdint.h:653:1:
  208. SI_ASYNCIO = 0x10004 // signal.h:327:1:
  209. SI_MESGQ = 0x10005 // signal.h:328:1:
  210. SI_QUEUE = 0x10002 // signal.h:325:1:
  211. SI_TIMER = 0x10003 // signal.h:326:1:
  212. SI_USER = 0x10001 // signal.h:324:1:
  213. SS_DISABLE = 0x0004 // signal.h:339:1:
  214. SS_ONSTACK = 0x0001 // signal.h:338:1:
  215. SV_INTERRUPT = 2 // signal.h:355:1:
  216. SV_NOCLDSTOP = 8 // signal.h:358:1:
  217. SV_NODEFER = 16 // signal.h:357:1:
  218. SV_ONSTACK = 1 // signal.h:354:1:
  219. SV_RESETHAND = 4 // signal.h:356:1:
  220. SV_SIGINFO = 64 // signal.h:359:1:
  221. TRAP_BRKPT = 1 // signal.h:246:1:
  222. TRAP_TRACE = 2 // signal.h:247:1:
  223. UINT16_MAX = 65535 // stdint.h:601:1:
  224. UINT32_MAX = 4294967295 // stdint.h:557:1:
  225. UINT64_MAX = 18446744073709551615 // stdint.h:463:1:
  226. UINT8_MAX = 255 // stdint.h:623:1:
  227. UINTMAX_MAX = 18446744073709551615 // stdint.h:664:1:
  228. UINTPTR_MAX = 18446744073709551615 // stdint.h:650:1:
  229. UINT_FAST16_MAX = 65535 // stdint.h:616:1:
  230. UINT_FAST32_MAX = 4294967295 // stdint.h:575:1:
  231. UINT_FAST64_MAX = 18446744073709551615 // stdint.h:484:1:
  232. UINT_FAST8_MAX = 255 // stdint.h:635:1:
  233. UINT_LEAST16_MAX = 65535 // stdint.h:613:1:
  234. UINT_LEAST32_MAX = 4294967295 // stdint.h:572:1:
  235. UINT_LEAST64_MAX = 18446744073709551615 // stdint.h:481:1:
  236. UINT_LEAST8_MAX = 255 // stdint.h:632:1:
  237. WAIT_ANY = -1 // wait.h:183:1:
  238. WAIT_MYPGRP = 0 // wait.h:184:1:
  239. WAKEMON_DISABLE = 0x02 // resource.h:385:1:
  240. WAKEMON_ENABLE = 0x01 // resource.h:384:1:
  241. WAKEMON_GET_PARAMS = 0x04 // resource.h:386:1:
  242. WAKEMON_MAKE_FATAL = 0x10 // resource.h:388:1:
  243. WAKEMON_SET_DEFAULTS = 0x08 // resource.h:387:1:
  244. WCHAR_MAX = 2147483647 // stdint.h:678:1:
  245. WCHAR_MIN = -2147483648 // stdint.h:682:1:
  246. WCONTINUED = 0x00000010 // wait.h:173:1:
  247. WCOREFLAG = 0200 // wait.h:132:1:
  248. WEXITED = 0x00000004 // wait.h:168:1:
  249. WINT_MAX = 2147483647 // stdint.h:674:1:
  250. WINT_MIN = -2147483648 // stdint.h:673:1:
  251. WNOHANG = 0x00000001 // wait.h:121:1:
  252. WNOWAIT = 0x00000020 // wait.h:174:1:
  253. WSTOPPED = 0x00000008 // wait.h:171:1:
  254. WUNTRACED = 0x00000002 // wait.h:122:1:
  255. X_ALLOCA_H_ = 0 // alloca.h:25:1:
  256. X_BSD_I386__TYPES_H_ = 0 // _types.h:29:1:
  257. X_BSD_MACHINE_ENDIAN_H_ = 0 // endian.h:32:1:
  258. X_BSD_MACHINE_SIGNAL_H_ = 0 // signal.h:29:1:
  259. X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1:
  260. X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1:
  261. X_CDEFS_H_ = 0 // cdefs.h:68:1:
  262. X_CT_RUNE_T = 0 // _ct_rune_t.h:30:1:
  263. X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:745:1:
  264. X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:771:1:
  265. X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:779:1:
  266. X_DEV_T = 0 // _dev_t.h:29:1:
  267. X_FILE_OFFSET_BITS = 64 // <builtin>:25:1:
  268. X_FORTIFY_SOURCE = 2 // _types.h:65:1:
  269. X_I386_SIGNAL_H_ = 1 // signal.h:34:1:
  270. X_I386__ENDIAN_H_ = 0 // endian.h:67:1:
  271. X_ID_T = 0 // _id_t.h:29:1:
  272. X_INT16_T = 0 // _int16_t.h:29:1:
  273. X_INT32_T = 0 // _int32_t.h:29:1:
  274. X_INT64_T = 0 // _int64_t.h:29:1:
  275. X_INT8_T = 0 // _int8_t.h:29:1:
  276. X_INTPTR_T = 0 // _intptr_t.h:29:1:
  277. X_LP64 = 1 // <predefined>:1:1:
  278. X_MACHTYPES_H_ = 0 // types.h:67:1:
  279. X_MACH_I386__STRUCTS_H_ = 0 // _structs.h:33:1:
  280. X_MACH_MACHINE__STRUCTS_H_ = 0 // _structs.h:30:1:
  281. X_MALLOC_UNDERSCORE_MALLOC_H_ = 0 // _malloc.h:25:1:
  282. X_MCONTEXT_T = 0 // _mcontext.h:202:1:
  283. X_MODE_T = 0 // _mode_t.h:29:1:
  284. X_Nonnull = 0 // cdefs.h:243:1:
  285. X_Null_unspecified = 0 // cdefs.h:246:1:
  286. X_Nullable = 0 // cdefs.h:240:1:
  287. X_OS__OSBYTEORDERI386_H = 0 // _OSByteOrder.h:30:1:
  288. X_OS__OSBYTEORDER_H = 0 // _OSByteOrder.h:30:1:
  289. X_PID_T = 0 // _pid_t.h:29:1:
  290. X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1:
  291. X_QUAD_HIGHWORD = 1 // endian.h:78:1:
  292. X_QUAD_LOWWORD = 0 // endian.h:79:1:
  293. X_RLIMIT_POSIX_FLAG = 0x1000 // resource.h:359:1:
  294. X_RUNE_T = 0 // _rune_t.h:29:1:
  295. X_SIGSET_T = 0 // _sigset_t.h:29:1:
  296. X_SIZE_T = 0 // _size_t.h:29:1:
  297. X_STDLIB_H_ = 0 // stdlib.h:59:1:
  298. X_SYS_RESOURCE_H_ = 0 // resource.h:65:1:
  299. X_SYS_SIGNAL_H_ = 0 // signal.h:70:1:
  300. X_SYS_WAIT_H_ = 0 // wait.h:65:1:
  301. X_SYS__ENDIAN_H_ = 0 // _endian.h:91:1:
  302. X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1:
  303. X_SYS__TYPES_H_ = 0 // _types.h:30:1:
  304. X_UID_T = 0 // _uid_t.h:29:1:
  305. X_UINT32_T = 0 // _uint32_t.h:30:1:
  306. X_UINTPTR_T = 0 // _uintptr_t.h:29:1:
  307. X_U_INT16_T = 0 // _u_int16_t.h:29:1:
  308. X_U_INT32_T = 0 // _u_int32_t.h:29:1:
  309. X_U_INT64_T = 0 // _u_int64_t.h:29:1:
  310. X_U_INT8_T = 0 // _u_int8_t.h:29:1:
  311. X_WCHAR_T = 0 // _wchar_t.h:32:1:
  312. X_WSTOPPED = 0177 // wait.h:137:1:
  313. )
  314. // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  315. //
  316. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  317. //
  318. // This file contains Original Code and/or Modifications of Original Code
  319. // as defined in and that are subject to the Apple Public Source License
  320. // Version 2.0 (the 'License'). You may not use this file except in
  321. // compliance with the License. The rights granted to you under the License
  322. // may not be used to create, or enable the creation or redistribution of,
  323. // unlawful or unlicensed copies of an Apple operating system, or to
  324. // circumvent, violate, or enable the circumvention or violation of, any
  325. // terms of an Apple operating system software license agreement.
  326. //
  327. // Please obtain a copy of the License at
  328. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  329. //
  330. // The Original Code and all software distributed under the License are
  331. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  332. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  333. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  334. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  335. // Please see the License for the specific language governing rights and
  336. // limitations under the License.
  337. //
  338. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  339. // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  340. // Copyright (c) 1982, 1986, 1989, 1993, 1994
  341. // The Regents of the University of California. All rights reserved.
  342. //
  343. // Redistribution and use in source and binary forms, with or without
  344. // modification, are permitted provided that the following conditions
  345. // are met:
  346. // 1. Redistributions of source code must retain the above copyright
  347. // notice, this list of conditions and the following disclaimer.
  348. // 2. Redistributions in binary form must reproduce the above copyright
  349. // notice, this list of conditions and the following disclaimer in the
  350. // documentation and/or other materials provided with the distribution.
  351. // 3. All advertising materials mentioning features or use of this software
  352. // must display the following acknowledgement:
  353. // This product includes software developed by the University of
  354. // California, Berkeley and its contributors.
  355. // 4. Neither the name of the University nor the names of its contributors
  356. // may be used to endorse or promote products derived from this software
  357. // without specific prior written permission.
  358. //
  359. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  360. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  361. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  362. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  363. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  364. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  365. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  366. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  367. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  368. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  369. // SUCH DAMAGE.
  370. //
  371. // @(#)wait.h 8.2 (Berkeley) 7/10/94
  372. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  373. //
  374. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  375. //
  376. // This file contains Original Code and/or Modifications of Original Code
  377. // as defined in and that are subject to the Apple Public Source License
  378. // Version 2.0 (the 'License'). You may not use this file except in
  379. // compliance with the License. The rights granted to you under the License
  380. // may not be used to create, or enable the creation or redistribution of,
  381. // unlawful or unlicensed copies of an Apple operating system, or to
  382. // circumvent, violate, or enable the circumvention or violation of, any
  383. // terms of an Apple operating system software license agreement.
  384. //
  385. // Please obtain a copy of the License at
  386. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  387. //
  388. // The Original Code and all software distributed under the License are
  389. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  390. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  391. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  392. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  393. // Please see the License for the specific language governing rights and
  394. // limitations under the License.
  395. //
  396. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  397. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  398. // Copyright (c) 1991, 1993
  399. // The Regents of the University of California. All rights reserved.
  400. //
  401. // This code is derived from software contributed to Berkeley by
  402. // Berkeley Software Design, Inc.
  403. //
  404. // Redistribution and use in source and binary forms, with or without
  405. // modification, are permitted provided that the following conditions
  406. // are met:
  407. // 1. Redistributions of source code must retain the above copyright
  408. // notice, this list of conditions and the following disclaimer.
  409. // 2. Redistributions in binary form must reproduce the above copyright
  410. // notice, this list of conditions and the following disclaimer in the
  411. // documentation and/or other materials provided with the distribution.
  412. // 3. All advertising materials mentioning features or use of this software
  413. // must display the following acknowledgement:
  414. // This product includes software developed by the University of
  415. // California, Berkeley and its contributors.
  416. // 4. Neither the name of the University nor the names of its contributors
  417. // may be used to endorse or promote products derived from this software
  418. // without specific prior written permission.
  419. //
  420. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  421. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  422. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  423. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  424. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  425. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  426. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  427. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  428. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  429. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  430. // SUCH DAMAGE.
  431. //
  432. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  433. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  434. //
  435. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  436. //
  437. // This file contains Original Code and/or Modifications of Original Code
  438. // as defined in and that are subject to the Apple Public Source License
  439. // Version 2.0 (the 'License'). You may not use this file except in
  440. // compliance with the License. The rights granted to you under the License
  441. // may not be used to create, or enable the creation or redistribution of,
  442. // unlawful or unlicensed copies of an Apple operating system, or to
  443. // circumvent, violate, or enable the circumvention or violation of, any
  444. // terms of an Apple operating system software license agreement.
  445. //
  446. // Please obtain a copy of the License at
  447. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  448. //
  449. // The Original Code and all software distributed under the License are
  450. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  451. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  452. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  453. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  454. // Please see the License for the specific language governing rights and
  455. // limitations under the License.
  456. //
  457. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  458. // This file holds definitions relevent to the wait4 system call
  459. // and the alternate interfaces that use it (wait, wait3, waitpid).
  460. // [XSI] The type idtype_t shall be defined as an enumeration type whose
  461. // possible values shall include at least P_ALL, P_PID, and P_PGID.
  462. const ( /* wait.h:79:1: */
  463. P_ALL = 0
  464. P_PID = 1
  465. P_PGID = 2
  466. )
  467. type Ptrdiff_t = int64 /* <builtin>:3:26 */
  468. type Size_t = uint64 /* <builtin>:9:23 */
  469. type Wchar_t = int32 /* <builtin>:15:24 */
  470. type X__int128_t = struct {
  471. Flo int64
  472. Fhi int64
  473. } /* <builtin>:21:43 */ // must match modernc.org/mathutil.Int128
  474. type X__uint128_t = struct {
  475. Flo uint64
  476. Fhi uint64
  477. } /* <builtin>:22:44 */ // must match modernc.org/mathutil.Int128
  478. type X__builtin_va_list = uintptr /* <builtin>:46:14 */
  479. type X__float128 = float64 /* <builtin>:47:21 */
  480. var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */
  481. // Copyright (c) 2000, 2002 - 2008 Apple Inc. All rights reserved.
  482. //
  483. // @APPLE_LICENSE_HEADER_START@
  484. //
  485. // This file contains Original Code and/or Modifications of Original Code
  486. // as defined in and that are subject to the Apple Public Source License
  487. // Version 2.0 (the 'License'). You may not use this file except in
  488. // compliance with the License. Please obtain a copy of the License at
  489. // http://www.opensource.apple.com/apsl/ and read it before using this
  490. // file.
  491. //
  492. // The Original Code and all software distributed under the License are
  493. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  494. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  495. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  496. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  497. // Please see the License for the specific language governing rights and
  498. // limitations under the License.
  499. //
  500. // @APPLE_LICENSE_HEADER_END@
  501. // -
  502. // Copyright (c) 1990, 1993
  503. // The Regents of the University of California. All rights reserved.
  504. //
  505. // Redistribution and use in source and binary forms, with or without
  506. // modification, are permitted provided that the following conditions
  507. // are met:
  508. // 1. Redistributions of source code must retain the above copyright
  509. // notice, this list of conditions and the following disclaimer.
  510. // 2. Redistributions in binary form must reproduce the above copyright
  511. // notice, this list of conditions and the following disclaimer in the
  512. // documentation and/or other materials provided with the distribution.
  513. // 3. All advertising materials mentioning features or use of this software
  514. // must display the following acknowledgement:
  515. // This product includes software developed by the University of
  516. // California, Berkeley and its contributors.
  517. // 4. Neither the name of the University nor the names of its contributors
  518. // may be used to endorse or promote products derived from this software
  519. // without specific prior written permission.
  520. //
  521. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  522. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  523. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  524. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  525. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  526. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  527. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  528. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  529. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  530. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  531. // SUCH DAMAGE.
  532. //
  533. // @(#)stdlib.h 8.5 (Berkeley) 5/19/95
  534. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  535. //
  536. // @APPLE_LICENSE_HEADER_START@
  537. //
  538. // This file contains Original Code and/or Modifications of Original Code
  539. // as defined in and that are subject to the Apple Public Source License
  540. // Version 2.0 (the 'License'). You may not use this file except in
  541. // compliance with the License. Please obtain a copy of the License at
  542. // http://www.opensource.apple.com/apsl/ and read it before using this
  543. // file.
  544. //
  545. // The Original Code and all software distributed under the License are
  546. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  547. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  548. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  549. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  550. // Please see the License for the specific language governing rights and
  551. // limitations under the License.
  552. //
  553. // @APPLE_LICENSE_HEADER_END@
  554. //
  555. // These macros are for use in OS header files. They enable function prototypes
  556. // and Objective-C methods to be tagged with the OS version in which they
  557. // were first available; and, if applicable, the OS version in which they
  558. // became deprecated.
  559. //
  560. // The desktop Mac OS X and iOS each have different version numbers.
  561. // The __OSX_AVAILABLE_STARTING() macro allows you to specify both the desktop
  562. // and iOS version numbers. For instance:
  563. // __OSX_AVAILABLE_STARTING(__MAC_10_2,__IPHONE_2_0)
  564. // means the function/method was first available on Mac OS X 10.2 on the desktop
  565. // and first available in iOS 2.0 on the iPhone.
  566. //
  567. // If a function is available on one platform, but not the other a _NA (not
  568. // applicable) parameter is used. For instance:
  569. // __OSX_AVAILABLE_STARTING(__MAC_10_3,__IPHONE_NA)
  570. // means that the function/method was first available on Mac OS X 10.3, and it
  571. // currently not implemented on the iPhone.
  572. //
  573. // At some point, a function/method may be deprecated. That means Apple
  574. // recommends applications stop using the function, either because there is a
  575. // better replacement or the functionality is being phased out. Deprecated
  576. // functions/methods can be tagged with a __OSX_AVAILABLE_BUT_DEPRECATED()
  577. // macro which specifies the OS version where the function became available
  578. // as well as the OS version in which it became deprecated. For instance:
  579. // __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA)
  580. // means that the function/method was introduced in Mac OS X 10.0, then
  581. // became deprecated beginning in Mac OS X 10.5. On iOS the function
  582. // has never been available.
  583. //
  584. // For these macros to function properly, a program must specify the OS version range
  585. // it is targeting. The min OS version is specified as an option to the compiler:
  586. // -mmacosx-version-min=10.x when building for Mac OS X, and -miphoneos-version-min=y.z
  587. // when building for the iPhone. The upper bound for the OS version is rarely needed,
  588. // but it can be set on the command line via: -D__MAC_OS_X_VERSION_MAX_ALLOWED=10x0 for
  589. // Mac OS X and __IPHONE_OS_VERSION_MAX_ALLOWED = y0z00 for iOS.
  590. //
  591. // Examples:
  592. //
  593. // A function available in Mac OS X 10.5 and later, but not on the phone:
  594. //
  595. // extern void mymacfunc() __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  596. //
  597. //
  598. // An Objective-C method in Mac OS X 10.5 and later, but not on the phone:
  599. //
  600. // @interface MyClass : NSObject
  601. // -(void) mymacmethod __OSX_AVAILABLE_STARTING(__MAC_10_5,__IPHONE_NA);
  602. // @end
  603. //
  604. //
  605. // An enum available on the phone, but not available on Mac OS X:
  606. //
  607. // #if __IPHONE_OS_VERSION_MIN_REQUIRED
  608. // enum { myEnum = 1 };
  609. // #endif
  610. // Note: this works when targeting the Mac OS X platform because
  611. // __IPHONE_OS_VERSION_MIN_REQUIRED is undefined which evaluates to zero.
  612. //
  613. //
  614. // An enum with values added in different iPhoneOS versions:
  615. //
  616. // enum {
  617. // myX = 1, // Usable on iPhoneOS 2.1 and later
  618. // myY = 2, // Usable on iPhoneOS 3.0 and later
  619. // myZ = 3, // Usable on iPhoneOS 3.0 and later
  620. // ...
  621. // Note: you do not want to use #if with enumeration values
  622. // when a client needs to see all values at compile time
  623. // and use runtime logic to only use the viable values.
  624. //
  625. //
  626. // It is also possible to use the *_VERSION_MIN_REQUIRED in source code to make one
  627. // source base that can be compiled to target a range of OS versions. It is best
  628. // to not use the _MAC_* and __IPHONE_* macros for comparisons, but rather their values.
  629. // That is because you might get compiled on an old OS that does not define a later
  630. // OS version macro, and in the C preprocessor undefined values evaluate to zero
  631. // in expresssions, which could cause the #if expression to evaluate in an unexpected
  632. // way.
  633. //
  634. // #ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
  635. // // code only compiled when targeting Mac OS X and not iPhone
  636. // // note use of 1050 instead of __MAC_10_5
  637. // #if __MAC_OS_X_VERSION_MIN_REQUIRED < 1050
  638. // // code in here might run on pre-Leopard OS
  639. // #else
  640. // // code here can assume Leopard or later
  641. // #endif
  642. // #endif
  643. //
  644. //
  645. // __API_TO_BE_DEPRECATED is used as a version number in API that will be deprecated
  646. // in an upcoming release. This soft deprecation is an intermediate step before formal
  647. // deprecation to notify developers about the API before compiler warnings are generated.
  648. // You can find all places in your code that use soft deprecated API by redefining the
  649. // value of this macro to your current minimum deployment target, for example:
  650. // (macOS)
  651. // clang -D__API_TO_BE_DEPRECATED=10.12 <other compiler flags>
  652. // (iOS)
  653. // clang -D__API_TO_BE_DEPRECATED=11.0 <other compiler flags>
  654. // __MAC_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  655. // __IPHONE_NA is not defined to a value but is uses as a token by macros to indicate that the API is unavailable
  656. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  657. //
  658. // @APPLE_LICENSE_HEADER_START@
  659. //
  660. // This file contains Original Code and/or Modifications of Original Code
  661. // as defined in and that are subject to the Apple Public Source License
  662. // Version 2.0 (the 'License'). You may not use this file except in
  663. // compliance with the License. Please obtain a copy of the License at
  664. // http://www.opensource.apple.com/apsl/ and read it before using this
  665. // file.
  666. //
  667. // The Original Code and all software distributed under the License are
  668. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  669. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  670. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  671. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  672. // Please see the License for the specific language governing rights and
  673. // limitations under the License.
  674. //
  675. // @APPLE_LICENSE_HEADER_END@
  676. //
  677. // File: AvailabilityInternal.h
  678. //
  679. // Contains: implementation details of __OSX_AVAILABLE_* macros from <Availability.h>
  680. //
  681. // compiler for Mac OS X sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  682. // make sure a default max version is set
  683. //
  684. // Macros for defining which versions/platform a given symbol can be used.
  685. //
  686. // @see http://clang.llvm.org/docs/AttributeReference.html#availability
  687. //
  688. // Evaluate to nothing for compilers that don't support clang language extensions.
  689. // Swift compiler version
  690. // Allows for project-agnostic “epochs” for frameworks imported into Swift via the Clang importer, like #if _compiler_version for Swift
  691. // Example:
  692. //
  693. // #if __swift_compiler_version_at_least(800, 2, 20)
  694. // - (nonnull NSString *)description;
  695. // #else
  696. // - (NSString *)description;
  697. // #endif
  698. // If __SPI_AVAILABLE has not been defined elsewhere, disable it.
  699. // for use to document app extension usage
  700. // for use marking APIs available info for Mac OSX
  701. // for use marking APIs available info for iOS
  702. // for use marking APIs available info for tvOS
  703. // for use marking APIs available info for Watch OS
  704. // for use marking APIs unavailable for swift
  705. //
  706. // Macros for defining which versions/platform a given symbol can be used.
  707. //
  708. // @see http://clang.llvm.org/docs/AttributeReference.html#availability
  709. //
  710. // * Note that these macros are only compatible with clang compilers that
  711. // * support the following target selection options:
  712. // *
  713. // * -mmacosx-version-min
  714. // * -miphoneos-version-min
  715. // * -mwatchos-version-min
  716. // * -mtvos-version-min
  717. //
  718. // Evaluate to nothing for compilers that don't support clang language extensions.
  719. // If SPI decorations have not been defined elsewhere, disable them.
  720. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  721. //
  722. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  723. //
  724. // This file contains Original Code and/or Modifications of Original Code
  725. // as defined in and that are subject to the Apple Public Source License
  726. // Version 2.0 (the 'License'). You may not use this file except in
  727. // compliance with the License. The rights granted to you under the License
  728. // may not be used to create, or enable the creation or redistribution of,
  729. // unlawful or unlicensed copies of an Apple operating system, or to
  730. // circumvent, violate, or enable the circumvention or violation of, any
  731. // terms of an Apple operating system software license agreement.
  732. //
  733. // Please obtain a copy of the License at
  734. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  735. //
  736. // The Original Code and all software distributed under the License are
  737. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  738. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  739. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  740. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  741. // Please see the License for the specific language governing rights and
  742. // limitations under the License.
  743. //
  744. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  745. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  746. // Copyright (c) 1991, 1993
  747. // The Regents of the University of California. All rights reserved.
  748. //
  749. // This code is derived from software contributed to Berkeley by
  750. // Berkeley Software Design, Inc.
  751. //
  752. // Redistribution and use in source and binary forms, with or without
  753. // modification, are permitted provided that the following conditions
  754. // are met:
  755. // 1. Redistributions of source code must retain the above copyright
  756. // notice, this list of conditions and the following disclaimer.
  757. // 2. Redistributions in binary form must reproduce the above copyright
  758. // notice, this list of conditions and the following disclaimer in the
  759. // documentation and/or other materials provided with the distribution.
  760. // 3. All advertising materials mentioning features or use of this software
  761. // must display the following acknowledgement:
  762. // This product includes software developed by the University of
  763. // California, Berkeley and its contributors.
  764. // 4. Neither the name of the University nor the names of its contributors
  765. // may be used to endorse or promote products derived from this software
  766. // without specific prior written permission.
  767. //
  768. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  769. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  770. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  771. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  772. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  773. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  774. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  775. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  776. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  777. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  778. // SUCH DAMAGE.
  779. //
  780. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  781. // This SDK is designed to work with clang and specific versions of
  782. // gcc >= 4.0 with Apple's patch sets
  783. // Compatibility with compilers and environments that don't support compiler
  784. // feature checking function-like macros.
  785. // The __CONCAT macro is used to concatenate parts of symbol names, e.g.
  786. // with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
  787. // The __CONCAT macro is a bit tricky -- make sure you don't put spaces
  788. // in between its arguments. __CONCAT can also concatenate double-quoted
  789. // strings produced by the __STRING macro, but this only works with ANSI C.
  790. // In non-ANSI C environments, new programs will want ANSI-only C keywords
  791. // deleted from the program and old programs will want them left alone.
  792. // When using a compiler other than gcc, programs using the ANSI C keywords
  793. // const, inline etc. as normal identifiers should define -DNO_ANSI_KEYWORDS.
  794. // When using "gcc -traditional", we assume that this is the intent; if
  795. // __GNUC__ is defined but __STDC__ is not, we leave the new keywords alone.
  796. // __unused denotes variables and functions that may not be used, preventing
  797. // the compiler from warning about it if not used.
  798. // __used forces variables and functions to be included even if it appears
  799. // to the compiler that they are not used (and would thust be discarded).
  800. // __cold marks code used for debugging or that is rarely taken
  801. // and tells the compiler to optimize for size and outline code.
  802. // __deprecated causes the compiler to produce a warning when encountering
  803. // code using the deprecated functionality.
  804. // __deprecated_msg() does the same, and compilers that support it will print
  805. // a message along with the deprecation warning.
  806. // This may require turning on such warning with the -Wdeprecated flag.
  807. // __deprecated_enum_msg() should be used on enums, and compilers that support
  808. // it will print the deprecation warning.
  809. // __kpi_deprecated() specifically indicates deprecation of kernel programming
  810. // interfaces in Kernel.framework used by KEXTs.
  811. // __unavailable causes the compiler to error out when encountering
  812. // code using the tagged function of variable.
  813. // Delete pseudo-keywords wherever they are not available or needed.
  814. // We use `__restrict' as a way to define the `restrict' type qualifier
  815. // without disturbing older software that is unaware of C99 keywords.
  816. // Compatibility with compilers and environments that don't support the
  817. // nullability feature.
  818. // __disable_tail_calls causes the compiler to not perform tail call
  819. // optimization inside the marked function.
  820. // __not_tail_called causes the compiler to prevent tail call optimization
  821. // on statically bound calls to the function. It has no effect on indirect
  822. // calls. Virtual functions, objective-c methods, and functions marked as
  823. // "always_inline" cannot be marked as __not_tail_called.
  824. // __result_use_check warns callers of a function that not using the function
  825. // return value is a bug, i.e. dismissing malloc() return value results in a
  826. // memory leak.
  827. // __swift_unavailable causes the compiler to mark a symbol as specifically
  828. // unavailable in Swift, regardless of any other availability in C.
  829. // __abortlike is the attribute to put on functions like abort() that are
  830. // typically used to mark assertions. These optimize the codegen
  831. // for outlining while still maintaining debugability.
  832. // Declaring inline functions within headers is error-prone due to differences
  833. // across various versions of the C language and extensions. __header_inline
  834. // can be used to declare inline functions within system headers. In cases
  835. // where you want to force inlining instead of letting the compiler make
  836. // the decision, you can use __header_always_inline.
  837. //
  838. // Be aware that using inline for functions which compilers may also provide
  839. // builtins can behave differently under various compilers. If you intend to
  840. // provide an inline version of such a function, you may want to use a macro
  841. // instead.
  842. //
  843. // The check for !__GNUC__ || __clang__ is because gcc doesn't correctly
  844. // support c99 inline in some cases:
  845. // http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55965
  846. // Compiler-dependent macros that bracket portions of code where the
  847. // "-Wunreachable-code" warning should be ignored. Please use sparingly.
  848. // Compiler-dependent macros to declare that functions take printf-like
  849. // or scanf-like arguments. They are null except for versions of gcc
  850. // that are known to support the features properly. Functions declared
  851. // with these attributes will cause compilation warnings if there is a
  852. // mismatch between the format string and subsequent function parameter
  853. // types.
  854. // Source compatibility only, ID string not emitted in object file
  855. // __alloc_size can be used to label function arguments that represent the
  856. // size of memory that the function allocates and returns. The one-argument
  857. // form labels a single argument that gives the allocation size (where the
  858. // arguments are numbered from 1):
  859. //
  860. // void *malloc(size_t __size) __alloc_size(1);
  861. //
  862. // The two-argument form handles the case where the size is calculated as the
  863. // product of two arguments:
  864. //
  865. // void *calloc(size_t __count, size_t __size) __alloc_size(1,2);
  866. // COMPILATION ENVIRONMENTS -- see compat(5) for additional detail
  867. //
  868. // DEFAULT By default newly complied code will get POSIX APIs plus
  869. // Apple API extensions in scope.
  870. //
  871. // Most users will use this compilation environment to avoid
  872. // behavioral differences between 32 and 64 bit code.
  873. //
  874. // LEGACY Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple
  875. // API extensions in scope.
  876. //
  877. // This is generally equivalent to the Tiger release compilation
  878. // environment, except that it cannot be applied to 64 bit code;
  879. // its use is discouraged.
  880. //
  881. // We expect this environment to be deprecated in the future.
  882. //
  883. // STRICT Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the
  884. // available APIs to exactly the set of APIs defined by the
  885. // corresponding standard, based on the value defined.
  886. //
  887. // A correct, portable definition for _POSIX_C_SOURCE is 200112L.
  888. // A correct, portable definition for _XOPEN_SOURCE is 600L.
  889. //
  890. // Apple API extensions are not visible in this environment,
  891. // which can cause Apple specific code to fail to compile,
  892. // or behave incorrectly if prototypes are not in scope or
  893. // warnings about missing prototypes are not enabled or ignored.
  894. //
  895. // In any compilation environment, for correct symbol resolution to occur,
  896. // function prototypes must be in scope. It is recommended that all Apple
  897. // tools users add either the "-Wall" or "-Wimplicit-function-declaration"
  898. // compiler flags to their projects to be warned when a function is being
  899. // used without a prototype in scope.
  900. // These settings are particular to each product.
  901. // Platform: MacOSX
  902. // #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit)
  903. // The __DARWIN_ALIAS macros are used to do symbol renaming; they allow
  904. // legacy code to use the old symbol, thus maintaining binary compatibility
  905. // while new code can use a standards compliant version of the same function.
  906. //
  907. // __DARWIN_ALIAS is used by itself if the function signature has not
  908. // changed, it is used along with a #ifdef check for __DARWIN_UNIX03
  909. // if the signature has changed. Because the __LP64__ environment
  910. // only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be
  911. // defined, but causes __DARWIN_ALIAS to do no symbol mangling.
  912. //
  913. // As a special case, when XCode is used to target a specific version of the
  914. // OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
  915. // will be defined by the compiler, with the digits representing major version
  916. // time 100 + minor version times 10 (e.g. 10.5 := 1050). If we are targeting
  917. // pre-10.5, and it is the default compilation environment, revert the
  918. // compilation environment to pre-__DARWIN_UNIX03.
  919. // symbol suffixes used for symbol versioning
  920. // symbol versioning macros
  921. // symbol release macros
  922. // Copyright (c) 2010 Apple Inc. All rights reserved.
  923. //
  924. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  925. //
  926. // This file contains Original Code and/or Modifications of Original Code
  927. // as defined in and that are subject to the Apple Public Source License
  928. // Version 2.0 (the 'License'). You may not use this file except in
  929. // compliance with the License. The rights granted to you under the License
  930. // may not be used to create, or enable the creation or redistribution of,
  931. // unlawful or unlicensed copies of an Apple operating system, or to
  932. // circumvent, violate, or enable the circumvention or violation of, any
  933. // terms of an Apple operating system software license agreement.
  934. //
  935. // Please obtain a copy of the License at
  936. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  937. //
  938. // The Original Code and all software distributed under the License are
  939. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  940. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  941. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  942. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  943. // Please see the License for the specific language governing rights and
  944. // limitations under the License.
  945. //
  946. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  947. // POSIX.1 requires that the macros we test be defined before any standard
  948. // header file is included. This permits us to convert values for feature
  949. // testing, as necessary, using only _POSIX_C_SOURCE.
  950. //
  951. // Here's a quick run-down of the versions:
  952. // defined(_POSIX_SOURCE) 1003.1-1988
  953. // _POSIX_C_SOURCE == 1L 1003.1-1990
  954. // _POSIX_C_SOURCE == 2L 1003.2-1992 C Language Binding Option
  955. // _POSIX_C_SOURCE == 199309L 1003.1b-1993
  956. // _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995,
  957. // and the omnibus ISO/IEC 9945-1: 1996
  958. // _POSIX_C_SOURCE == 200112L 1003.1-2001
  959. // _POSIX_C_SOURCE == 200809L 1003.1-2008
  960. //
  961. // In addition, the X/Open Portability Guide, which is now the Single UNIX
  962. // Specification, defines a feature-test macro which indicates the version of
  963. // that specification, and which subsumes _POSIX_C_SOURCE.
  964. // Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L.
  965. // Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L.
  966. // Deal with various X/Open Portability Guides and Single UNIX Spec.
  967. // Deal with all versions of POSIX. The ordering relative to the tests above is
  968. // important.
  969. // POSIX C deprecation macros
  970. // Copyright (c) 2010 Apple Inc. All rights reserved.
  971. //
  972. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  973. //
  974. // This file contains Original Code and/or Modifications of Original Code
  975. // as defined in and that are subject to the Apple Public Source License
  976. // Version 2.0 (the 'License'). You may not use this file except in
  977. // compliance with the License. The rights granted to you under the License
  978. // may not be used to create, or enable the creation or redistribution of,
  979. // unlawful or unlicensed copies of an Apple operating system, or to
  980. // circumvent, violate, or enable the circumvention or violation of, any
  981. // terms of an Apple operating system software license agreement.
  982. //
  983. // Please obtain a copy of the License at
  984. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  985. //
  986. // The Original Code and all software distributed under the License are
  987. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  988. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  989. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  990. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  991. // Please see the License for the specific language governing rights and
  992. // limitations under the License.
  993. //
  994. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  995. // Set a single macro which will always be defined and can be used to determine
  996. // the appropriate namespace. For POSIX, these values will correspond to
  997. // _POSIX_C_SOURCE value. Currently there are two additional levels corresponding
  998. // to ANSI (_ANSI_SOURCE) and Darwin extensions (_DARWIN_C_SOURCE)
  999. // If the developer has neither requested a strict language mode nor a version
  1000. // of POSIX, turn on functionality provided by __STDC_WANT_LIB_EXT1__ as part
  1001. // of __DARWIN_C_FULL.
  1002. // long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and
  1003. // c99 still want long longs. While not perfect, we allow long longs for
  1004. // g++.
  1005. // ****************************************
  1006. //
  1007. // Public darwin-specific feature macros
  1008. //
  1009. // _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and
  1010. // structures modified for 64-bit inodes (like struct stat) will be used.
  1011. // _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only
  1012. // be 64-bit; there is no support for 32-bit ino_t when this macro is defined
  1013. // (and non-zero). There is no struct stat64 either, as the regular
  1014. // struct stat will already be the 64-bit version.
  1015. // _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated
  1016. // in 10.5 exists; no pre-10.5 variants are available.
  1017. // _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API
  1018. // are available (the legacy BSD APIs are not available)
  1019. // _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on,
  1020. // and specifies the conformance level (3 is SUSv3)
  1021. // This macro casts away the qualifier from the variable
  1022. //
  1023. // Note: use at your own risk, removing qualifiers can result in
  1024. // catastrophic run-time failures.
  1025. // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be
  1026. // used from other compilation units, but not other libraries or executables.
  1027. // Architecture validation for current SDK
  1028. // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS
  1029. //
  1030. // This provides more advanced type checking on compilers supporting
  1031. // the proper extensions, even in C.
  1032. // Copyright (c) 2004, 2008, 2009 Apple Inc. All rights reserved.
  1033. //
  1034. // @APPLE_LICENSE_HEADER_START@
  1035. //
  1036. // This file contains Original Code and/or Modifications of Original Code
  1037. // as defined in and that are subject to the Apple Public Source License
  1038. // Version 2.0 (the 'License'). You may not use this file except in
  1039. // compliance with the License. Please obtain a copy of the License at
  1040. // http://www.opensource.apple.com/apsl/ and read it before using this
  1041. // file.
  1042. //
  1043. // The Original Code and all software distributed under the License are
  1044. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1045. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1046. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1047. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1048. // Please see the License for the specific language governing rights and
  1049. // limitations under the License.
  1050. //
  1051. // @APPLE_LICENSE_HEADER_END@
  1052. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1053. //
  1054. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1055. //
  1056. // This file contains Original Code and/or Modifications of Original Code
  1057. // as defined in and that are subject to the Apple Public Source License
  1058. // Version 2.0 (the 'License'). You may not use this file except in
  1059. // compliance with the License. The rights granted to you under the License
  1060. // may not be used to create, or enable the creation or redistribution of,
  1061. // unlawful or unlicensed copies of an Apple operating system, or to
  1062. // circumvent, violate, or enable the circumvention or violation of, any
  1063. // terms of an Apple operating system software license agreement.
  1064. //
  1065. // Please obtain a copy of the License at
  1066. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1067. //
  1068. // The Original Code and all software distributed under the License are
  1069. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1070. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1071. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1072. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1073. // Please see the License for the specific language governing rights and
  1074. // limitations under the License.
  1075. //
  1076. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1077. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1078. //
  1079. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1080. //
  1081. // This file contains Original Code and/or Modifications of Original Code
  1082. // as defined in and that are subject to the Apple Public Source License
  1083. // Version 2.0 (the 'License'). You may not use this file except in
  1084. // compliance with the License. The rights granted to you under the License
  1085. // may not be used to create, or enable the creation or redistribution of,
  1086. // unlawful or unlicensed copies of an Apple operating system, or to
  1087. // circumvent, violate, or enable the circumvention or violation of, any
  1088. // terms of an Apple operating system software license agreement.
  1089. //
  1090. // Please obtain a copy of the License at
  1091. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1092. //
  1093. // The Original Code and all software distributed under the License are
  1094. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1095. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1096. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1097. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1098. // Please see the License for the specific language governing rights and
  1099. // limitations under the License.
  1100. //
  1101. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1102. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1103. // Copyright (c) 1991, 1993
  1104. // The Regents of the University of California. All rights reserved.
  1105. //
  1106. // This code is derived from software contributed to Berkeley by
  1107. // Berkeley Software Design, Inc.
  1108. //
  1109. // Redistribution and use in source and binary forms, with or without
  1110. // modification, are permitted provided that the following conditions
  1111. // are met:
  1112. // 1. Redistributions of source code must retain the above copyright
  1113. // notice, this list of conditions and the following disclaimer.
  1114. // 2. Redistributions in binary form must reproduce the above copyright
  1115. // notice, this list of conditions and the following disclaimer in the
  1116. // documentation and/or other materials provided with the distribution.
  1117. // 3. All advertising materials mentioning features or use of this software
  1118. // must display the following acknowledgement:
  1119. // This product includes software developed by the University of
  1120. // California, Berkeley and its contributors.
  1121. // 4. Neither the name of the University nor the names of its contributors
  1122. // may be used to endorse or promote products derived from this software
  1123. // without specific prior written permission.
  1124. //
  1125. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1126. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1127. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1128. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1129. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1130. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1131. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1132. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1133. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1134. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1135. // SUCH DAMAGE.
  1136. //
  1137. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1138. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1139. //
  1140. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1141. //
  1142. // This file contains Original Code and/or Modifications of Original Code
  1143. // as defined in and that are subject to the Apple Public Source License
  1144. // Version 2.0 (the 'License'). You may not use this file except in
  1145. // compliance with the License. The rights granted to you under the License
  1146. // may not be used to create, or enable the creation or redistribution of,
  1147. // unlawful or unlicensed copies of an Apple operating system, or to
  1148. // circumvent, violate, or enable the circumvention or violation of, any
  1149. // terms of an Apple operating system software license agreement.
  1150. //
  1151. // Please obtain a copy of the License at
  1152. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1153. //
  1154. // The Original Code and all software distributed under the License are
  1155. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1156. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1157. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1158. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1159. // Please see the License for the specific language governing rights and
  1160. // limitations under the License.
  1161. //
  1162. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1163. // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
  1164. //
  1165. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1166. //
  1167. // This file contains Original Code and/or Modifications of Original Code
  1168. // as defined in and that are subject to the Apple Public Source License
  1169. // Version 2.0 (the 'License'). You may not use this file except in
  1170. // compliance with the License. The rights granted to you under the License
  1171. // may not be used to create, or enable the creation or redistribution of,
  1172. // unlawful or unlicensed copies of an Apple operating system, or to
  1173. // circumvent, violate, or enable the circumvention or violation of, any
  1174. // terms of an Apple operating system software license agreement.
  1175. //
  1176. // Please obtain a copy of the License at
  1177. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1178. //
  1179. // The Original Code and all software distributed under the License are
  1180. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1181. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1182. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1183. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1184. // Please see the License for the specific language governing rights and
  1185. // limitations under the License.
  1186. //
  1187. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1188. // This header file contains integer types. It's intended to also contain
  1189. // flotaing point and other arithmetic types, as needed, later.
  1190. type X__int8_t = int8 /* _types.h:37:33 */
  1191. type X__uint8_t = uint8 /* _types.h:41:33 */
  1192. type X__int16_t = int16 /* _types.h:42:33 */
  1193. type X__uint16_t = uint16 /* _types.h:43:33 */
  1194. type X__int32_t = int32 /* _types.h:44:33 */
  1195. type X__uint32_t = uint32 /* _types.h:45:33 */
  1196. type X__int64_t = int64 /* _types.h:46:33 */
  1197. type X__uint64_t = uint64 /* _types.h:47:33 */
  1198. type X__darwin_intptr_t = int64 /* _types.h:49:33 */
  1199. type X__darwin_natural_t = uint32 /* _types.h:50:33 */
  1200. // The rune type below is declared to be an ``int'' instead of the more natural
  1201. // ``unsigned long'' or ``long''. Two things are happening here. It is not
  1202. // unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
  1203. // it looks like 10646 will be a 31 bit standard. This means that if your
  1204. // ints cannot hold 32 bits, you will be in trouble. The reason an int was
  1205. // chosen over a long is that the is*() and to*() routines take ints (says
  1206. // ANSI C), but they use __darwin_ct_rune_t instead of int. By changing it
  1207. // here, you lose a bit of ANSI conformance, but your programs will still
  1208. // work.
  1209. //
  1210. // NOTE: rune_t is not covered by ANSI nor other standards, and should not
  1211. // be instantiated outside of lib/libc/locale. Use wchar_t. wchar_t and
  1212. // rune_t must be the same type. Also wint_t must be no narrower than
  1213. // wchar_t, and should also be able to hold all members of the largest
  1214. // character set plus one extra value (WEOF). wint_t must be at least 16 bits.
  1215. type X__darwin_ct_rune_t = int32 /* _types.h:70:33 */ // ct_rune_t
  1216. // mbstate_t is an opaque object to keep conversion state, during multibyte
  1217. // stream conversions. The content must not be referenced by user programs.
  1218. type X__mbstate_t = struct {
  1219. F__ccgo_pad1 [0]uint64
  1220. F__mbstate8 [128]int8
  1221. } /* _types.h:79:3 */
  1222. type X__darwin_mbstate_t = X__mbstate_t /* _types.h:81:33 */ // mbstate_t
  1223. type X__darwin_ptrdiff_t = int64 /* _types.h:84:33 */ // ptr1 - ptr2
  1224. type X__darwin_size_t = uint64 /* _types.h:92:33 */ // sizeof()
  1225. type X__darwin_va_list = X__builtin_va_list /* _types.h:98:33 */ // va_list
  1226. type X__darwin_wchar_t = int32 /* _types.h:104:33 */ // wchar_t
  1227. type X__darwin_rune_t = X__darwin_wchar_t /* _types.h:109:33 */ // rune_t
  1228. type X__darwin_wint_t = int32 /* _types.h:112:33 */ // wint_t
  1229. type X__darwin_clock_t = uint64 /* _types.h:117:33 */ // clock()
  1230. type X__darwin_socklen_t = X__uint32_t /* _types.h:118:33 */ // socklen_t (duh)
  1231. type X__darwin_ssize_t = int64 /* _types.h:119:33 */ // byte count or error
  1232. type X__darwin_time_t = int64 /* _types.h:120:33 */ // time()
  1233. // Type definitions; takes common type definitions that must be used
  1234. // in multiple header files due to [XSI], removes them from the system
  1235. // space, and puts them in the implementation space.
  1236. type X__darwin_blkcnt_t = X__int64_t /* _types.h:55:25 */ // total blocks
  1237. type X__darwin_blksize_t = X__int32_t /* _types.h:56:25 */ // preferred block size
  1238. type X__darwin_dev_t = X__int32_t /* _types.h:57:25 */ // dev_t
  1239. type X__darwin_fsblkcnt_t = uint32 /* _types.h:58:25 */ // Used by statvfs and fstatvfs
  1240. type X__darwin_fsfilcnt_t = uint32 /* _types.h:59:25 */ // Used by statvfs and fstatvfs
  1241. type X__darwin_gid_t = X__uint32_t /* _types.h:60:25 */ // [???] process and group IDs
  1242. type X__darwin_id_t = X__uint32_t /* _types.h:61:25 */ // [XSI] pid_t, uid_t, or gid_t
  1243. type X__darwin_ino64_t = X__uint64_t /* _types.h:62:25 */ // [???] Used for 64 bit inodes
  1244. type X__darwin_ino_t = X__darwin_ino64_t /* _types.h:64:26 */ // [???] Used for inodes
  1245. type X__darwin_mach_port_name_t = X__darwin_natural_t /* _types.h:68:28 */ // Used by mach
  1246. type X__darwin_mach_port_t = X__darwin_mach_port_name_t /* _types.h:69:35 */ // Used by mach
  1247. type X__darwin_mode_t = X__uint16_t /* _types.h:70:25 */ // [???] Some file attributes
  1248. type X__darwin_off_t = X__int64_t /* _types.h:71:25 */ // [???] Used for file sizes
  1249. type X__darwin_pid_t = X__int32_t /* _types.h:72:25 */ // [???] process and group IDs
  1250. type X__darwin_sigset_t = X__uint32_t /* _types.h:73:25 */ // [???] signal set
  1251. type X__darwin_suseconds_t = X__int32_t /* _types.h:74:25 */ // [???] microseconds
  1252. type X__darwin_uid_t = X__uint32_t /* _types.h:75:25 */ // [???] user IDs
  1253. type X__darwin_useconds_t = X__uint32_t /* _types.h:76:25 */ // [???] microseconds
  1254. type X__darwin_uuid_t = [16]uint8 /* _types.h:77:25 */
  1255. type X__darwin_uuid_string_t = [37]int8 /* _types.h:78:17 */
  1256. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  1257. //
  1258. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1259. //
  1260. // This file contains Original Code and/or Modifications of Original Code
  1261. // as defined in and that are subject to the Apple Public Source License
  1262. // Version 2.0 (the 'License'). You may not use this file except in
  1263. // compliance with the License. The rights granted to you under the License
  1264. // may not be used to create, or enable the creation or redistribution of,
  1265. // unlawful or unlicensed copies of an Apple operating system, or to
  1266. // circumvent, violate, or enable the circumvention or violation of, any
  1267. // terms of an Apple operating system software license agreement.
  1268. //
  1269. // Please obtain a copy of the License at
  1270. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1271. //
  1272. // The Original Code and all software distributed under the License are
  1273. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1274. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1275. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1276. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1277. // Please see the License for the specific language governing rights and
  1278. // limitations under the License.
  1279. //
  1280. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1281. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1282. //
  1283. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1284. //
  1285. // This file contains Original Code and/or Modifications of Original Code
  1286. // as defined in and that are subject to the Apple Public Source License
  1287. // Version 2.0 (the 'License'). You may not use this file except in
  1288. // compliance with the License. The rights granted to you under the License
  1289. // may not be used to create, or enable the creation or redistribution of,
  1290. // unlawful or unlicensed copies of an Apple operating system, or to
  1291. // circumvent, violate, or enable the circumvention or violation of, any
  1292. // terms of an Apple operating system software license agreement.
  1293. //
  1294. // Please obtain a copy of the License at
  1295. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1296. //
  1297. // The Original Code and all software distributed under the License are
  1298. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1299. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1300. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1301. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1302. // Please see the License for the specific language governing rights and
  1303. // limitations under the License.
  1304. //
  1305. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1306. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1307. // Copyright (c) 1991, 1993
  1308. // The Regents of the University of California. All rights reserved.
  1309. //
  1310. // This code is derived from software contributed to Berkeley by
  1311. // Berkeley Software Design, Inc.
  1312. //
  1313. // Redistribution and use in source and binary forms, with or without
  1314. // modification, are permitted provided that the following conditions
  1315. // are met:
  1316. // 1. Redistributions of source code must retain the above copyright
  1317. // notice, this list of conditions and the following disclaimer.
  1318. // 2. Redistributions in binary form must reproduce the above copyright
  1319. // notice, this list of conditions and the following disclaimer in the
  1320. // documentation and/or other materials provided with the distribution.
  1321. // 3. All advertising materials mentioning features or use of this software
  1322. // must display the following acknowledgement:
  1323. // This product includes software developed by the University of
  1324. // California, Berkeley and its contributors.
  1325. // 4. Neither the name of the University nor the names of its contributors
  1326. // may be used to endorse or promote products derived from this software
  1327. // without specific prior written permission.
  1328. //
  1329. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1330. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1331. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1332. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1333. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1334. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1335. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1336. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1337. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1338. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1339. // SUCH DAMAGE.
  1340. //
  1341. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1342. // pthread opaque structures
  1343. type X__darwin_pthread_handler_rec = struct {
  1344. F__routine uintptr
  1345. F__arg uintptr
  1346. F__next uintptr
  1347. } /* _pthread_types.h:57:1 */
  1348. type X_opaque_pthread_attr_t = struct {
  1349. F__sig int64
  1350. F__opaque [56]int8
  1351. } /* _pthread_types.h:63:1 */
  1352. type X_opaque_pthread_cond_t = struct {
  1353. F__sig int64
  1354. F__opaque [40]int8
  1355. } /* _pthread_types.h:68:1 */
  1356. type X_opaque_pthread_condattr_t = struct {
  1357. F__sig int64
  1358. F__opaque [8]int8
  1359. } /* _pthread_types.h:73:1 */
  1360. type X_opaque_pthread_mutex_t = struct {
  1361. F__sig int64
  1362. F__opaque [56]int8
  1363. } /* _pthread_types.h:78:1 */
  1364. type X_opaque_pthread_mutexattr_t = struct {
  1365. F__sig int64
  1366. F__opaque [8]int8
  1367. } /* _pthread_types.h:83:1 */
  1368. type X_opaque_pthread_once_t = struct {
  1369. F__sig int64
  1370. F__opaque [8]int8
  1371. } /* _pthread_types.h:88:1 */
  1372. type X_opaque_pthread_rwlock_t = struct {
  1373. F__sig int64
  1374. F__opaque [192]int8
  1375. } /* _pthread_types.h:93:1 */
  1376. type X_opaque_pthread_rwlockattr_t = struct {
  1377. F__sig int64
  1378. F__opaque [16]int8
  1379. } /* _pthread_types.h:98:1 */
  1380. type X_opaque_pthread_t = struct {
  1381. F__sig int64
  1382. F__cleanup_stack uintptr
  1383. F__opaque [8176]int8
  1384. } /* _pthread_types.h:103:1 */
  1385. type X__darwin_pthread_attr_t = X_opaque_pthread_attr_t /* _pthread_types.h:109:39 */
  1386. type X__darwin_pthread_cond_t = X_opaque_pthread_cond_t /* _pthread_types.h:110:39 */
  1387. type X__darwin_pthread_condattr_t = X_opaque_pthread_condattr_t /* _pthread_types.h:111:43 */
  1388. type X__darwin_pthread_key_t = uint64 /* _pthread_types.h:112:23 */
  1389. type X__darwin_pthread_mutex_t = X_opaque_pthread_mutex_t /* _pthread_types.h:113:40 */
  1390. type X__darwin_pthread_mutexattr_t = X_opaque_pthread_mutexattr_t /* _pthread_types.h:114:44 */
  1391. type X__darwin_pthread_once_t = X_opaque_pthread_once_t /* _pthread_types.h:115:39 */
  1392. type X__darwin_pthread_rwlock_t = X_opaque_pthread_rwlock_t /* _pthread_types.h:116:41 */
  1393. type X__darwin_pthread_rwlockattr_t = X_opaque_pthread_rwlockattr_t /* _pthread_types.h:117:45 */
  1394. type X__darwin_pthread_t = uintptr /* _pthread_types.h:118:34 */
  1395. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1396. //
  1397. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1398. //
  1399. // This file contains Original Code and/or Modifications of Original Code
  1400. // as defined in and that are subject to the Apple Public Source License
  1401. // Version 2.0 (the 'License'). You may not use this file except in
  1402. // compliance with the License. The rights granted to you under the License
  1403. // may not be used to create, or enable the creation or redistribution of,
  1404. // unlawful or unlicensed copies of an Apple operating system, or to
  1405. // circumvent, violate, or enable the circumvention or violation of, any
  1406. // terms of an Apple operating system software license agreement.
  1407. //
  1408. // Please obtain a copy of the License at
  1409. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1410. //
  1411. // The Original Code and all software distributed under the License are
  1412. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1413. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1414. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1415. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1416. // Please see the License for the specific language governing rights and
  1417. // limitations under the License.
  1418. //
  1419. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1420. type X__darwin_nl_item = int32 /* _types.h:40:14 */
  1421. type X__darwin_wctrans_t = int32 /* _types.h:41:14 */
  1422. type X__darwin_wctype_t = X__uint32_t /* _types.h:43:20 */
  1423. // Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  1424. //
  1425. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1426. //
  1427. // This file contains Original Code and/or Modifications of Original Code
  1428. // as defined in and that are subject to the Apple Public Source License
  1429. // Version 2.0 (the 'License'). You may not use this file except in
  1430. // compliance with the License. The rights granted to you under the License
  1431. // may not be used to create, or enable the creation or redistribution of,
  1432. // unlawful or unlicensed copies of an Apple operating system, or to
  1433. // circumvent, violate, or enable the circumvention or violation of, any
  1434. // terms of an Apple operating system software license agreement.
  1435. //
  1436. // Please obtain a copy of the License at
  1437. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1438. //
  1439. // The Original Code and all software distributed under the License are
  1440. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1441. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1442. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1443. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1444. // Please see the License for the specific language governing rights and
  1445. // limitations under the License.
  1446. //
  1447. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1448. // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  1449. // Copyright (c) 1982, 1986, 1989, 1993, 1994
  1450. // The Regents of the University of California. All rights reserved.
  1451. //
  1452. // Redistribution and use in source and binary forms, with or without
  1453. // modification, are permitted provided that the following conditions
  1454. // are met:
  1455. // 1. Redistributions of source code must retain the above copyright
  1456. // notice, this list of conditions and the following disclaimer.
  1457. // 2. Redistributions in binary form must reproduce the above copyright
  1458. // notice, this list of conditions and the following disclaimer in the
  1459. // documentation and/or other materials provided with the distribution.
  1460. // 3. All advertising materials mentioning features or use of this software
  1461. // must display the following acknowledgement:
  1462. // This product includes software developed by the University of
  1463. // California, Berkeley and its contributors.
  1464. // 4. Neither the name of the University nor the names of its contributors
  1465. // may be used to endorse or promote products derived from this software
  1466. // without specific prior written permission.
  1467. //
  1468. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1469. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1470. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1471. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1472. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1473. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1474. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1475. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1476. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1477. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1478. // SUCH DAMAGE.
  1479. //
  1480. // @(#)wait.h 8.2 (Berkeley) 7/10/94
  1481. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1482. //
  1483. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1484. //
  1485. // This file contains Original Code and/or Modifications of Original Code
  1486. // as defined in and that are subject to the Apple Public Source License
  1487. // Version 2.0 (the 'License'). You may not use this file except in
  1488. // compliance with the License. The rights granted to you under the License
  1489. // may not be used to create, or enable the creation or redistribution of,
  1490. // unlawful or unlicensed copies of an Apple operating system, or to
  1491. // circumvent, violate, or enable the circumvention or violation of, any
  1492. // terms of an Apple operating system software license agreement.
  1493. //
  1494. // Please obtain a copy of the License at
  1495. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1496. //
  1497. // The Original Code and all software distributed under the License are
  1498. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1499. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1500. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1501. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1502. // Please see the License for the specific language governing rights and
  1503. // limitations under the License.
  1504. //
  1505. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1506. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1507. // Copyright (c) 1991, 1993
  1508. // The Regents of the University of California. All rights reserved.
  1509. //
  1510. // This code is derived from software contributed to Berkeley by
  1511. // Berkeley Software Design, Inc.
  1512. //
  1513. // Redistribution and use in source and binary forms, with or without
  1514. // modification, are permitted provided that the following conditions
  1515. // are met:
  1516. // 1. Redistributions of source code must retain the above copyright
  1517. // notice, this list of conditions and the following disclaimer.
  1518. // 2. Redistributions in binary form must reproduce the above copyright
  1519. // notice, this list of conditions and the following disclaimer in the
  1520. // documentation and/or other materials provided with the distribution.
  1521. // 3. All advertising materials mentioning features or use of this software
  1522. // must display the following acknowledgement:
  1523. // This product includes software developed by the University of
  1524. // California, Berkeley and its contributors.
  1525. // 4. Neither the name of the University nor the names of its contributors
  1526. // may be used to endorse or promote products derived from this software
  1527. // without specific prior written permission.
  1528. //
  1529. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1530. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1531. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1532. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1533. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1534. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1535. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1536. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1537. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1538. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1539. // SUCH DAMAGE.
  1540. //
  1541. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1542. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1543. //
  1544. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1545. //
  1546. // This file contains Original Code and/or Modifications of Original Code
  1547. // as defined in and that are subject to the Apple Public Source License
  1548. // Version 2.0 (the 'License'). You may not use this file except in
  1549. // compliance with the License. The rights granted to you under the License
  1550. // may not be used to create, or enable the creation or redistribution of,
  1551. // unlawful or unlicensed copies of an Apple operating system, or to
  1552. // circumvent, violate, or enable the circumvention or violation of, any
  1553. // terms of an Apple operating system software license agreement.
  1554. //
  1555. // Please obtain a copy of the License at
  1556. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1557. //
  1558. // The Original Code and all software distributed under the License are
  1559. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1560. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1561. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1562. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1563. // Please see the License for the specific language governing rights and
  1564. // limitations under the License.
  1565. //
  1566. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1567. // This file holds definitions relevent to the wait4 system call
  1568. // and the alternate interfaces that use it (wait, wait3, waitpid).
  1569. // [XSI] The type idtype_t shall be defined as an enumeration type whose
  1570. // possible values shall include at least P_ALL, P_PID, and P_PGID.
  1571. type Idtype_t = uint32 /* wait.h:83:3 */
  1572. // [XSI] The id_t and pid_t types shall be defined as described
  1573. // in <sys/types.h>
  1574. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1575. //
  1576. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1577. //
  1578. // This file contains Original Code and/or Modifications of Original Code
  1579. // as defined in and that are subject to the Apple Public Source License
  1580. // Version 2.0 (the 'License'). You may not use this file except in
  1581. // compliance with the License. The rights granted to you under the License
  1582. // may not be used to create, or enable the creation or redistribution of,
  1583. // unlawful or unlicensed copies of an Apple operating system, or to
  1584. // circumvent, violate, or enable the circumvention or violation of, any
  1585. // terms of an Apple operating system software license agreement.
  1586. //
  1587. // Please obtain a copy of the License at
  1588. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1589. //
  1590. // The Original Code and all software distributed under the License are
  1591. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1592. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1593. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1594. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1595. // Please see the License for the specific language governing rights and
  1596. // limitations under the License.
  1597. //
  1598. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1599. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1600. //
  1601. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1602. //
  1603. // This file contains Original Code and/or Modifications of Original Code
  1604. // as defined in and that are subject to the Apple Public Source License
  1605. // Version 2.0 (the 'License'). You may not use this file except in
  1606. // compliance with the License. The rights granted to you under the License
  1607. // may not be used to create, or enable the creation or redistribution of,
  1608. // unlawful or unlicensed copies of an Apple operating system, or to
  1609. // circumvent, violate, or enable the circumvention or violation of, any
  1610. // terms of an Apple operating system software license agreement.
  1611. //
  1612. // Please obtain a copy of the License at
  1613. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1614. //
  1615. // The Original Code and all software distributed under the License are
  1616. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1617. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1618. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1619. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1620. // Please see the License for the specific language governing rights and
  1621. // limitations under the License.
  1622. //
  1623. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1624. type Pid_t = X__darwin_pid_t /* _pid_t.h:31:31 */
  1625. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  1626. //
  1627. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1628. //
  1629. // This file contains Original Code and/or Modifications of Original Code
  1630. // as defined in and that are subject to the Apple Public Source License
  1631. // Version 2.0 (the 'License'). You may not use this file except in
  1632. // compliance with the License. The rights granted to you under the License
  1633. // may not be used to create, or enable the creation or redistribution of,
  1634. // unlawful or unlicensed copies of an Apple operating system, or to
  1635. // circumvent, violate, or enable the circumvention or violation of, any
  1636. // terms of an Apple operating system software license agreement.
  1637. //
  1638. // Please obtain a copy of the License at
  1639. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1640. //
  1641. // The Original Code and all software distributed under the License are
  1642. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1643. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1644. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1645. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1646. // Please see the License for the specific language governing rights and
  1647. // limitations under the License.
  1648. //
  1649. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1650. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1651. //
  1652. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1653. //
  1654. // This file contains Original Code and/or Modifications of Original Code
  1655. // as defined in and that are subject to the Apple Public Source License
  1656. // Version 2.0 (the 'License'). You may not use this file except in
  1657. // compliance with the License. The rights granted to you under the License
  1658. // may not be used to create, or enable the creation or redistribution of,
  1659. // unlawful or unlicensed copies of an Apple operating system, or to
  1660. // circumvent, violate, or enable the circumvention or violation of, any
  1661. // terms of an Apple operating system software license agreement.
  1662. //
  1663. // Please obtain a copy of the License at
  1664. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1665. //
  1666. // The Original Code and all software distributed under the License are
  1667. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1668. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1669. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1670. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1671. // Please see the License for the specific language governing rights and
  1672. // limitations under the License.
  1673. //
  1674. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1675. type Id_t = X__darwin_id_t /* _id_t.h:31:25 */ // can hold pid_t, gid_t, or uid_t
  1676. // [XSI] The siginfo_t type shall be defined as described in <signal.h>
  1677. // [XSI] The rusage structure shall be defined as described in <sys/resource.h>
  1678. // [XSI] Inclusion of the <sys/wait.h> header may also make visible all
  1679. // symbols from <signal.h> and <sys/resource.h>
  1680. //
  1681. // NOTE: This requirement is currently being satisfied by the direct
  1682. // inclusion of <sys/signal.h> and <sys/resource.h>, below.
  1683. //
  1684. // Software should not depend on the exposure of anything other
  1685. // than the types siginfo_t and struct rusage as a result of
  1686. // this inclusion. If you depend on any types or manifest
  1687. // values othe than siginfo_t and struct rusage from either of
  1688. // those files, you should explicitly include them yourself, as
  1689. // well, or in future releases your stware may not compile
  1690. // without modification.
  1691. // Copyright (c) 2000-2006 Apple Computer, Inc. All rights reserved.
  1692. //
  1693. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1694. //
  1695. // This file contains Original Code and/or Modifications of Original Code
  1696. // as defined in and that are subject to the Apple Public Source License
  1697. // Version 2.0 (the 'License'). You may not use this file except in
  1698. // compliance with the License. The rights granted to you under the License
  1699. // may not be used to create, or enable the creation or redistribution of,
  1700. // unlawful or unlicensed copies of an Apple operating system, or to
  1701. // circumvent, violate, or enable the circumvention or violation of, any
  1702. // terms of an Apple operating system software license agreement.
  1703. //
  1704. // Please obtain a copy of the License at
  1705. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1706. //
  1707. // The Original Code and all software distributed under the License are
  1708. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1709. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1710. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1711. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1712. // Please see the License for the specific language governing rights and
  1713. // limitations under the License.
  1714. //
  1715. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1716. // Copyright (c) 1995 NeXT Computer, Inc. All Rights Reserved
  1717. // Copyright (c) 1982, 1986, 1989, 1991, 1993
  1718. // The Regents of the University of California. All rights reserved.
  1719. // (c) UNIX System Laboratories, Inc.
  1720. // All or some portions of this file are derived from material licensed
  1721. // to the University of California by American Telephone and Telegraph
  1722. // Co. or Unix System Laboratories, Inc. and are reproduced herein with
  1723. // the permission of UNIX System Laboratories, Inc.
  1724. //
  1725. // Redistribution and use in source and binary forms, with or without
  1726. // modification, are permitted provided that the following conditions
  1727. // are met:
  1728. // 1. Redistributions of source code must retain the above copyright
  1729. // notice, this list of conditions and the following disclaimer.
  1730. // 2. Redistributions in binary form must reproduce the above copyright
  1731. // notice, this list of conditions and the following disclaimer in the
  1732. // documentation and/or other materials provided with the distribution.
  1733. // 3. All advertising materials mentioning features or use of this software
  1734. // must display the following acknowledgement:
  1735. // This product includes software developed by the University of
  1736. // California, Berkeley and its contributors.
  1737. // 4. Neither the name of the University nor the names of its contributors
  1738. // may be used to endorse or promote products derived from this software
  1739. // without specific prior written permission.
  1740. //
  1741. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1742. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1743. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1744. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1745. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1746. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1747. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1748. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1749. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1750. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1751. // SUCH DAMAGE.
  1752. //
  1753. // @(#)signal.h 8.2 (Berkeley) 1/21/94
  1754. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1755. //
  1756. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1757. //
  1758. // This file contains Original Code and/or Modifications of Original Code
  1759. // as defined in and that are subject to the Apple Public Source License
  1760. // Version 2.0 (the 'License'). You may not use this file except in
  1761. // compliance with the License. The rights granted to you under the License
  1762. // may not be used to create, or enable the creation or redistribution of,
  1763. // unlawful or unlicensed copies of an Apple operating system, or to
  1764. // circumvent, violate, or enable the circumvention or violation of, any
  1765. // terms of an Apple operating system software license agreement.
  1766. //
  1767. // Please obtain a copy of the License at
  1768. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1769. //
  1770. // The Original Code and all software distributed under the License are
  1771. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1772. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1773. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1774. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1775. // Please see the License for the specific language governing rights and
  1776. // limitations under the License.
  1777. //
  1778. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1779. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1780. // Copyright (c) 1991, 1993
  1781. // The Regents of the University of California. All rights reserved.
  1782. //
  1783. // This code is derived from software contributed to Berkeley by
  1784. // Berkeley Software Design, Inc.
  1785. //
  1786. // Redistribution and use in source and binary forms, with or without
  1787. // modification, are permitted provided that the following conditions
  1788. // are met:
  1789. // 1. Redistributions of source code must retain the above copyright
  1790. // notice, this list of conditions and the following disclaimer.
  1791. // 2. Redistributions in binary form must reproduce the above copyright
  1792. // notice, this list of conditions and the following disclaimer in the
  1793. // documentation and/or other materials provided with the distribution.
  1794. // 3. All advertising materials mentioning features or use of this software
  1795. // must display the following acknowledgement:
  1796. // This product includes software developed by the University of
  1797. // California, Berkeley and its contributors.
  1798. // 4. Neither the name of the University nor the names of its contributors
  1799. // may be used to endorse or promote products derived from this software
  1800. // without specific prior written permission.
  1801. //
  1802. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1803. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1804. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1805. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1806. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1807. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1808. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1809. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1810. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1811. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1812. // SUCH DAMAGE.
  1813. //
  1814. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1815. // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  1816. //
  1817. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1818. //
  1819. // This file contains Original Code and/or Modifications of Original Code
  1820. // as defined in and that are subject to the Apple Public Source License
  1821. // Version 2.0 (the 'License'). You may not use this file except in
  1822. // compliance with the License. The rights granted to you under the License
  1823. // may not be used to create, or enable the creation or redistribution of,
  1824. // unlawful or unlicensed copies of an Apple operating system, or to
  1825. // circumvent, violate, or enable the circumvention or violation of, any
  1826. // terms of an Apple operating system software license agreement.
  1827. //
  1828. // Please obtain a copy of the License at
  1829. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1830. //
  1831. // The Original Code and all software distributed under the License are
  1832. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1833. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1834. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1835. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1836. // Please see the License for the specific language governing rights and
  1837. // limitations under the License.
  1838. //
  1839. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1840. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  1841. //
  1842. // @APPLE_LICENSE_HEADER_START@
  1843. //
  1844. // This file contains Original Code and/or Modifications of Original Code
  1845. // as defined in and that are subject to the Apple Public Source License
  1846. // Version 2.0 (the 'License'). You may not use this file except in
  1847. // compliance with the License. Please obtain a copy of the License at
  1848. // http://www.opensource.apple.com/apsl/ and read it before using this
  1849. // file.
  1850. //
  1851. // The Original Code and all software distributed under the License are
  1852. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1853. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1854. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1855. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1856. // Please see the License for the specific language governing rights and
  1857. // limitations under the License.
  1858. //
  1859. // @APPLE_LICENSE_HEADER_END@
  1860. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  1861. //
  1862. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1863. //
  1864. // This file contains Original Code and/or Modifications of Original Code
  1865. // as defined in and that are subject to the Apple Public Source License
  1866. // Version 2.0 (the 'License'). You may not use this file except in
  1867. // compliance with the License. The rights granted to you under the License
  1868. // may not be used to create, or enable the creation or redistribution of,
  1869. // unlawful or unlicensed copies of an Apple operating system, or to
  1870. // circumvent, violate, or enable the circumvention or violation of, any
  1871. // terms of an Apple operating system software license agreement.
  1872. //
  1873. // Please obtain a copy of the License at
  1874. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1875. //
  1876. // The Original Code and all software distributed under the License are
  1877. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1878. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1879. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1880. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1881. // Please see the License for the specific language governing rights and
  1882. // limitations under the License.
  1883. //
  1884. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1885. // Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
  1886. //
  1887. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1888. //
  1889. // This file contains Original Code and/or Modifications of Original Code
  1890. // as defined in and that are subject to the Apple Public Source License
  1891. // Version 2.0 (the 'License'). You may not use this file except in
  1892. // compliance with the License. The rights granted to you under the License
  1893. // may not be used to create, or enable the creation or redistribution of,
  1894. // unlawful or unlicensed copies of an Apple operating system, or to
  1895. // circumvent, violate, or enable the circumvention or violation of, any
  1896. // terms of an Apple operating system software license agreement.
  1897. //
  1898. // Please obtain a copy of the License at
  1899. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1900. //
  1901. // The Original Code and all software distributed under the License are
  1902. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1903. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1904. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1905. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1906. // Please see the License for the specific language governing rights and
  1907. // limitations under the License.
  1908. //
  1909. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1910. // Copyright (c) 1992 NeXT Computer, Inc.
  1911. //
  1912. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  1913. //
  1914. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1915. //
  1916. // This file contains Original Code and/or Modifications of Original Code
  1917. // as defined in and that are subject to the Apple Public Source License
  1918. // Version 2.0 (the 'License'). You may not use this file except in
  1919. // compliance with the License. The rights granted to you under the License
  1920. // may not be used to create, or enable the creation or redistribution of,
  1921. // unlawful or unlicensed copies of an Apple operating system, or to
  1922. // circumvent, violate, or enable the circumvention or violation of, any
  1923. // terms of an Apple operating system software license agreement.
  1924. //
  1925. // Please obtain a copy of the License at
  1926. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1927. //
  1928. // The Original Code and all software distributed under the License are
  1929. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1930. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1931. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1932. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1933. // Please see the License for the specific language governing rights and
  1934. // limitations under the License.
  1935. //
  1936. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  1937. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  1938. // Copyright (c) 1991, 1993
  1939. // The Regents of the University of California. All rights reserved.
  1940. //
  1941. // This code is derived from software contributed to Berkeley by
  1942. // Berkeley Software Design, Inc.
  1943. //
  1944. // Redistribution and use in source and binary forms, with or without
  1945. // modification, are permitted provided that the following conditions
  1946. // are met:
  1947. // 1. Redistributions of source code must retain the above copyright
  1948. // notice, this list of conditions and the following disclaimer.
  1949. // 2. Redistributions in binary form must reproduce the above copyright
  1950. // notice, this list of conditions and the following disclaimer in the
  1951. // documentation and/or other materials provided with the distribution.
  1952. // 3. All advertising materials mentioning features or use of this software
  1953. // must display the following acknowledgement:
  1954. // This product includes software developed by the University of
  1955. // California, Berkeley and its contributors.
  1956. // 4. Neither the name of the University nor the names of its contributors
  1957. // may be used to endorse or promote products derived from this software
  1958. // without specific prior written permission.
  1959. //
  1960. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  1961. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1962. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  1963. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  1964. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  1965. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  1966. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1967. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  1968. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  1969. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  1970. // SUCH DAMAGE.
  1971. //
  1972. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  1973. type Sig_atomic_t = int32 /* signal.h:39:13 */
  1974. // Language spec sez we must list exactly one parameter, even though we
  1975. // actually supply three. Ugh!
  1976. // SIG_HOLD is chosen to avoid KERN_SIG_* values in <sys/signalvar.h>
  1977. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  1978. //
  1979. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  1980. //
  1981. // This file contains Original Code and/or Modifications of Original Code
  1982. // as defined in and that are subject to the Apple Public Source License
  1983. // Version 2.0 (the 'License'). You may not use this file except in
  1984. // compliance with the License. The rights granted to you under the License
  1985. // may not be used to create, or enable the creation or redistribution of,
  1986. // unlawful or unlicensed copies of an Apple operating system, or to
  1987. // circumvent, violate, or enable the circumvention or violation of, any
  1988. // terms of an Apple operating system software license agreement.
  1989. //
  1990. // Please obtain a copy of the License at
  1991. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  1992. //
  1993. // The Original Code and all software distributed under the License are
  1994. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  1995. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  1996. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  1997. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  1998. // Please see the License for the specific language governing rights and
  1999. // limitations under the License.
  2000. //
  2001. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2002. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2003. //
  2004. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2005. //
  2006. // This file contains Original Code and/or Modifications of Original Code
  2007. // as defined in and that are subject to the Apple Public Source License
  2008. // Version 2.0 (the 'License'). You may not use this file except in
  2009. // compliance with the License. The rights granted to you under the License
  2010. // may not be used to create, or enable the creation or redistribution of,
  2011. // unlawful or unlicensed copies of an Apple operating system, or to
  2012. // circumvent, violate, or enable the circumvention or violation of, any
  2013. // terms of an Apple operating system software license agreement.
  2014. //
  2015. // Please obtain a copy of the License at
  2016. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2017. //
  2018. // The Original Code and all software distributed under the License are
  2019. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2020. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2021. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2022. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2023. // Please see the License for the specific language governing rights and
  2024. // limitations under the License.
  2025. //
  2026. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2027. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2028. //
  2029. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2030. //
  2031. // This file contains Original Code and/or Modifications of Original Code
  2032. // as defined in and that are subject to the Apple Public Source License
  2033. // Version 2.0 (the 'License'). You may not use this file except in
  2034. // compliance with the License. The rights granted to you under the License
  2035. // may not be used to create, or enable the creation or redistribution of,
  2036. // unlawful or unlicensed copies of an Apple operating system, or to
  2037. // circumvent, violate, or enable the circumvention or violation of, any
  2038. // terms of an Apple operating system software license agreement.
  2039. //
  2040. // Please obtain a copy of the License at
  2041. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2042. //
  2043. // The Original Code and all software distributed under the License are
  2044. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2045. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2046. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2047. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2048. // Please see the License for the specific language governing rights and
  2049. // limitations under the License.
  2050. //
  2051. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2052. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  2053. //
  2054. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2055. //
  2056. // This file contains Original Code and/or Modifications of Original Code
  2057. // as defined in and that are subject to the Apple Public Source License
  2058. // Version 2.0 (the 'License'). You may not use this file except in
  2059. // compliance with the License. The rights granted to you under the License
  2060. // may not be used to create, or enable the creation or redistribution of,
  2061. // unlawful or unlicensed copies of an Apple operating system, or to
  2062. // circumvent, violate, or enable the circumvention or violation of, any
  2063. // terms of an Apple operating system software license agreement.
  2064. //
  2065. // Please obtain a copy of the License at
  2066. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2067. //
  2068. // The Original Code and all software distributed under the License are
  2069. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2070. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2071. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2072. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2073. // Please see the License for the specific language governing rights and
  2074. // limitations under the License.
  2075. //
  2076. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2077. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2078. // Copyright (c) 1991, 1993
  2079. // The Regents of the University of California. All rights reserved.
  2080. //
  2081. // This code is derived from software contributed to Berkeley by
  2082. // Berkeley Software Design, Inc.
  2083. //
  2084. // Redistribution and use in source and binary forms, with or without
  2085. // modification, are permitted provided that the following conditions
  2086. // are met:
  2087. // 1. Redistributions of source code must retain the above copyright
  2088. // notice, this list of conditions and the following disclaimer.
  2089. // 2. Redistributions in binary form must reproduce the above copyright
  2090. // notice, this list of conditions and the following disclaimer in the
  2091. // documentation and/or other materials provided with the distribution.
  2092. // 3. All advertising materials mentioning features or use of this software
  2093. // must display the following acknowledgement:
  2094. // This product includes software developed by the University of
  2095. // California, Berkeley and its contributors.
  2096. // 4. Neither the name of the University nor the names of its contributors
  2097. // may be used to endorse or promote products derived from this software
  2098. // without specific prior written permission.
  2099. //
  2100. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2101. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2102. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2103. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2104. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2105. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2106. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2107. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2108. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2109. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2110. // SUCH DAMAGE.
  2111. //
  2112. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  2113. // Copyright (c) 2002 Apple Computer, Inc. All rights reserved.
  2114. //
  2115. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2116. //
  2117. // This file contains Original Code and/or Modifications of Original Code
  2118. // as defined in and that are subject to the Apple Public Source License
  2119. // Version 2.0 (the 'License'). You may not use this file except in
  2120. // compliance with the License. The rights granted to you under the License
  2121. // may not be used to create, or enable the creation or redistribution of,
  2122. // unlawful or unlicensed copies of an Apple operating system, or to
  2123. // circumvent, violate, or enable the circumvention or violation of, any
  2124. // terms of an Apple operating system software license agreement.
  2125. //
  2126. // Please obtain a copy of the License at
  2127. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2128. //
  2129. // The Original Code and all software distributed under the License are
  2130. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2131. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2132. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2133. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2134. // Please see the License for the specific language governing rights and
  2135. // limitations under the License.
  2136. //
  2137. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2138. // Copyright (c) 2017 Apple Inc. All rights reserved.
  2139. //
  2140. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2141. //
  2142. // This file contains Original Code and/or Modifications of Original Code
  2143. // as defined in and that are subject to the Apple Public Source License
  2144. // Version 2.0 (the 'License'). You may not use this file except in
  2145. // compliance with the License. The rights granted to you under the License
  2146. // may not be used to create, or enable the creation or redistribution of,
  2147. // unlawful or unlicensed copies of an Apple operating system, or to
  2148. // circumvent, violate, or enable the circumvention or violation of, any
  2149. // terms of an Apple operating system software license agreement.
  2150. //
  2151. // Please obtain a copy of the License at
  2152. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2153. //
  2154. // The Original Code and all software distributed under the License are
  2155. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2156. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2157. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2158. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2159. // Please see the License for the specific language governing rights and
  2160. // limitations under the License.
  2161. //
  2162. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2163. // Copyright (c) 2004-2006 Apple Computer, Inc. All rights reserved.
  2164. //
  2165. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2166. //
  2167. // This file contains Original Code and/or Modifications of Original Code
  2168. // as defined in and that are subject to the Apple Public Source License
  2169. // Version 2.0 (the 'License'). You may not use this file except in
  2170. // compliance with the License. The rights granted to you under the License
  2171. // may not be used to create, or enable the creation or redistribution of,
  2172. // unlawful or unlicensed copies of an Apple operating system, or to
  2173. // circumvent, violate, or enable the circumvention or violation of, any
  2174. // terms of an Apple operating system software license agreement.
  2175. //
  2176. // Please obtain a copy of the License at
  2177. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2178. //
  2179. // The Original Code and all software distributed under the License are
  2180. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2181. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2182. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2183. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2184. // Please see the License for the specific language governing rights and
  2185. // limitations under the License.
  2186. //
  2187. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2188. // @OSF_COPYRIGHT@
  2189. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  2190. //
  2191. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2192. //
  2193. // This file contains Original Code and/or Modifications of Original Code
  2194. // as defined in and that are subject to the Apple Public Source License
  2195. // Version 2.0 (the 'License'). You may not use this file except in
  2196. // compliance with the License. The rights granted to you under the License
  2197. // may not be used to create, or enable the creation or redistribution of,
  2198. // unlawful or unlicensed copies of an Apple operating system, or to
  2199. // circumvent, violate, or enable the circumvention or violation of, any
  2200. // terms of an Apple operating system software license agreement.
  2201. //
  2202. // Please obtain a copy of the License at
  2203. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2204. //
  2205. // The Original Code and all software distributed under the License are
  2206. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2207. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2208. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2209. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2210. // Please see the License for the specific language governing rights and
  2211. // limitations under the License.
  2212. //
  2213. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2214. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2215. // Copyright (c) 1991, 1993
  2216. // The Regents of the University of California. All rights reserved.
  2217. //
  2218. // This code is derived from software contributed to Berkeley by
  2219. // Berkeley Software Design, Inc.
  2220. //
  2221. // Redistribution and use in source and binary forms, with or without
  2222. // modification, are permitted provided that the following conditions
  2223. // are met:
  2224. // 1. Redistributions of source code must retain the above copyright
  2225. // notice, this list of conditions and the following disclaimer.
  2226. // 2. Redistributions in binary form must reproduce the above copyright
  2227. // notice, this list of conditions and the following disclaimer in the
  2228. // documentation and/or other materials provided with the distribution.
  2229. // 3. All advertising materials mentioning features or use of this software
  2230. // must display the following acknowledgement:
  2231. // This product includes software developed by the University of
  2232. // California, Berkeley and its contributors.
  2233. // 4. Neither the name of the University nor the names of its contributors
  2234. // may be used to endorse or promote products derived from this software
  2235. // without specific prior written permission.
  2236. //
  2237. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2238. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2239. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2240. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2241. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2242. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2243. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2244. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2245. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2246. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2247. // SUCH DAMAGE.
  2248. //
  2249. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  2250. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2251. //
  2252. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2253. //
  2254. // This file contains Original Code and/or Modifications of Original Code
  2255. // as defined in and that are subject to the Apple Public Source License
  2256. // Version 2.0 (the 'License'). You may not use this file except in
  2257. // compliance with the License. The rights granted to you under the License
  2258. // may not be used to create, or enable the creation or redistribution of,
  2259. // unlawful or unlicensed copies of an Apple operating system, or to
  2260. // circumvent, violate, or enable the circumvention or violation of, any
  2261. // terms of an Apple operating system software license agreement.
  2262. //
  2263. // Please obtain a copy of the License at
  2264. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2265. //
  2266. // The Original Code and all software distributed under the License are
  2267. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2268. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2269. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2270. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2271. // Please see the License for the specific language governing rights and
  2272. // limitations under the License.
  2273. //
  2274. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2275. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2276. // Copyright (c) 2000-2008 Apple Inc. All rights reserved.
  2277. //
  2278. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2279. //
  2280. // This file contains Original Code and/or Modifications of Original Code
  2281. // as defined in and that are subject to the Apple Public Source License
  2282. // Version 2.0 (the 'License'). You may not use this file except in
  2283. // compliance with the License. The rights granted to you under the License
  2284. // may not be used to create, or enable the creation or redistribution of,
  2285. // unlawful or unlicensed copies of an Apple operating system, or to
  2286. // circumvent, violate, or enable the circumvention or violation of, any
  2287. // terms of an Apple operating system software license agreement.
  2288. //
  2289. // Please obtain a copy of the License at
  2290. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2291. //
  2292. // The Original Code and all software distributed under the License are
  2293. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2294. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2295. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2296. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2297. // Please see the License for the specific language governing rights and
  2298. // limitations under the License.
  2299. //
  2300. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2301. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2302. // Copyright (c) 1990, 1993
  2303. // The Regents of the University of California. All rights reserved.
  2304. //
  2305. // Redistribution and use in source and binary forms, with or without
  2306. // modification, are permitted provided that the following conditions
  2307. // are met:
  2308. // 1. Redistributions of source code must retain the above copyright
  2309. // notice, this list of conditions and the following disclaimer.
  2310. // 2. Redistributions in binary form must reproduce the above copyright
  2311. // notice, this list of conditions and the following disclaimer in the
  2312. // documentation and/or other materials provided with the distribution.
  2313. // 3. All advertising materials mentioning features or use of this software
  2314. // must display the following acknowledgement:
  2315. // This product includes software developed by the University of
  2316. // California, Berkeley and its contributors.
  2317. // 4. Neither the name of the University nor the names of its contributors
  2318. // may be used to endorse or promote products derived from this software
  2319. // without specific prior written permission.
  2320. //
  2321. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2322. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2323. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2324. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2325. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2326. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2327. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2328. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2329. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2330. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2331. // SUCH DAMAGE.
  2332. //
  2333. // @(#)types.h 8.3 (Berkeley) 1/5/94
  2334. // Copyright (c) 2000-2003 Apple Computer, Inc. All rights reserved.
  2335. //
  2336. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2337. //
  2338. // This file contains Original Code and/or Modifications of Original Code
  2339. // as defined in and that are subject to the Apple Public Source License
  2340. // Version 2.0 (the 'License'). You may not use this file except in
  2341. // compliance with the License. The rights granted to you under the License
  2342. // may not be used to create, or enable the creation or redistribution of,
  2343. // unlawful or unlicensed copies of an Apple operating system, or to
  2344. // circumvent, violate, or enable the circumvention or violation of, any
  2345. // terms of an Apple operating system software license agreement.
  2346. //
  2347. // Please obtain a copy of the License at
  2348. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2349. //
  2350. // The Original Code and all software distributed under the License are
  2351. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2352. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2353. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2354. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2355. // Please see the License for the specific language governing rights and
  2356. // limitations under the License.
  2357. //
  2358. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2359. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  2360. //
  2361. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2362. //
  2363. // This file contains Original Code and/or Modifications of Original Code
  2364. // as defined in and that are subject to the Apple Public Source License
  2365. // Version 2.0 (the 'License'). You may not use this file except in
  2366. // compliance with the License. The rights granted to you under the License
  2367. // may not be used to create, or enable the creation or redistribution of,
  2368. // unlawful or unlicensed copies of an Apple operating system, or to
  2369. // circumvent, violate, or enable the circumvention or violation of, any
  2370. // terms of an Apple operating system software license agreement.
  2371. //
  2372. // Please obtain a copy of the License at
  2373. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2374. //
  2375. // The Original Code and all software distributed under the License are
  2376. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2377. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2378. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2379. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2380. // Please see the License for the specific language governing rights and
  2381. // limitations under the License.
  2382. //
  2383. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2384. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2385. // Copyright (c) 1991, 1993
  2386. // The Regents of the University of California. All rights reserved.
  2387. //
  2388. // This code is derived from software contributed to Berkeley by
  2389. // Berkeley Software Design, Inc.
  2390. //
  2391. // Redistribution and use in source and binary forms, with or without
  2392. // modification, are permitted provided that the following conditions
  2393. // are met:
  2394. // 1. Redistributions of source code must retain the above copyright
  2395. // notice, this list of conditions and the following disclaimer.
  2396. // 2. Redistributions in binary form must reproduce the above copyright
  2397. // notice, this list of conditions and the following disclaimer in the
  2398. // documentation and/or other materials provided with the distribution.
  2399. // 3. All advertising materials mentioning features or use of this software
  2400. // must display the following acknowledgement:
  2401. // This product includes software developed by the University of
  2402. // California, Berkeley and its contributors.
  2403. // 4. Neither the name of the University nor the names of its contributors
  2404. // may be used to endorse or promote products derived from this software
  2405. // without specific prior written permission.
  2406. //
  2407. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  2408. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  2409. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  2410. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  2411. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  2412. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  2413. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  2414. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  2415. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  2416. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  2417. // SUCH DAMAGE.
  2418. //
  2419. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  2420. // Basic integral types. Omit the typedef if
  2421. // not possible for a machine/compiler combination.
  2422. // Copyright (c) 2012 Apple Inc. All rights reserved.
  2423. //
  2424. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2425. //
  2426. // This file contains Original Code and/or Modifications of Original Code
  2427. // as defined in and that are subject to the Apple Public Source License
  2428. // Version 2.0 (the 'License'). You may not use this file except in
  2429. // compliance with the License. The rights granted to you under the License
  2430. // may not be used to create, or enable the creation or redistribution of,
  2431. // unlawful or unlicensed copies of an Apple operating system, or to
  2432. // circumvent, violate, or enable the circumvention or violation of, any
  2433. // terms of an Apple operating system software license agreement.
  2434. //
  2435. // Please obtain a copy of the License at
  2436. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2437. //
  2438. // The Original Code and all software distributed under the License are
  2439. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2440. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2441. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2442. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2443. // Please see the License for the specific language governing rights and
  2444. // limitations under the License.
  2445. //
  2446. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2447. type Int8_t = int8 /* _int8_t.h:30:33 */
  2448. // Copyright (c) 2012 Apple Inc. All rights reserved.
  2449. //
  2450. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2451. //
  2452. // This file contains Original Code and/or Modifications of Original Code
  2453. // as defined in and that are subject to the Apple Public Source License
  2454. // Version 2.0 (the 'License'). You may not use this file except in
  2455. // compliance with the License. The rights granted to you under the License
  2456. // may not be used to create, or enable the creation or redistribution of,
  2457. // unlawful or unlicensed copies of an Apple operating system, or to
  2458. // circumvent, violate, or enable the circumvention or violation of, any
  2459. // terms of an Apple operating system software license agreement.
  2460. //
  2461. // Please obtain a copy of the License at
  2462. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2463. //
  2464. // The Original Code and all software distributed under the License are
  2465. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2466. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2467. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2468. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2469. // Please see the License for the specific language governing rights and
  2470. // limitations under the License.
  2471. //
  2472. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2473. type Int16_t = int16 /* _int16_t.h:30:33 */
  2474. // Copyright (c) 2012 Apple Inc. All rights reserved.
  2475. //
  2476. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2477. //
  2478. // This file contains Original Code and/or Modifications of Original Code
  2479. // as defined in and that are subject to the Apple Public Source License
  2480. // Version 2.0 (the 'License'). You may not use this file except in
  2481. // compliance with the License. The rights granted to you under the License
  2482. // may not be used to create, or enable the creation or redistribution of,
  2483. // unlawful or unlicensed copies of an Apple operating system, or to
  2484. // circumvent, violate, or enable the circumvention or violation of, any
  2485. // terms of an Apple operating system software license agreement.
  2486. //
  2487. // Please obtain a copy of the License at
  2488. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2489. //
  2490. // The Original Code and all software distributed under the License are
  2491. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2492. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2493. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2494. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2495. // Please see the License for the specific language governing rights and
  2496. // limitations under the License.
  2497. //
  2498. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2499. type Int32_t = int32 /* _int32_t.h:30:33 */
  2500. // Copyright (c) 2012 Apple Inc. All rights reserved.
  2501. //
  2502. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2503. //
  2504. // This file contains Original Code and/or Modifications of Original Code
  2505. // as defined in and that are subject to the Apple Public Source License
  2506. // Version 2.0 (the 'License'). You may not use this file except in
  2507. // compliance with the License. The rights granted to you under the License
  2508. // may not be used to create, or enable the creation or redistribution of,
  2509. // unlawful or unlicensed copies of an Apple operating system, or to
  2510. // circumvent, violate, or enable the circumvention or violation of, any
  2511. // terms of an Apple operating system software license agreement.
  2512. //
  2513. // Please obtain a copy of the License at
  2514. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2515. //
  2516. // The Original Code and all software distributed under the License are
  2517. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2518. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2519. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2520. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2521. // Please see the License for the specific language governing rights and
  2522. // limitations under the License.
  2523. //
  2524. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2525. type Int64_t = int64 /* _int64_t.h:30:33 */
  2526. // Copyright (c) 2016 Apple Inc. All rights reserved.
  2527. //
  2528. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2529. //
  2530. // This file contains Original Code and/or Modifications of Original Code
  2531. // as defined in and that are subject to the Apple Public Source License
  2532. // Version 2.0 (the 'License'). You may not use this file except in
  2533. // compliance with the License. The rights granted to you under the License
  2534. // may not be used to create, or enable the creation or redistribution of,
  2535. // unlawful or unlicensed copies of an Apple operating system, or to
  2536. // circumvent, violate, or enable the circumvention or violation of, any
  2537. // terms of an Apple operating system software license agreement.
  2538. //
  2539. // Please obtain a copy of the License at
  2540. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2541. //
  2542. // The Original Code and all software distributed under the License are
  2543. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2544. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2545. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2546. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2547. // Please see the License for the specific language governing rights and
  2548. // limitations under the License.
  2549. //
  2550. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2551. type U_int8_t = uint8 /* _u_int8_t.h:30:33 */
  2552. // Copyright (c) 2012 Apple Inc. All rights reserved.
  2553. //
  2554. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2555. //
  2556. // This file contains Original Code and/or Modifications of Original Code
  2557. // as defined in and that are subject to the Apple Public Source License
  2558. // Version 2.0 (the 'License'). You may not use this file except in
  2559. // compliance with the License. The rights granted to you under the License
  2560. // may not be used to create, or enable the creation or redistribution of,
  2561. // unlawful or unlicensed copies of an Apple operating system, or to
  2562. // circumvent, violate, or enable the circumvention or violation of, any
  2563. // terms of an Apple operating system software license agreement.
  2564. //
  2565. // Please obtain a copy of the License at
  2566. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2567. //
  2568. // The Original Code and all software distributed under the License are
  2569. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2570. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2571. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2572. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2573. // Please see the License for the specific language governing rights and
  2574. // limitations under the License.
  2575. //
  2576. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2577. type U_int16_t = uint16 /* _u_int16_t.h:30:41 */
  2578. // Copyright (c) 2012 Apple Inc. All rights reserved.
  2579. //
  2580. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2581. //
  2582. // This file contains Original Code and/or Modifications of Original Code
  2583. // as defined in and that are subject to the Apple Public Source License
  2584. // Version 2.0 (the 'License'). You may not use this file except in
  2585. // compliance with the License. The rights granted to you under the License
  2586. // may not be used to create, or enable the creation or redistribution of,
  2587. // unlawful or unlicensed copies of an Apple operating system, or to
  2588. // circumvent, violate, or enable the circumvention or violation of, any
  2589. // terms of an Apple operating system software license agreement.
  2590. //
  2591. // Please obtain a copy of the License at
  2592. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2593. //
  2594. // The Original Code and all software distributed under the License are
  2595. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2596. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2597. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2598. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2599. // Please see the License for the specific language governing rights and
  2600. // limitations under the License.
  2601. //
  2602. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2603. type U_int32_t = uint32 /* _u_int32_t.h:30:33 */
  2604. // Copyright (c) 2012 Apple Inc. All rights reserved.
  2605. //
  2606. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2607. //
  2608. // This file contains Original Code and/or Modifications of Original Code
  2609. // as defined in and that are subject to the Apple Public Source License
  2610. // Version 2.0 (the 'License'). You may not use this file except in
  2611. // compliance with the License. The rights granted to you under the License
  2612. // may not be used to create, or enable the creation or redistribution of,
  2613. // unlawful or unlicensed copies of an Apple operating system, or to
  2614. // circumvent, violate, or enable the circumvention or violation of, any
  2615. // terms of an Apple operating system software license agreement.
  2616. //
  2617. // Please obtain a copy of the License at
  2618. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2619. //
  2620. // The Original Code and all software distributed under the License are
  2621. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2622. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2623. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2624. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2625. // Please see the License for the specific language governing rights and
  2626. // limitations under the License.
  2627. //
  2628. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2629. type U_int64_t = uint64 /* _u_int64_t.h:30:33 */
  2630. type Register_t = Int64_t /* types.h:87:33 */
  2631. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2632. //
  2633. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2634. //
  2635. // This file contains Original Code and/or Modifications of Original Code
  2636. // as defined in and that are subject to the Apple Public Source License
  2637. // Version 2.0 (the 'License'). You may not use this file except in
  2638. // compliance with the License. The rights granted to you under the License
  2639. // may not be used to create, or enable the creation or redistribution of,
  2640. // unlawful or unlicensed copies of an Apple operating system, or to
  2641. // circumvent, violate, or enable the circumvention or violation of, any
  2642. // terms of an Apple operating system software license agreement.
  2643. //
  2644. // Please obtain a copy of the License at
  2645. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2646. //
  2647. // The Original Code and all software distributed under the License are
  2648. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2649. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2650. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2651. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2652. // Please see the License for the specific language governing rights and
  2653. // limitations under the License.
  2654. //
  2655. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2656. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  2657. //
  2658. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2659. //
  2660. // This file contains Original Code and/or Modifications of Original Code
  2661. // as defined in and that are subject to the Apple Public Source License
  2662. // Version 2.0 (the 'License'). You may not use this file except in
  2663. // compliance with the License. The rights granted to you under the License
  2664. // may not be used to create, or enable the creation or redistribution of,
  2665. // unlawful or unlicensed copies of an Apple operating system, or to
  2666. // circumvent, violate, or enable the circumvention or violation of, any
  2667. // terms of an Apple operating system software license agreement.
  2668. //
  2669. // Please obtain a copy of the License at
  2670. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2671. //
  2672. // The Original Code and all software distributed under the License are
  2673. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2674. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2675. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2676. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2677. // Please see the License for the specific language governing rights and
  2678. // limitations under the License.
  2679. //
  2680. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2681. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  2682. type Intptr_t = X__darwin_intptr_t /* _intptr_t.h:32:33 */
  2683. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  2684. //
  2685. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  2686. //
  2687. // This file contains Original Code and/or Modifications of Original Code
  2688. // as defined in and that are subject to the Apple Public Source License
  2689. // Version 2.0 (the 'License'). You may not use this file except in
  2690. // compliance with the License. The rights granted to you under the License
  2691. // may not be used to create, or enable the creation or redistribution of,
  2692. // unlawful or unlicensed copies of an Apple operating system, or to
  2693. // circumvent, violate, or enable the circumvention or violation of, any
  2694. // terms of an Apple operating system software license agreement.
  2695. //
  2696. // Please obtain a copy of the License at
  2697. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  2698. //
  2699. // The Original Code and all software distributed under the License are
  2700. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  2701. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  2702. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  2703. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  2704. // Please see the License for the specific language governing rights and
  2705. // limitations under the License.
  2706. //
  2707. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  2708. type Uintptr_t = uint64 /* _uintptr_t.h:30:33 */
  2709. // These types are used for reserving the largest possible size.
  2710. type User_addr_t = U_int64_t /* types.h:97:33 */
  2711. type User_size_t = U_int64_t /* types.h:98:33 */
  2712. type User_ssize_t = Int64_t /* types.h:99:33 */
  2713. type User_long_t = Int64_t /* types.h:100:33 */
  2714. type User_ulong_t = U_int64_t /* types.h:101:33 */
  2715. type User_time_t = Int64_t /* types.h:102:33 */
  2716. type User_off_t = Int64_t /* types.h:103:33 */
  2717. // This defines the size of syscall arguments after copying into the kernel:
  2718. type Syscall_arg_t = U_int64_t /* types.h:111:33 */
  2719. // i386 is the structure that is exported to user threads for
  2720. // use in status/mutate calls. This structure should never change.
  2721. //
  2722. type X__darwin_i386_thread_state = struct {
  2723. F__eax uint32
  2724. F__ebx uint32
  2725. F__ecx uint32
  2726. F__edx uint32
  2727. F__edi uint32
  2728. F__esi uint32
  2729. F__ebp uint32
  2730. F__esp uint32
  2731. F__ss uint32
  2732. F__eflags uint32
  2733. F__eip uint32
  2734. F__cs uint32
  2735. F__ds uint32
  2736. F__es uint32
  2737. F__fs uint32
  2738. F__gs uint32
  2739. } /* _structs.h:46:1 */
  2740. // This structure should be double-word aligned for performance
  2741. type X__darwin_fp_control = struct {
  2742. F__ccgo_pad1 [0]uint16
  2743. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2744. } /* _structs.h:92:1 */
  2745. type X__darwin_fp_control_t = X__darwin_fp_control /* _structs.h:117:28 */
  2746. // Status word.
  2747. type X__darwin_fp_status = struct {
  2748. F__ccgo_pad1 [0]uint16
  2749. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2750. } /* _structs.h:150:1 */
  2751. type X__darwin_fp_status_t = X__darwin_fp_status /* _structs.h:167:27 */
  2752. // defn of 80bit x87 FPU or MMX register
  2753. type X__darwin_mmst_reg = struct {
  2754. F__mmst_reg [10]int8
  2755. F__mmst_rsrv [6]int8
  2756. } /* _structs.h:194:1 */
  2757. // defn of 128 bit XMM regs
  2758. type X__darwin_xmm_reg = struct{ F__xmm_reg [16]int8 } /* _structs.h:213:1 */
  2759. // defn of 256 bit YMM regs
  2760. type X__darwin_ymm_reg = struct{ F__ymm_reg [32]int8 } /* _structs.h:229:1 */
  2761. // defn of 512 bit ZMM regs
  2762. type X__darwin_zmm_reg = struct{ F__zmm_reg [64]int8 } /* _structs.h:245:1 */
  2763. type X__darwin_opmask_reg = struct{ F__opmask_reg [8]int8 } /* _structs.h:259:1 */
  2764. // Floating point state.
  2765. type X__darwin_i386_float_state = struct {
  2766. F__fpu_reserved [2]int32
  2767. F__fpu_fcw struct {
  2768. F__ccgo_pad1 [0]uint16
  2769. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2770. }
  2771. F__fpu_fsw struct {
  2772. F__ccgo_pad1 [0]uint16
  2773. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2774. }
  2775. F__fpu_ftw X__uint8_t
  2776. F__fpu_rsrv1 X__uint8_t
  2777. F__fpu_fop X__uint16_t
  2778. F__fpu_ip X__uint32_t
  2779. F__fpu_cs X__uint16_t
  2780. F__fpu_rsrv2 X__uint16_t
  2781. F__fpu_dp X__uint32_t
  2782. F__fpu_ds X__uint16_t
  2783. F__fpu_rsrv3 X__uint16_t
  2784. F__fpu_mxcsr X__uint32_t
  2785. F__fpu_mxcsrmask X__uint32_t
  2786. F__fpu_stmm0 struct {
  2787. F__mmst_reg [10]int8
  2788. F__mmst_rsrv [6]int8
  2789. }
  2790. F__fpu_stmm1 struct {
  2791. F__mmst_reg [10]int8
  2792. F__mmst_rsrv [6]int8
  2793. }
  2794. F__fpu_stmm2 struct {
  2795. F__mmst_reg [10]int8
  2796. F__mmst_rsrv [6]int8
  2797. }
  2798. F__fpu_stmm3 struct {
  2799. F__mmst_reg [10]int8
  2800. F__mmst_rsrv [6]int8
  2801. }
  2802. F__fpu_stmm4 struct {
  2803. F__mmst_reg [10]int8
  2804. F__mmst_rsrv [6]int8
  2805. }
  2806. F__fpu_stmm5 struct {
  2807. F__mmst_reg [10]int8
  2808. F__mmst_rsrv [6]int8
  2809. }
  2810. F__fpu_stmm6 struct {
  2811. F__mmst_reg [10]int8
  2812. F__mmst_rsrv [6]int8
  2813. }
  2814. F__fpu_stmm7 struct {
  2815. F__mmst_reg [10]int8
  2816. F__mmst_rsrv [6]int8
  2817. }
  2818. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  2819. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  2820. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  2821. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  2822. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  2823. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  2824. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  2825. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  2826. F__fpu_rsrv4 [224]int8
  2827. F__fpu_reserved1 int32
  2828. } /* _structs.h:281:1 */
  2829. type X__darwin_i386_avx_state = struct {
  2830. F__fpu_reserved [2]int32
  2831. F__fpu_fcw struct {
  2832. F__ccgo_pad1 [0]uint16
  2833. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2834. }
  2835. F__fpu_fsw struct {
  2836. F__ccgo_pad1 [0]uint16
  2837. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2838. }
  2839. F__fpu_ftw X__uint8_t
  2840. F__fpu_rsrv1 X__uint8_t
  2841. F__fpu_fop X__uint16_t
  2842. F__fpu_ip X__uint32_t
  2843. F__fpu_cs X__uint16_t
  2844. F__fpu_rsrv2 X__uint16_t
  2845. F__fpu_dp X__uint32_t
  2846. F__fpu_ds X__uint16_t
  2847. F__fpu_rsrv3 X__uint16_t
  2848. F__fpu_mxcsr X__uint32_t
  2849. F__fpu_mxcsrmask X__uint32_t
  2850. F__fpu_stmm0 struct {
  2851. F__mmst_reg [10]int8
  2852. F__mmst_rsrv [6]int8
  2853. }
  2854. F__fpu_stmm1 struct {
  2855. F__mmst_reg [10]int8
  2856. F__mmst_rsrv [6]int8
  2857. }
  2858. F__fpu_stmm2 struct {
  2859. F__mmst_reg [10]int8
  2860. F__mmst_rsrv [6]int8
  2861. }
  2862. F__fpu_stmm3 struct {
  2863. F__mmst_reg [10]int8
  2864. F__mmst_rsrv [6]int8
  2865. }
  2866. F__fpu_stmm4 struct {
  2867. F__mmst_reg [10]int8
  2868. F__mmst_rsrv [6]int8
  2869. }
  2870. F__fpu_stmm5 struct {
  2871. F__mmst_reg [10]int8
  2872. F__mmst_rsrv [6]int8
  2873. }
  2874. F__fpu_stmm6 struct {
  2875. F__mmst_reg [10]int8
  2876. F__mmst_rsrv [6]int8
  2877. }
  2878. F__fpu_stmm7 struct {
  2879. F__mmst_reg [10]int8
  2880. F__mmst_rsrv [6]int8
  2881. }
  2882. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  2883. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  2884. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  2885. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  2886. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  2887. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  2888. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  2889. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  2890. F__fpu_rsrv4 [224]int8
  2891. F__fpu_reserved1 int32
  2892. F__avx_reserved1 [64]int8
  2893. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  2894. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  2895. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  2896. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  2897. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  2898. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  2899. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  2900. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  2901. } /* _structs.h:318:1 */
  2902. type X__darwin_i386_avx512_state = struct {
  2903. F__fpu_reserved [2]int32
  2904. F__fpu_fcw struct {
  2905. F__ccgo_pad1 [0]uint16
  2906. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  2907. }
  2908. F__fpu_fsw struct {
  2909. F__ccgo_pad1 [0]uint16
  2910. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  2911. }
  2912. F__fpu_ftw X__uint8_t
  2913. F__fpu_rsrv1 X__uint8_t
  2914. F__fpu_fop X__uint16_t
  2915. F__fpu_ip X__uint32_t
  2916. F__fpu_cs X__uint16_t
  2917. F__fpu_rsrv2 X__uint16_t
  2918. F__fpu_dp X__uint32_t
  2919. F__fpu_ds X__uint16_t
  2920. F__fpu_rsrv3 X__uint16_t
  2921. F__fpu_mxcsr X__uint32_t
  2922. F__fpu_mxcsrmask X__uint32_t
  2923. F__fpu_stmm0 struct {
  2924. F__mmst_reg [10]int8
  2925. F__mmst_rsrv [6]int8
  2926. }
  2927. F__fpu_stmm1 struct {
  2928. F__mmst_reg [10]int8
  2929. F__mmst_rsrv [6]int8
  2930. }
  2931. F__fpu_stmm2 struct {
  2932. F__mmst_reg [10]int8
  2933. F__mmst_rsrv [6]int8
  2934. }
  2935. F__fpu_stmm3 struct {
  2936. F__mmst_reg [10]int8
  2937. F__mmst_rsrv [6]int8
  2938. }
  2939. F__fpu_stmm4 struct {
  2940. F__mmst_reg [10]int8
  2941. F__mmst_rsrv [6]int8
  2942. }
  2943. F__fpu_stmm5 struct {
  2944. F__mmst_reg [10]int8
  2945. F__mmst_rsrv [6]int8
  2946. }
  2947. F__fpu_stmm6 struct {
  2948. F__mmst_reg [10]int8
  2949. F__mmst_rsrv [6]int8
  2950. }
  2951. F__fpu_stmm7 struct {
  2952. F__mmst_reg [10]int8
  2953. F__mmst_rsrv [6]int8
  2954. }
  2955. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  2956. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  2957. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  2958. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  2959. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  2960. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  2961. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  2962. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  2963. F__fpu_rsrv4 [224]int8
  2964. F__fpu_reserved1 int32
  2965. F__avx_reserved1 [64]int8
  2966. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  2967. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  2968. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  2969. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  2970. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  2971. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  2972. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  2973. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  2974. F__fpu_k0 struct{ F__opmask_reg [8]int8 }
  2975. F__fpu_k1 struct{ F__opmask_reg [8]int8 }
  2976. F__fpu_k2 struct{ F__opmask_reg [8]int8 }
  2977. F__fpu_k3 struct{ F__opmask_reg [8]int8 }
  2978. F__fpu_k4 struct{ F__opmask_reg [8]int8 }
  2979. F__fpu_k5 struct{ F__opmask_reg [8]int8 }
  2980. F__fpu_k6 struct{ F__opmask_reg [8]int8 }
  2981. F__fpu_k7 struct{ F__opmask_reg [8]int8 }
  2982. F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 }
  2983. F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 }
  2984. F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 }
  2985. F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 }
  2986. F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 }
  2987. F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 }
  2988. F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 }
  2989. F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 }
  2990. } /* _structs.h:364:1 */
  2991. type X__darwin_i386_exception_state = struct {
  2992. F__trapno X__uint16_t
  2993. F__cpu X__uint16_t
  2994. F__err X__uint32_t
  2995. F__faultvaddr X__uint32_t
  2996. } /* _structs.h:575:1 */
  2997. type X__darwin_x86_debug_state32 = struct {
  2998. F__dr0 uint32
  2999. F__dr1 uint32
  3000. F__dr2 uint32
  3001. F__dr3 uint32
  3002. F__dr4 uint32
  3003. F__dr5 uint32
  3004. F__dr6 uint32
  3005. F__dr7 uint32
  3006. } /* _structs.h:595:1 */
  3007. type X__x86_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:622:1 */
  3008. // 64 bit versions of the above
  3009. type X__darwin_x86_thread_state64 = struct {
  3010. F__rax X__uint64_t
  3011. F__rbx X__uint64_t
  3012. F__rcx X__uint64_t
  3013. F__rdx X__uint64_t
  3014. F__rdi X__uint64_t
  3015. F__rsi X__uint64_t
  3016. F__rbp X__uint64_t
  3017. F__rsp X__uint64_t
  3018. F__r8 X__uint64_t
  3019. F__r9 X__uint64_t
  3020. F__r10 X__uint64_t
  3021. F__r11 X__uint64_t
  3022. F__r12 X__uint64_t
  3023. F__r13 X__uint64_t
  3024. F__r14 X__uint64_t
  3025. F__r15 X__uint64_t
  3026. F__rip X__uint64_t
  3027. F__rflags X__uint64_t
  3028. F__cs X__uint64_t
  3029. F__fs X__uint64_t
  3030. F__gs X__uint64_t
  3031. } /* _structs.h:633:1 */
  3032. // 64 bit versions of the above (complete)
  3033. type X__darwin_x86_thread_full_state64 = struct {
  3034. F__ss64 struct {
  3035. F__rax X__uint64_t
  3036. F__rbx X__uint64_t
  3037. F__rcx X__uint64_t
  3038. F__rdx X__uint64_t
  3039. F__rdi X__uint64_t
  3040. F__rsi X__uint64_t
  3041. F__rbp X__uint64_t
  3042. F__rsp X__uint64_t
  3043. F__r8 X__uint64_t
  3044. F__r9 X__uint64_t
  3045. F__r10 X__uint64_t
  3046. F__r11 X__uint64_t
  3047. F__r12 X__uint64_t
  3048. F__r13 X__uint64_t
  3049. F__r14 X__uint64_t
  3050. F__r15 X__uint64_t
  3051. F__rip X__uint64_t
  3052. F__rflags X__uint64_t
  3053. F__cs X__uint64_t
  3054. F__fs X__uint64_t
  3055. F__gs X__uint64_t
  3056. }
  3057. F__ds X__uint64_t
  3058. F__es X__uint64_t
  3059. F__ss X__uint64_t
  3060. F__gsbase X__uint64_t
  3061. } /* _structs.h:691:1 */
  3062. type X__darwin_x86_float_state64 = struct {
  3063. F__fpu_reserved [2]int32
  3064. F__fpu_fcw struct {
  3065. F__ccgo_pad1 [0]uint16
  3066. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3067. }
  3068. F__fpu_fsw struct {
  3069. F__ccgo_pad1 [0]uint16
  3070. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3071. }
  3072. F__fpu_ftw X__uint8_t
  3073. F__fpu_rsrv1 X__uint8_t
  3074. F__fpu_fop X__uint16_t
  3075. F__fpu_ip X__uint32_t
  3076. F__fpu_cs X__uint16_t
  3077. F__fpu_rsrv2 X__uint16_t
  3078. F__fpu_dp X__uint32_t
  3079. F__fpu_ds X__uint16_t
  3080. F__fpu_rsrv3 X__uint16_t
  3081. F__fpu_mxcsr X__uint32_t
  3082. F__fpu_mxcsrmask X__uint32_t
  3083. F__fpu_stmm0 struct {
  3084. F__mmst_reg [10]int8
  3085. F__mmst_rsrv [6]int8
  3086. }
  3087. F__fpu_stmm1 struct {
  3088. F__mmst_reg [10]int8
  3089. F__mmst_rsrv [6]int8
  3090. }
  3091. F__fpu_stmm2 struct {
  3092. F__mmst_reg [10]int8
  3093. F__mmst_rsrv [6]int8
  3094. }
  3095. F__fpu_stmm3 struct {
  3096. F__mmst_reg [10]int8
  3097. F__mmst_rsrv [6]int8
  3098. }
  3099. F__fpu_stmm4 struct {
  3100. F__mmst_reg [10]int8
  3101. F__mmst_rsrv [6]int8
  3102. }
  3103. F__fpu_stmm5 struct {
  3104. F__mmst_reg [10]int8
  3105. F__mmst_rsrv [6]int8
  3106. }
  3107. F__fpu_stmm6 struct {
  3108. F__mmst_reg [10]int8
  3109. F__mmst_rsrv [6]int8
  3110. }
  3111. F__fpu_stmm7 struct {
  3112. F__mmst_reg [10]int8
  3113. F__mmst_rsrv [6]int8
  3114. }
  3115. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3116. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3117. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3118. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3119. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3120. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3121. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3122. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3123. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  3124. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  3125. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  3126. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  3127. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  3128. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  3129. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  3130. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  3131. F__fpu_rsrv4 [96]int8
  3132. F__fpu_reserved1 int32
  3133. } /* _structs.h:714:1 */
  3134. type X__darwin_x86_avx_state64 = struct {
  3135. F__fpu_reserved [2]int32
  3136. F__fpu_fcw struct {
  3137. F__ccgo_pad1 [0]uint16
  3138. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3139. }
  3140. F__fpu_fsw struct {
  3141. F__ccgo_pad1 [0]uint16
  3142. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3143. }
  3144. F__fpu_ftw X__uint8_t
  3145. F__fpu_rsrv1 X__uint8_t
  3146. F__fpu_fop X__uint16_t
  3147. F__fpu_ip X__uint32_t
  3148. F__fpu_cs X__uint16_t
  3149. F__fpu_rsrv2 X__uint16_t
  3150. F__fpu_dp X__uint32_t
  3151. F__fpu_ds X__uint16_t
  3152. F__fpu_rsrv3 X__uint16_t
  3153. F__fpu_mxcsr X__uint32_t
  3154. F__fpu_mxcsrmask X__uint32_t
  3155. F__fpu_stmm0 struct {
  3156. F__mmst_reg [10]int8
  3157. F__mmst_rsrv [6]int8
  3158. }
  3159. F__fpu_stmm1 struct {
  3160. F__mmst_reg [10]int8
  3161. F__mmst_rsrv [6]int8
  3162. }
  3163. F__fpu_stmm2 struct {
  3164. F__mmst_reg [10]int8
  3165. F__mmst_rsrv [6]int8
  3166. }
  3167. F__fpu_stmm3 struct {
  3168. F__mmst_reg [10]int8
  3169. F__mmst_rsrv [6]int8
  3170. }
  3171. F__fpu_stmm4 struct {
  3172. F__mmst_reg [10]int8
  3173. F__mmst_rsrv [6]int8
  3174. }
  3175. F__fpu_stmm5 struct {
  3176. F__mmst_reg [10]int8
  3177. F__mmst_rsrv [6]int8
  3178. }
  3179. F__fpu_stmm6 struct {
  3180. F__mmst_reg [10]int8
  3181. F__mmst_rsrv [6]int8
  3182. }
  3183. F__fpu_stmm7 struct {
  3184. F__mmst_reg [10]int8
  3185. F__mmst_rsrv [6]int8
  3186. }
  3187. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3188. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3189. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3190. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3191. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3192. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3193. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3194. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3195. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  3196. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  3197. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  3198. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  3199. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  3200. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  3201. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  3202. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  3203. F__fpu_rsrv4 [96]int8
  3204. F__fpu_reserved1 int32
  3205. F__avx_reserved1 [64]int8
  3206. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  3207. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  3208. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  3209. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  3210. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  3211. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  3212. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  3213. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  3214. F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 }
  3215. F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 }
  3216. F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 }
  3217. F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 }
  3218. F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 }
  3219. F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 }
  3220. F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
  3221. F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
  3222. } /* _structs.h:765:1 */
  3223. type X__darwin_x86_avx512_state64 = struct {
  3224. F__fpu_reserved [2]int32
  3225. F__fpu_fcw struct {
  3226. F__ccgo_pad1 [0]uint16
  3227. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3228. }
  3229. F__fpu_fsw struct {
  3230. F__ccgo_pad1 [0]uint16
  3231. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3232. }
  3233. F__fpu_ftw X__uint8_t
  3234. F__fpu_rsrv1 X__uint8_t
  3235. F__fpu_fop X__uint16_t
  3236. F__fpu_ip X__uint32_t
  3237. F__fpu_cs X__uint16_t
  3238. F__fpu_rsrv2 X__uint16_t
  3239. F__fpu_dp X__uint32_t
  3240. F__fpu_ds X__uint16_t
  3241. F__fpu_rsrv3 X__uint16_t
  3242. F__fpu_mxcsr X__uint32_t
  3243. F__fpu_mxcsrmask X__uint32_t
  3244. F__fpu_stmm0 struct {
  3245. F__mmst_reg [10]int8
  3246. F__mmst_rsrv [6]int8
  3247. }
  3248. F__fpu_stmm1 struct {
  3249. F__mmst_reg [10]int8
  3250. F__mmst_rsrv [6]int8
  3251. }
  3252. F__fpu_stmm2 struct {
  3253. F__mmst_reg [10]int8
  3254. F__mmst_rsrv [6]int8
  3255. }
  3256. F__fpu_stmm3 struct {
  3257. F__mmst_reg [10]int8
  3258. F__mmst_rsrv [6]int8
  3259. }
  3260. F__fpu_stmm4 struct {
  3261. F__mmst_reg [10]int8
  3262. F__mmst_rsrv [6]int8
  3263. }
  3264. F__fpu_stmm5 struct {
  3265. F__mmst_reg [10]int8
  3266. F__mmst_rsrv [6]int8
  3267. }
  3268. F__fpu_stmm6 struct {
  3269. F__mmst_reg [10]int8
  3270. F__mmst_rsrv [6]int8
  3271. }
  3272. F__fpu_stmm7 struct {
  3273. F__mmst_reg [10]int8
  3274. F__mmst_rsrv [6]int8
  3275. }
  3276. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3277. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3278. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3279. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3280. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3281. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3282. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3283. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3284. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  3285. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  3286. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  3287. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  3288. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  3289. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  3290. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  3291. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  3292. F__fpu_rsrv4 [96]int8
  3293. F__fpu_reserved1 int32
  3294. F__avx_reserved1 [64]int8
  3295. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  3296. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  3297. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  3298. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  3299. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  3300. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  3301. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  3302. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  3303. F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 }
  3304. F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 }
  3305. F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 }
  3306. F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 }
  3307. F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 }
  3308. F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 }
  3309. F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
  3310. F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
  3311. F__fpu_k0 struct{ F__opmask_reg [8]int8 }
  3312. F__fpu_k1 struct{ F__opmask_reg [8]int8 }
  3313. F__fpu_k2 struct{ F__opmask_reg [8]int8 }
  3314. F__fpu_k3 struct{ F__opmask_reg [8]int8 }
  3315. F__fpu_k4 struct{ F__opmask_reg [8]int8 }
  3316. F__fpu_k5 struct{ F__opmask_reg [8]int8 }
  3317. F__fpu_k6 struct{ F__opmask_reg [8]int8 }
  3318. F__fpu_k7 struct{ F__opmask_reg [8]int8 }
  3319. F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 }
  3320. F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 }
  3321. F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 }
  3322. F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 }
  3323. F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 }
  3324. F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 }
  3325. F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 }
  3326. F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 }
  3327. F__fpu_zmmh8 struct{ F__ymm_reg [32]int8 }
  3328. F__fpu_zmmh9 struct{ F__ymm_reg [32]int8 }
  3329. F__fpu_zmmh10 struct{ F__ymm_reg [32]int8 }
  3330. F__fpu_zmmh11 struct{ F__ymm_reg [32]int8 }
  3331. F__fpu_zmmh12 struct{ F__ymm_reg [32]int8 }
  3332. F__fpu_zmmh13 struct{ F__ymm_reg [32]int8 }
  3333. F__fpu_zmmh14 struct{ F__ymm_reg [32]int8 }
  3334. F__fpu_zmmh15 struct{ F__ymm_reg [32]int8 }
  3335. F__fpu_zmm16 struct{ F__zmm_reg [64]int8 }
  3336. F__fpu_zmm17 struct{ F__zmm_reg [64]int8 }
  3337. F__fpu_zmm18 struct{ F__zmm_reg [64]int8 }
  3338. F__fpu_zmm19 struct{ F__zmm_reg [64]int8 }
  3339. F__fpu_zmm20 struct{ F__zmm_reg [64]int8 }
  3340. F__fpu_zmm21 struct{ F__zmm_reg [64]int8 }
  3341. F__fpu_zmm22 struct{ F__zmm_reg [64]int8 }
  3342. F__fpu_zmm23 struct{ F__zmm_reg [64]int8 }
  3343. F__fpu_zmm24 struct{ F__zmm_reg [64]int8 }
  3344. F__fpu_zmm25 struct{ F__zmm_reg [64]int8 }
  3345. F__fpu_zmm26 struct{ F__zmm_reg [64]int8 }
  3346. F__fpu_zmm27 struct{ F__zmm_reg [64]int8 }
  3347. F__fpu_zmm28 struct{ F__zmm_reg [64]int8 }
  3348. F__fpu_zmm29 struct{ F__zmm_reg [64]int8 }
  3349. F__fpu_zmm30 struct{ F__zmm_reg [64]int8 }
  3350. F__fpu_zmm31 struct{ F__zmm_reg [64]int8 }
  3351. } /* _structs.h:833:1 */
  3352. type X__darwin_x86_exception_state64 = struct {
  3353. F__trapno X__uint16_t
  3354. F__cpu X__uint16_t
  3355. F__err X__uint32_t
  3356. F__faultvaddr X__uint64_t
  3357. } /* _structs.h:1172:1 */
  3358. type X__darwin_x86_debug_state64 = struct {
  3359. F__dr0 X__uint64_t
  3360. F__dr1 X__uint64_t
  3361. F__dr2 X__uint64_t
  3362. F__dr3 X__uint64_t
  3363. F__dr4 X__uint64_t
  3364. F__dr5 X__uint64_t
  3365. F__dr6 X__uint64_t
  3366. F__dr7 X__uint64_t
  3367. } /* _structs.h:1192:1 */
  3368. type X__darwin_x86_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:1220:1 */
  3369. type X__darwin_mcontext32 = struct {
  3370. F__es struct {
  3371. F__trapno X__uint16_t
  3372. F__cpu X__uint16_t
  3373. F__err X__uint32_t
  3374. F__faultvaddr X__uint32_t
  3375. }
  3376. F__ss struct {
  3377. F__eax uint32
  3378. F__ebx uint32
  3379. F__ecx uint32
  3380. F__edx uint32
  3381. F__edi uint32
  3382. F__esi uint32
  3383. F__ebp uint32
  3384. F__esp uint32
  3385. F__ss uint32
  3386. F__eflags uint32
  3387. F__eip uint32
  3388. F__cs uint32
  3389. F__ds uint32
  3390. F__es uint32
  3391. F__fs uint32
  3392. F__gs uint32
  3393. }
  3394. F__fs struct {
  3395. F__fpu_reserved [2]int32
  3396. F__fpu_fcw struct {
  3397. F__ccgo_pad1 [0]uint16
  3398. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3399. }
  3400. F__fpu_fsw struct {
  3401. F__ccgo_pad1 [0]uint16
  3402. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3403. }
  3404. F__fpu_ftw X__uint8_t
  3405. F__fpu_rsrv1 X__uint8_t
  3406. F__fpu_fop X__uint16_t
  3407. F__fpu_ip X__uint32_t
  3408. F__fpu_cs X__uint16_t
  3409. F__fpu_rsrv2 X__uint16_t
  3410. F__fpu_dp X__uint32_t
  3411. F__fpu_ds X__uint16_t
  3412. F__fpu_rsrv3 X__uint16_t
  3413. F__fpu_mxcsr X__uint32_t
  3414. F__fpu_mxcsrmask X__uint32_t
  3415. F__fpu_stmm0 struct {
  3416. F__mmst_reg [10]int8
  3417. F__mmst_rsrv [6]int8
  3418. }
  3419. F__fpu_stmm1 struct {
  3420. F__mmst_reg [10]int8
  3421. F__mmst_rsrv [6]int8
  3422. }
  3423. F__fpu_stmm2 struct {
  3424. F__mmst_reg [10]int8
  3425. F__mmst_rsrv [6]int8
  3426. }
  3427. F__fpu_stmm3 struct {
  3428. F__mmst_reg [10]int8
  3429. F__mmst_rsrv [6]int8
  3430. }
  3431. F__fpu_stmm4 struct {
  3432. F__mmst_reg [10]int8
  3433. F__mmst_rsrv [6]int8
  3434. }
  3435. F__fpu_stmm5 struct {
  3436. F__mmst_reg [10]int8
  3437. F__mmst_rsrv [6]int8
  3438. }
  3439. F__fpu_stmm6 struct {
  3440. F__mmst_reg [10]int8
  3441. F__mmst_rsrv [6]int8
  3442. }
  3443. F__fpu_stmm7 struct {
  3444. F__mmst_reg [10]int8
  3445. F__mmst_rsrv [6]int8
  3446. }
  3447. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3448. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3449. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3450. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3451. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3452. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3453. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3454. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3455. F__fpu_rsrv4 [224]int8
  3456. F__fpu_reserved1 int32
  3457. }
  3458. } /* _mcontext.h:39:1 */
  3459. type X__darwin_mcontext_avx32 = struct {
  3460. F__es struct {
  3461. F__trapno X__uint16_t
  3462. F__cpu X__uint16_t
  3463. F__err X__uint32_t
  3464. F__faultvaddr X__uint32_t
  3465. }
  3466. F__ss struct {
  3467. F__eax uint32
  3468. F__ebx uint32
  3469. F__ecx uint32
  3470. F__edx uint32
  3471. F__edi uint32
  3472. F__esi uint32
  3473. F__ebp uint32
  3474. F__esp uint32
  3475. F__ss uint32
  3476. F__eflags uint32
  3477. F__eip uint32
  3478. F__cs uint32
  3479. F__ds uint32
  3480. F__es uint32
  3481. F__fs uint32
  3482. F__gs uint32
  3483. }
  3484. F__fs struct {
  3485. F__fpu_reserved [2]int32
  3486. F__fpu_fcw struct {
  3487. F__ccgo_pad1 [0]uint16
  3488. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3489. }
  3490. F__fpu_fsw struct {
  3491. F__ccgo_pad1 [0]uint16
  3492. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3493. }
  3494. F__fpu_ftw X__uint8_t
  3495. F__fpu_rsrv1 X__uint8_t
  3496. F__fpu_fop X__uint16_t
  3497. F__fpu_ip X__uint32_t
  3498. F__fpu_cs X__uint16_t
  3499. F__fpu_rsrv2 X__uint16_t
  3500. F__fpu_dp X__uint32_t
  3501. F__fpu_ds X__uint16_t
  3502. F__fpu_rsrv3 X__uint16_t
  3503. F__fpu_mxcsr X__uint32_t
  3504. F__fpu_mxcsrmask X__uint32_t
  3505. F__fpu_stmm0 struct {
  3506. F__mmst_reg [10]int8
  3507. F__mmst_rsrv [6]int8
  3508. }
  3509. F__fpu_stmm1 struct {
  3510. F__mmst_reg [10]int8
  3511. F__mmst_rsrv [6]int8
  3512. }
  3513. F__fpu_stmm2 struct {
  3514. F__mmst_reg [10]int8
  3515. F__mmst_rsrv [6]int8
  3516. }
  3517. F__fpu_stmm3 struct {
  3518. F__mmst_reg [10]int8
  3519. F__mmst_rsrv [6]int8
  3520. }
  3521. F__fpu_stmm4 struct {
  3522. F__mmst_reg [10]int8
  3523. F__mmst_rsrv [6]int8
  3524. }
  3525. F__fpu_stmm5 struct {
  3526. F__mmst_reg [10]int8
  3527. F__mmst_rsrv [6]int8
  3528. }
  3529. F__fpu_stmm6 struct {
  3530. F__mmst_reg [10]int8
  3531. F__mmst_rsrv [6]int8
  3532. }
  3533. F__fpu_stmm7 struct {
  3534. F__mmst_reg [10]int8
  3535. F__mmst_rsrv [6]int8
  3536. }
  3537. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3538. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3539. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3540. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3541. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3542. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3543. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3544. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3545. F__fpu_rsrv4 [224]int8
  3546. F__fpu_reserved1 int32
  3547. F__avx_reserved1 [64]int8
  3548. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  3549. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  3550. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  3551. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  3552. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  3553. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  3554. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  3555. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  3556. }
  3557. } /* _mcontext.h:47:1 */
  3558. type X__darwin_mcontext_avx512_32 = struct {
  3559. F__es struct {
  3560. F__trapno X__uint16_t
  3561. F__cpu X__uint16_t
  3562. F__err X__uint32_t
  3563. F__faultvaddr X__uint32_t
  3564. }
  3565. F__ss struct {
  3566. F__eax uint32
  3567. F__ebx uint32
  3568. F__ecx uint32
  3569. F__edx uint32
  3570. F__edi uint32
  3571. F__esi uint32
  3572. F__ebp uint32
  3573. F__esp uint32
  3574. F__ss uint32
  3575. F__eflags uint32
  3576. F__eip uint32
  3577. F__cs uint32
  3578. F__ds uint32
  3579. F__es uint32
  3580. F__fs uint32
  3581. F__gs uint32
  3582. }
  3583. F__fs struct {
  3584. F__fpu_reserved [2]int32
  3585. F__fpu_fcw struct {
  3586. F__ccgo_pad1 [0]uint16
  3587. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3588. }
  3589. F__fpu_fsw struct {
  3590. F__ccgo_pad1 [0]uint16
  3591. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3592. }
  3593. F__fpu_ftw X__uint8_t
  3594. F__fpu_rsrv1 X__uint8_t
  3595. F__fpu_fop X__uint16_t
  3596. F__fpu_ip X__uint32_t
  3597. F__fpu_cs X__uint16_t
  3598. F__fpu_rsrv2 X__uint16_t
  3599. F__fpu_dp X__uint32_t
  3600. F__fpu_ds X__uint16_t
  3601. F__fpu_rsrv3 X__uint16_t
  3602. F__fpu_mxcsr X__uint32_t
  3603. F__fpu_mxcsrmask X__uint32_t
  3604. F__fpu_stmm0 struct {
  3605. F__mmst_reg [10]int8
  3606. F__mmst_rsrv [6]int8
  3607. }
  3608. F__fpu_stmm1 struct {
  3609. F__mmst_reg [10]int8
  3610. F__mmst_rsrv [6]int8
  3611. }
  3612. F__fpu_stmm2 struct {
  3613. F__mmst_reg [10]int8
  3614. F__mmst_rsrv [6]int8
  3615. }
  3616. F__fpu_stmm3 struct {
  3617. F__mmst_reg [10]int8
  3618. F__mmst_rsrv [6]int8
  3619. }
  3620. F__fpu_stmm4 struct {
  3621. F__mmst_reg [10]int8
  3622. F__mmst_rsrv [6]int8
  3623. }
  3624. F__fpu_stmm5 struct {
  3625. F__mmst_reg [10]int8
  3626. F__mmst_rsrv [6]int8
  3627. }
  3628. F__fpu_stmm6 struct {
  3629. F__mmst_reg [10]int8
  3630. F__mmst_rsrv [6]int8
  3631. }
  3632. F__fpu_stmm7 struct {
  3633. F__mmst_reg [10]int8
  3634. F__mmst_rsrv [6]int8
  3635. }
  3636. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3637. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3638. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3639. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3640. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3641. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3642. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3643. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3644. F__fpu_rsrv4 [224]int8
  3645. F__fpu_reserved1 int32
  3646. F__avx_reserved1 [64]int8
  3647. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  3648. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  3649. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  3650. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  3651. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  3652. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  3653. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  3654. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  3655. F__fpu_k0 struct{ F__opmask_reg [8]int8 }
  3656. F__fpu_k1 struct{ F__opmask_reg [8]int8 }
  3657. F__fpu_k2 struct{ F__opmask_reg [8]int8 }
  3658. F__fpu_k3 struct{ F__opmask_reg [8]int8 }
  3659. F__fpu_k4 struct{ F__opmask_reg [8]int8 }
  3660. F__fpu_k5 struct{ F__opmask_reg [8]int8 }
  3661. F__fpu_k6 struct{ F__opmask_reg [8]int8 }
  3662. F__fpu_k7 struct{ F__opmask_reg [8]int8 }
  3663. F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 }
  3664. F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 }
  3665. F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 }
  3666. F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 }
  3667. F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 }
  3668. F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 }
  3669. F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 }
  3670. F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 }
  3671. }
  3672. } /* _mcontext.h:56:1 */
  3673. type X__darwin_mcontext64 = struct {
  3674. F__es struct {
  3675. F__trapno X__uint16_t
  3676. F__cpu X__uint16_t
  3677. F__err X__uint32_t
  3678. F__faultvaddr X__uint64_t
  3679. }
  3680. F__ss struct {
  3681. F__rax X__uint64_t
  3682. F__rbx X__uint64_t
  3683. F__rcx X__uint64_t
  3684. F__rdx X__uint64_t
  3685. F__rdi X__uint64_t
  3686. F__rsi X__uint64_t
  3687. F__rbp X__uint64_t
  3688. F__rsp X__uint64_t
  3689. F__r8 X__uint64_t
  3690. F__r9 X__uint64_t
  3691. F__r10 X__uint64_t
  3692. F__r11 X__uint64_t
  3693. F__r12 X__uint64_t
  3694. F__r13 X__uint64_t
  3695. F__r14 X__uint64_t
  3696. F__r15 X__uint64_t
  3697. F__rip X__uint64_t
  3698. F__rflags X__uint64_t
  3699. F__cs X__uint64_t
  3700. F__fs X__uint64_t
  3701. F__gs X__uint64_t
  3702. }
  3703. F__fs struct {
  3704. F__fpu_reserved [2]int32
  3705. F__fpu_fcw struct {
  3706. F__ccgo_pad1 [0]uint16
  3707. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3708. }
  3709. F__fpu_fsw struct {
  3710. F__ccgo_pad1 [0]uint16
  3711. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3712. }
  3713. F__fpu_ftw X__uint8_t
  3714. F__fpu_rsrv1 X__uint8_t
  3715. F__fpu_fop X__uint16_t
  3716. F__fpu_ip X__uint32_t
  3717. F__fpu_cs X__uint16_t
  3718. F__fpu_rsrv2 X__uint16_t
  3719. F__fpu_dp X__uint32_t
  3720. F__fpu_ds X__uint16_t
  3721. F__fpu_rsrv3 X__uint16_t
  3722. F__fpu_mxcsr X__uint32_t
  3723. F__fpu_mxcsrmask X__uint32_t
  3724. F__fpu_stmm0 struct {
  3725. F__mmst_reg [10]int8
  3726. F__mmst_rsrv [6]int8
  3727. }
  3728. F__fpu_stmm1 struct {
  3729. F__mmst_reg [10]int8
  3730. F__mmst_rsrv [6]int8
  3731. }
  3732. F__fpu_stmm2 struct {
  3733. F__mmst_reg [10]int8
  3734. F__mmst_rsrv [6]int8
  3735. }
  3736. F__fpu_stmm3 struct {
  3737. F__mmst_reg [10]int8
  3738. F__mmst_rsrv [6]int8
  3739. }
  3740. F__fpu_stmm4 struct {
  3741. F__mmst_reg [10]int8
  3742. F__mmst_rsrv [6]int8
  3743. }
  3744. F__fpu_stmm5 struct {
  3745. F__mmst_reg [10]int8
  3746. F__mmst_rsrv [6]int8
  3747. }
  3748. F__fpu_stmm6 struct {
  3749. F__mmst_reg [10]int8
  3750. F__mmst_rsrv [6]int8
  3751. }
  3752. F__fpu_stmm7 struct {
  3753. F__mmst_reg [10]int8
  3754. F__mmst_rsrv [6]int8
  3755. }
  3756. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3757. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3758. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3759. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3760. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3761. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3762. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3763. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3764. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  3765. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  3766. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  3767. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  3768. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  3769. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  3770. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  3771. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  3772. F__fpu_rsrv4 [96]int8
  3773. F__fpu_reserved1 int32
  3774. }
  3775. F__ccgo_pad1 [4]byte
  3776. } /* _mcontext.h:97:1 */
  3777. type X__darwin_mcontext64_full = struct {
  3778. F__es struct {
  3779. F__trapno X__uint16_t
  3780. F__cpu X__uint16_t
  3781. F__err X__uint32_t
  3782. F__faultvaddr X__uint64_t
  3783. }
  3784. F__ss struct {
  3785. F__ss64 struct {
  3786. F__rax X__uint64_t
  3787. F__rbx X__uint64_t
  3788. F__rcx X__uint64_t
  3789. F__rdx X__uint64_t
  3790. F__rdi X__uint64_t
  3791. F__rsi X__uint64_t
  3792. F__rbp X__uint64_t
  3793. F__rsp X__uint64_t
  3794. F__r8 X__uint64_t
  3795. F__r9 X__uint64_t
  3796. F__r10 X__uint64_t
  3797. F__r11 X__uint64_t
  3798. F__r12 X__uint64_t
  3799. F__r13 X__uint64_t
  3800. F__r14 X__uint64_t
  3801. F__r15 X__uint64_t
  3802. F__rip X__uint64_t
  3803. F__rflags X__uint64_t
  3804. F__cs X__uint64_t
  3805. F__fs X__uint64_t
  3806. F__gs X__uint64_t
  3807. }
  3808. F__ds X__uint64_t
  3809. F__es X__uint64_t
  3810. F__ss X__uint64_t
  3811. F__gsbase X__uint64_t
  3812. }
  3813. F__fs struct {
  3814. F__fpu_reserved [2]int32
  3815. F__fpu_fcw struct {
  3816. F__ccgo_pad1 [0]uint16
  3817. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3818. }
  3819. F__fpu_fsw struct {
  3820. F__ccgo_pad1 [0]uint16
  3821. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3822. }
  3823. F__fpu_ftw X__uint8_t
  3824. F__fpu_rsrv1 X__uint8_t
  3825. F__fpu_fop X__uint16_t
  3826. F__fpu_ip X__uint32_t
  3827. F__fpu_cs X__uint16_t
  3828. F__fpu_rsrv2 X__uint16_t
  3829. F__fpu_dp X__uint32_t
  3830. F__fpu_ds X__uint16_t
  3831. F__fpu_rsrv3 X__uint16_t
  3832. F__fpu_mxcsr X__uint32_t
  3833. F__fpu_mxcsrmask X__uint32_t
  3834. F__fpu_stmm0 struct {
  3835. F__mmst_reg [10]int8
  3836. F__mmst_rsrv [6]int8
  3837. }
  3838. F__fpu_stmm1 struct {
  3839. F__mmst_reg [10]int8
  3840. F__mmst_rsrv [6]int8
  3841. }
  3842. F__fpu_stmm2 struct {
  3843. F__mmst_reg [10]int8
  3844. F__mmst_rsrv [6]int8
  3845. }
  3846. F__fpu_stmm3 struct {
  3847. F__mmst_reg [10]int8
  3848. F__mmst_rsrv [6]int8
  3849. }
  3850. F__fpu_stmm4 struct {
  3851. F__mmst_reg [10]int8
  3852. F__mmst_rsrv [6]int8
  3853. }
  3854. F__fpu_stmm5 struct {
  3855. F__mmst_reg [10]int8
  3856. F__mmst_rsrv [6]int8
  3857. }
  3858. F__fpu_stmm6 struct {
  3859. F__mmst_reg [10]int8
  3860. F__mmst_rsrv [6]int8
  3861. }
  3862. F__fpu_stmm7 struct {
  3863. F__mmst_reg [10]int8
  3864. F__mmst_rsrv [6]int8
  3865. }
  3866. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3867. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3868. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3869. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3870. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3871. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3872. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3873. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3874. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  3875. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  3876. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  3877. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  3878. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  3879. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  3880. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  3881. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  3882. F__fpu_rsrv4 [96]int8
  3883. F__fpu_reserved1 int32
  3884. }
  3885. F__ccgo_pad1 [4]byte
  3886. } /* _mcontext.h:105:1 */
  3887. type X__darwin_mcontext_avx64 = struct {
  3888. F__es struct {
  3889. F__trapno X__uint16_t
  3890. F__cpu X__uint16_t
  3891. F__err X__uint32_t
  3892. F__faultvaddr X__uint64_t
  3893. }
  3894. F__ss struct {
  3895. F__rax X__uint64_t
  3896. F__rbx X__uint64_t
  3897. F__rcx X__uint64_t
  3898. F__rdx X__uint64_t
  3899. F__rdi X__uint64_t
  3900. F__rsi X__uint64_t
  3901. F__rbp X__uint64_t
  3902. F__rsp X__uint64_t
  3903. F__r8 X__uint64_t
  3904. F__r9 X__uint64_t
  3905. F__r10 X__uint64_t
  3906. F__r11 X__uint64_t
  3907. F__r12 X__uint64_t
  3908. F__r13 X__uint64_t
  3909. F__r14 X__uint64_t
  3910. F__r15 X__uint64_t
  3911. F__rip X__uint64_t
  3912. F__rflags X__uint64_t
  3913. F__cs X__uint64_t
  3914. F__fs X__uint64_t
  3915. F__gs X__uint64_t
  3916. }
  3917. F__fs struct {
  3918. F__fpu_reserved [2]int32
  3919. F__fpu_fcw struct {
  3920. F__ccgo_pad1 [0]uint16
  3921. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  3922. }
  3923. F__fpu_fsw struct {
  3924. F__ccgo_pad1 [0]uint16
  3925. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  3926. }
  3927. F__fpu_ftw X__uint8_t
  3928. F__fpu_rsrv1 X__uint8_t
  3929. F__fpu_fop X__uint16_t
  3930. F__fpu_ip X__uint32_t
  3931. F__fpu_cs X__uint16_t
  3932. F__fpu_rsrv2 X__uint16_t
  3933. F__fpu_dp X__uint32_t
  3934. F__fpu_ds X__uint16_t
  3935. F__fpu_rsrv3 X__uint16_t
  3936. F__fpu_mxcsr X__uint32_t
  3937. F__fpu_mxcsrmask X__uint32_t
  3938. F__fpu_stmm0 struct {
  3939. F__mmst_reg [10]int8
  3940. F__mmst_rsrv [6]int8
  3941. }
  3942. F__fpu_stmm1 struct {
  3943. F__mmst_reg [10]int8
  3944. F__mmst_rsrv [6]int8
  3945. }
  3946. F__fpu_stmm2 struct {
  3947. F__mmst_reg [10]int8
  3948. F__mmst_rsrv [6]int8
  3949. }
  3950. F__fpu_stmm3 struct {
  3951. F__mmst_reg [10]int8
  3952. F__mmst_rsrv [6]int8
  3953. }
  3954. F__fpu_stmm4 struct {
  3955. F__mmst_reg [10]int8
  3956. F__mmst_rsrv [6]int8
  3957. }
  3958. F__fpu_stmm5 struct {
  3959. F__mmst_reg [10]int8
  3960. F__mmst_rsrv [6]int8
  3961. }
  3962. F__fpu_stmm6 struct {
  3963. F__mmst_reg [10]int8
  3964. F__mmst_rsrv [6]int8
  3965. }
  3966. F__fpu_stmm7 struct {
  3967. F__mmst_reg [10]int8
  3968. F__mmst_rsrv [6]int8
  3969. }
  3970. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  3971. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  3972. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  3973. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  3974. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  3975. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  3976. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  3977. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  3978. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  3979. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  3980. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  3981. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  3982. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  3983. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  3984. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  3985. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  3986. F__fpu_rsrv4 [96]int8
  3987. F__fpu_reserved1 int32
  3988. F__avx_reserved1 [64]int8
  3989. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  3990. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  3991. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  3992. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  3993. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  3994. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  3995. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  3996. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  3997. F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 }
  3998. F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 }
  3999. F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 }
  4000. F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 }
  4001. F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 }
  4002. F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 }
  4003. F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
  4004. F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
  4005. }
  4006. F__ccgo_pad1 [4]byte
  4007. } /* _mcontext.h:113:1 */
  4008. type X__darwin_mcontext_avx64_full = struct {
  4009. F__es struct {
  4010. F__trapno X__uint16_t
  4011. F__cpu X__uint16_t
  4012. F__err X__uint32_t
  4013. F__faultvaddr X__uint64_t
  4014. }
  4015. F__ss struct {
  4016. F__ss64 struct {
  4017. F__rax X__uint64_t
  4018. F__rbx X__uint64_t
  4019. F__rcx X__uint64_t
  4020. F__rdx X__uint64_t
  4021. F__rdi X__uint64_t
  4022. F__rsi X__uint64_t
  4023. F__rbp X__uint64_t
  4024. F__rsp X__uint64_t
  4025. F__r8 X__uint64_t
  4026. F__r9 X__uint64_t
  4027. F__r10 X__uint64_t
  4028. F__r11 X__uint64_t
  4029. F__r12 X__uint64_t
  4030. F__r13 X__uint64_t
  4031. F__r14 X__uint64_t
  4032. F__r15 X__uint64_t
  4033. F__rip X__uint64_t
  4034. F__rflags X__uint64_t
  4035. F__cs X__uint64_t
  4036. F__fs X__uint64_t
  4037. F__gs X__uint64_t
  4038. }
  4039. F__ds X__uint64_t
  4040. F__es X__uint64_t
  4041. F__ss X__uint64_t
  4042. F__gsbase X__uint64_t
  4043. }
  4044. F__fs struct {
  4045. F__fpu_reserved [2]int32
  4046. F__fpu_fcw struct {
  4047. F__ccgo_pad1 [0]uint16
  4048. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  4049. }
  4050. F__fpu_fsw struct {
  4051. F__ccgo_pad1 [0]uint16
  4052. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  4053. }
  4054. F__fpu_ftw X__uint8_t
  4055. F__fpu_rsrv1 X__uint8_t
  4056. F__fpu_fop X__uint16_t
  4057. F__fpu_ip X__uint32_t
  4058. F__fpu_cs X__uint16_t
  4059. F__fpu_rsrv2 X__uint16_t
  4060. F__fpu_dp X__uint32_t
  4061. F__fpu_ds X__uint16_t
  4062. F__fpu_rsrv3 X__uint16_t
  4063. F__fpu_mxcsr X__uint32_t
  4064. F__fpu_mxcsrmask X__uint32_t
  4065. F__fpu_stmm0 struct {
  4066. F__mmst_reg [10]int8
  4067. F__mmst_rsrv [6]int8
  4068. }
  4069. F__fpu_stmm1 struct {
  4070. F__mmst_reg [10]int8
  4071. F__mmst_rsrv [6]int8
  4072. }
  4073. F__fpu_stmm2 struct {
  4074. F__mmst_reg [10]int8
  4075. F__mmst_rsrv [6]int8
  4076. }
  4077. F__fpu_stmm3 struct {
  4078. F__mmst_reg [10]int8
  4079. F__mmst_rsrv [6]int8
  4080. }
  4081. F__fpu_stmm4 struct {
  4082. F__mmst_reg [10]int8
  4083. F__mmst_rsrv [6]int8
  4084. }
  4085. F__fpu_stmm5 struct {
  4086. F__mmst_reg [10]int8
  4087. F__mmst_rsrv [6]int8
  4088. }
  4089. F__fpu_stmm6 struct {
  4090. F__mmst_reg [10]int8
  4091. F__mmst_rsrv [6]int8
  4092. }
  4093. F__fpu_stmm7 struct {
  4094. F__mmst_reg [10]int8
  4095. F__mmst_rsrv [6]int8
  4096. }
  4097. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  4098. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  4099. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  4100. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  4101. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  4102. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  4103. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  4104. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  4105. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  4106. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  4107. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  4108. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  4109. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  4110. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  4111. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  4112. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  4113. F__fpu_rsrv4 [96]int8
  4114. F__fpu_reserved1 int32
  4115. F__avx_reserved1 [64]int8
  4116. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  4117. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  4118. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  4119. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  4120. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  4121. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  4122. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  4123. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  4124. F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 }
  4125. F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 }
  4126. F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 }
  4127. F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 }
  4128. F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 }
  4129. F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 }
  4130. F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
  4131. F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
  4132. }
  4133. F__ccgo_pad1 [4]byte
  4134. } /* _mcontext.h:121:1 */
  4135. type X__darwin_mcontext_avx512_64 = struct {
  4136. F__es struct {
  4137. F__trapno X__uint16_t
  4138. F__cpu X__uint16_t
  4139. F__err X__uint32_t
  4140. F__faultvaddr X__uint64_t
  4141. }
  4142. F__ss struct {
  4143. F__rax X__uint64_t
  4144. F__rbx X__uint64_t
  4145. F__rcx X__uint64_t
  4146. F__rdx X__uint64_t
  4147. F__rdi X__uint64_t
  4148. F__rsi X__uint64_t
  4149. F__rbp X__uint64_t
  4150. F__rsp X__uint64_t
  4151. F__r8 X__uint64_t
  4152. F__r9 X__uint64_t
  4153. F__r10 X__uint64_t
  4154. F__r11 X__uint64_t
  4155. F__r12 X__uint64_t
  4156. F__r13 X__uint64_t
  4157. F__r14 X__uint64_t
  4158. F__r15 X__uint64_t
  4159. F__rip X__uint64_t
  4160. F__rflags X__uint64_t
  4161. F__cs X__uint64_t
  4162. F__fs X__uint64_t
  4163. F__gs X__uint64_t
  4164. }
  4165. F__fs struct {
  4166. F__fpu_reserved [2]int32
  4167. F__fpu_fcw struct {
  4168. F__ccgo_pad1 [0]uint16
  4169. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  4170. }
  4171. F__fpu_fsw struct {
  4172. F__ccgo_pad1 [0]uint16
  4173. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  4174. }
  4175. F__fpu_ftw X__uint8_t
  4176. F__fpu_rsrv1 X__uint8_t
  4177. F__fpu_fop X__uint16_t
  4178. F__fpu_ip X__uint32_t
  4179. F__fpu_cs X__uint16_t
  4180. F__fpu_rsrv2 X__uint16_t
  4181. F__fpu_dp X__uint32_t
  4182. F__fpu_ds X__uint16_t
  4183. F__fpu_rsrv3 X__uint16_t
  4184. F__fpu_mxcsr X__uint32_t
  4185. F__fpu_mxcsrmask X__uint32_t
  4186. F__fpu_stmm0 struct {
  4187. F__mmst_reg [10]int8
  4188. F__mmst_rsrv [6]int8
  4189. }
  4190. F__fpu_stmm1 struct {
  4191. F__mmst_reg [10]int8
  4192. F__mmst_rsrv [6]int8
  4193. }
  4194. F__fpu_stmm2 struct {
  4195. F__mmst_reg [10]int8
  4196. F__mmst_rsrv [6]int8
  4197. }
  4198. F__fpu_stmm3 struct {
  4199. F__mmst_reg [10]int8
  4200. F__mmst_rsrv [6]int8
  4201. }
  4202. F__fpu_stmm4 struct {
  4203. F__mmst_reg [10]int8
  4204. F__mmst_rsrv [6]int8
  4205. }
  4206. F__fpu_stmm5 struct {
  4207. F__mmst_reg [10]int8
  4208. F__mmst_rsrv [6]int8
  4209. }
  4210. F__fpu_stmm6 struct {
  4211. F__mmst_reg [10]int8
  4212. F__mmst_rsrv [6]int8
  4213. }
  4214. F__fpu_stmm7 struct {
  4215. F__mmst_reg [10]int8
  4216. F__mmst_rsrv [6]int8
  4217. }
  4218. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  4219. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  4220. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  4221. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  4222. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  4223. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  4224. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  4225. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  4226. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  4227. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  4228. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  4229. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  4230. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  4231. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  4232. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  4233. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  4234. F__fpu_rsrv4 [96]int8
  4235. F__fpu_reserved1 int32
  4236. F__avx_reserved1 [64]int8
  4237. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  4238. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  4239. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  4240. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  4241. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  4242. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  4243. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  4244. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  4245. F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 }
  4246. F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 }
  4247. F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 }
  4248. F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 }
  4249. F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 }
  4250. F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 }
  4251. F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
  4252. F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
  4253. F__fpu_k0 struct{ F__opmask_reg [8]int8 }
  4254. F__fpu_k1 struct{ F__opmask_reg [8]int8 }
  4255. F__fpu_k2 struct{ F__opmask_reg [8]int8 }
  4256. F__fpu_k3 struct{ F__opmask_reg [8]int8 }
  4257. F__fpu_k4 struct{ F__opmask_reg [8]int8 }
  4258. F__fpu_k5 struct{ F__opmask_reg [8]int8 }
  4259. F__fpu_k6 struct{ F__opmask_reg [8]int8 }
  4260. F__fpu_k7 struct{ F__opmask_reg [8]int8 }
  4261. F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 }
  4262. F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 }
  4263. F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 }
  4264. F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 }
  4265. F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 }
  4266. F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 }
  4267. F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 }
  4268. F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 }
  4269. F__fpu_zmmh8 struct{ F__ymm_reg [32]int8 }
  4270. F__fpu_zmmh9 struct{ F__ymm_reg [32]int8 }
  4271. F__fpu_zmmh10 struct{ F__ymm_reg [32]int8 }
  4272. F__fpu_zmmh11 struct{ F__ymm_reg [32]int8 }
  4273. F__fpu_zmmh12 struct{ F__ymm_reg [32]int8 }
  4274. F__fpu_zmmh13 struct{ F__ymm_reg [32]int8 }
  4275. F__fpu_zmmh14 struct{ F__ymm_reg [32]int8 }
  4276. F__fpu_zmmh15 struct{ F__ymm_reg [32]int8 }
  4277. F__fpu_zmm16 struct{ F__zmm_reg [64]int8 }
  4278. F__fpu_zmm17 struct{ F__zmm_reg [64]int8 }
  4279. F__fpu_zmm18 struct{ F__zmm_reg [64]int8 }
  4280. F__fpu_zmm19 struct{ F__zmm_reg [64]int8 }
  4281. F__fpu_zmm20 struct{ F__zmm_reg [64]int8 }
  4282. F__fpu_zmm21 struct{ F__zmm_reg [64]int8 }
  4283. F__fpu_zmm22 struct{ F__zmm_reg [64]int8 }
  4284. F__fpu_zmm23 struct{ F__zmm_reg [64]int8 }
  4285. F__fpu_zmm24 struct{ F__zmm_reg [64]int8 }
  4286. F__fpu_zmm25 struct{ F__zmm_reg [64]int8 }
  4287. F__fpu_zmm26 struct{ F__zmm_reg [64]int8 }
  4288. F__fpu_zmm27 struct{ F__zmm_reg [64]int8 }
  4289. F__fpu_zmm28 struct{ F__zmm_reg [64]int8 }
  4290. F__fpu_zmm29 struct{ F__zmm_reg [64]int8 }
  4291. F__fpu_zmm30 struct{ F__zmm_reg [64]int8 }
  4292. F__fpu_zmm31 struct{ F__zmm_reg [64]int8 }
  4293. }
  4294. F__ccgo_pad1 [4]byte
  4295. } /* _mcontext.h:130:1 */
  4296. type X__darwin_mcontext_avx512_64_full = struct {
  4297. F__es struct {
  4298. F__trapno X__uint16_t
  4299. F__cpu X__uint16_t
  4300. F__err X__uint32_t
  4301. F__faultvaddr X__uint64_t
  4302. }
  4303. F__ss struct {
  4304. F__ss64 struct {
  4305. F__rax X__uint64_t
  4306. F__rbx X__uint64_t
  4307. F__rcx X__uint64_t
  4308. F__rdx X__uint64_t
  4309. F__rdi X__uint64_t
  4310. F__rsi X__uint64_t
  4311. F__rbp X__uint64_t
  4312. F__rsp X__uint64_t
  4313. F__r8 X__uint64_t
  4314. F__r9 X__uint64_t
  4315. F__r10 X__uint64_t
  4316. F__r11 X__uint64_t
  4317. F__r12 X__uint64_t
  4318. F__r13 X__uint64_t
  4319. F__r14 X__uint64_t
  4320. F__r15 X__uint64_t
  4321. F__rip X__uint64_t
  4322. F__rflags X__uint64_t
  4323. F__cs X__uint64_t
  4324. F__fs X__uint64_t
  4325. F__gs X__uint64_t
  4326. }
  4327. F__ds X__uint64_t
  4328. F__es X__uint64_t
  4329. F__ss X__uint64_t
  4330. F__gsbase X__uint64_t
  4331. }
  4332. F__fs struct {
  4333. F__fpu_reserved [2]int32
  4334. F__fpu_fcw struct {
  4335. F__ccgo_pad1 [0]uint16
  4336. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short : 2, unsigned short __pc: 2, unsigned short __rc: 2, unsigned short : 1, unsigned short : 3 */
  4337. }
  4338. F__fpu_fsw struct {
  4339. F__ccgo_pad1 [0]uint16
  4340. F__invalid uint16 /* unsigned short __invalid: 1, unsigned short __denorm: 1, unsigned short __zdiv: 1, unsigned short __ovrfl: 1, unsigned short __undfl: 1, unsigned short __precis: 1, unsigned short __stkflt: 1, unsigned short __errsumm: 1, unsigned short __c0: 1, unsigned short __c1: 1, unsigned short __c2: 1, unsigned short __tos: 3, unsigned short __c3: 1, unsigned short __busy: 1 */
  4341. }
  4342. F__fpu_ftw X__uint8_t
  4343. F__fpu_rsrv1 X__uint8_t
  4344. F__fpu_fop X__uint16_t
  4345. F__fpu_ip X__uint32_t
  4346. F__fpu_cs X__uint16_t
  4347. F__fpu_rsrv2 X__uint16_t
  4348. F__fpu_dp X__uint32_t
  4349. F__fpu_ds X__uint16_t
  4350. F__fpu_rsrv3 X__uint16_t
  4351. F__fpu_mxcsr X__uint32_t
  4352. F__fpu_mxcsrmask X__uint32_t
  4353. F__fpu_stmm0 struct {
  4354. F__mmst_reg [10]int8
  4355. F__mmst_rsrv [6]int8
  4356. }
  4357. F__fpu_stmm1 struct {
  4358. F__mmst_reg [10]int8
  4359. F__mmst_rsrv [6]int8
  4360. }
  4361. F__fpu_stmm2 struct {
  4362. F__mmst_reg [10]int8
  4363. F__mmst_rsrv [6]int8
  4364. }
  4365. F__fpu_stmm3 struct {
  4366. F__mmst_reg [10]int8
  4367. F__mmst_rsrv [6]int8
  4368. }
  4369. F__fpu_stmm4 struct {
  4370. F__mmst_reg [10]int8
  4371. F__mmst_rsrv [6]int8
  4372. }
  4373. F__fpu_stmm5 struct {
  4374. F__mmst_reg [10]int8
  4375. F__mmst_rsrv [6]int8
  4376. }
  4377. F__fpu_stmm6 struct {
  4378. F__mmst_reg [10]int8
  4379. F__mmst_rsrv [6]int8
  4380. }
  4381. F__fpu_stmm7 struct {
  4382. F__mmst_reg [10]int8
  4383. F__mmst_rsrv [6]int8
  4384. }
  4385. F__fpu_xmm0 struct{ F__xmm_reg [16]int8 }
  4386. F__fpu_xmm1 struct{ F__xmm_reg [16]int8 }
  4387. F__fpu_xmm2 struct{ F__xmm_reg [16]int8 }
  4388. F__fpu_xmm3 struct{ F__xmm_reg [16]int8 }
  4389. F__fpu_xmm4 struct{ F__xmm_reg [16]int8 }
  4390. F__fpu_xmm5 struct{ F__xmm_reg [16]int8 }
  4391. F__fpu_xmm6 struct{ F__xmm_reg [16]int8 }
  4392. F__fpu_xmm7 struct{ F__xmm_reg [16]int8 }
  4393. F__fpu_xmm8 struct{ F__xmm_reg [16]int8 }
  4394. F__fpu_xmm9 struct{ F__xmm_reg [16]int8 }
  4395. F__fpu_xmm10 struct{ F__xmm_reg [16]int8 }
  4396. F__fpu_xmm11 struct{ F__xmm_reg [16]int8 }
  4397. F__fpu_xmm12 struct{ F__xmm_reg [16]int8 }
  4398. F__fpu_xmm13 struct{ F__xmm_reg [16]int8 }
  4399. F__fpu_xmm14 struct{ F__xmm_reg [16]int8 }
  4400. F__fpu_xmm15 struct{ F__xmm_reg [16]int8 }
  4401. F__fpu_rsrv4 [96]int8
  4402. F__fpu_reserved1 int32
  4403. F__avx_reserved1 [64]int8
  4404. F__fpu_ymmh0 struct{ F__xmm_reg [16]int8 }
  4405. F__fpu_ymmh1 struct{ F__xmm_reg [16]int8 }
  4406. F__fpu_ymmh2 struct{ F__xmm_reg [16]int8 }
  4407. F__fpu_ymmh3 struct{ F__xmm_reg [16]int8 }
  4408. F__fpu_ymmh4 struct{ F__xmm_reg [16]int8 }
  4409. F__fpu_ymmh5 struct{ F__xmm_reg [16]int8 }
  4410. F__fpu_ymmh6 struct{ F__xmm_reg [16]int8 }
  4411. F__fpu_ymmh7 struct{ F__xmm_reg [16]int8 }
  4412. F__fpu_ymmh8 struct{ F__xmm_reg [16]int8 }
  4413. F__fpu_ymmh9 struct{ F__xmm_reg [16]int8 }
  4414. F__fpu_ymmh10 struct{ F__xmm_reg [16]int8 }
  4415. F__fpu_ymmh11 struct{ F__xmm_reg [16]int8 }
  4416. F__fpu_ymmh12 struct{ F__xmm_reg [16]int8 }
  4417. F__fpu_ymmh13 struct{ F__xmm_reg [16]int8 }
  4418. F__fpu_ymmh14 struct{ F__xmm_reg [16]int8 }
  4419. F__fpu_ymmh15 struct{ F__xmm_reg [16]int8 }
  4420. F__fpu_k0 struct{ F__opmask_reg [8]int8 }
  4421. F__fpu_k1 struct{ F__opmask_reg [8]int8 }
  4422. F__fpu_k2 struct{ F__opmask_reg [8]int8 }
  4423. F__fpu_k3 struct{ F__opmask_reg [8]int8 }
  4424. F__fpu_k4 struct{ F__opmask_reg [8]int8 }
  4425. F__fpu_k5 struct{ F__opmask_reg [8]int8 }
  4426. F__fpu_k6 struct{ F__opmask_reg [8]int8 }
  4427. F__fpu_k7 struct{ F__opmask_reg [8]int8 }
  4428. F__fpu_zmmh0 struct{ F__ymm_reg [32]int8 }
  4429. F__fpu_zmmh1 struct{ F__ymm_reg [32]int8 }
  4430. F__fpu_zmmh2 struct{ F__ymm_reg [32]int8 }
  4431. F__fpu_zmmh3 struct{ F__ymm_reg [32]int8 }
  4432. F__fpu_zmmh4 struct{ F__ymm_reg [32]int8 }
  4433. F__fpu_zmmh5 struct{ F__ymm_reg [32]int8 }
  4434. F__fpu_zmmh6 struct{ F__ymm_reg [32]int8 }
  4435. F__fpu_zmmh7 struct{ F__ymm_reg [32]int8 }
  4436. F__fpu_zmmh8 struct{ F__ymm_reg [32]int8 }
  4437. F__fpu_zmmh9 struct{ F__ymm_reg [32]int8 }
  4438. F__fpu_zmmh10 struct{ F__ymm_reg [32]int8 }
  4439. F__fpu_zmmh11 struct{ F__ymm_reg [32]int8 }
  4440. F__fpu_zmmh12 struct{ F__ymm_reg [32]int8 }
  4441. F__fpu_zmmh13 struct{ F__ymm_reg [32]int8 }
  4442. F__fpu_zmmh14 struct{ F__ymm_reg [32]int8 }
  4443. F__fpu_zmmh15 struct{ F__ymm_reg [32]int8 }
  4444. F__fpu_zmm16 struct{ F__zmm_reg [64]int8 }
  4445. F__fpu_zmm17 struct{ F__zmm_reg [64]int8 }
  4446. F__fpu_zmm18 struct{ F__zmm_reg [64]int8 }
  4447. F__fpu_zmm19 struct{ F__zmm_reg [64]int8 }
  4448. F__fpu_zmm20 struct{ F__zmm_reg [64]int8 }
  4449. F__fpu_zmm21 struct{ F__zmm_reg [64]int8 }
  4450. F__fpu_zmm22 struct{ F__zmm_reg [64]int8 }
  4451. F__fpu_zmm23 struct{ F__zmm_reg [64]int8 }
  4452. F__fpu_zmm24 struct{ F__zmm_reg [64]int8 }
  4453. F__fpu_zmm25 struct{ F__zmm_reg [64]int8 }
  4454. F__fpu_zmm26 struct{ F__zmm_reg [64]int8 }
  4455. F__fpu_zmm27 struct{ F__zmm_reg [64]int8 }
  4456. F__fpu_zmm28 struct{ F__zmm_reg [64]int8 }
  4457. F__fpu_zmm29 struct{ F__zmm_reg [64]int8 }
  4458. F__fpu_zmm30 struct{ F__zmm_reg [64]int8 }
  4459. F__fpu_zmm31 struct{ F__zmm_reg [64]int8 }
  4460. }
  4461. F__ccgo_pad1 [4]byte
  4462. } /* _mcontext.h:138:1 */
  4463. type Mcontext_t = uintptr /* _mcontext.h:204:33 */
  4464. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4465. //
  4466. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4467. //
  4468. // This file contains Original Code and/or Modifications of Original Code
  4469. // as defined in and that are subject to the Apple Public Source License
  4470. // Version 2.0 (the 'License'). You may not use this file except in
  4471. // compliance with the License. The rights granted to you under the License
  4472. // may not be used to create, or enable the creation or redistribution of,
  4473. // unlawful or unlicensed copies of an Apple operating system, or to
  4474. // circumvent, violate, or enable the circumvention or violation of, any
  4475. // terms of an Apple operating system software license agreement.
  4476. //
  4477. // Please obtain a copy of the License at
  4478. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4479. //
  4480. // The Original Code and all software distributed under the License are
  4481. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4482. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4483. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4484. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4485. // Please see the License for the specific language governing rights and
  4486. // limitations under the License.
  4487. //
  4488. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4489. // Copyright (c) 2003-2013 Apple Inc. All rights reserved.
  4490. //
  4491. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4492. //
  4493. // This file contains Original Code and/or Modifications of Original Code
  4494. // as defined in and that are subject to the Apple Public Source License
  4495. // Version 2.0 (the 'License'). You may not use this file except in
  4496. // compliance with the License. The rights granted to you under the License
  4497. // may not be used to create, or enable the creation or redistribution of,
  4498. // unlawful or unlicensed copies of an Apple operating system, or to
  4499. // circumvent, violate, or enable the circumvention or violation of, any
  4500. // terms of an Apple operating system software license agreement.
  4501. //
  4502. // Please obtain a copy of the License at
  4503. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4504. //
  4505. // The Original Code and all software distributed under the License are
  4506. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4507. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4508. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4509. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4510. // Please see the License for the specific language governing rights and
  4511. // limitations under the License.
  4512. //
  4513. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4514. type Pthread_attr_t = X__darwin_pthread_attr_t /* _pthread_attr_t.h:31:33 */
  4515. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4516. //
  4517. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4518. //
  4519. // This file contains Original Code and/or Modifications of Original Code
  4520. // as defined in and that are subject to the Apple Public Source License
  4521. // Version 2.0 (the 'License'). You may not use this file except in
  4522. // compliance with the License. The rights granted to you under the License
  4523. // may not be used to create, or enable the creation or redistribution of,
  4524. // unlawful or unlicensed copies of an Apple operating system, or to
  4525. // circumvent, violate, or enable the circumvention or violation of, any
  4526. // terms of an Apple operating system software license agreement.
  4527. //
  4528. // Please obtain a copy of the License at
  4529. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4530. //
  4531. // The Original Code and all software distributed under the License are
  4532. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4533. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4534. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4535. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4536. // Please see the License for the specific language governing rights and
  4537. // limitations under the License.
  4538. //
  4539. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4540. // Structure used in sigaltstack call.
  4541. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  4542. //
  4543. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4544. //
  4545. // This file contains Original Code and/or Modifications of Original Code
  4546. // as defined in and that are subject to the Apple Public Source License
  4547. // Version 2.0 (the 'License'). You may not use this file except in
  4548. // compliance with the License. The rights granted to you under the License
  4549. // may not be used to create, or enable the creation or redistribution of,
  4550. // unlawful or unlicensed copies of an Apple operating system, or to
  4551. // circumvent, violate, or enable the circumvention or violation of, any
  4552. // terms of an Apple operating system software license agreement.
  4553. //
  4554. // Please obtain a copy of the License at
  4555. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4556. //
  4557. // The Original Code and all software distributed under the License are
  4558. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4559. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4560. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4561. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4562. // Please see the License for the specific language governing rights and
  4563. // limitations under the License.
  4564. //
  4565. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4566. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4567. // Copyright (c) 1991, 1993
  4568. // The Regents of the University of California. All rights reserved.
  4569. //
  4570. // This code is derived from software contributed to Berkeley by
  4571. // Berkeley Software Design, Inc.
  4572. //
  4573. // Redistribution and use in source and binary forms, with or without
  4574. // modification, are permitted provided that the following conditions
  4575. // are met:
  4576. // 1. Redistributions of source code must retain the above copyright
  4577. // notice, this list of conditions and the following disclaimer.
  4578. // 2. Redistributions in binary form must reproduce the above copyright
  4579. // notice, this list of conditions and the following disclaimer in the
  4580. // documentation and/or other materials provided with the distribution.
  4581. // 3. All advertising materials mentioning features or use of this software
  4582. // must display the following acknowledgement:
  4583. // This product includes software developed by the University of
  4584. // California, Berkeley and its contributors.
  4585. // 4. Neither the name of the University nor the names of its contributors
  4586. // may be used to endorse or promote products derived from this software
  4587. // without specific prior written permission.
  4588. //
  4589. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4590. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4591. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4592. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4593. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4594. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4595. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4596. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4597. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4598. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4599. // SUCH DAMAGE.
  4600. //
  4601. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  4602. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4603. //
  4604. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4605. //
  4606. // This file contains Original Code and/or Modifications of Original Code
  4607. // as defined in and that are subject to the Apple Public Source License
  4608. // Version 2.0 (the 'License'). You may not use this file except in
  4609. // compliance with the License. The rights granted to you under the License
  4610. // may not be used to create, or enable the creation or redistribution of,
  4611. // unlawful or unlicensed copies of an Apple operating system, or to
  4612. // circumvent, violate, or enable the circumvention or violation of, any
  4613. // terms of an Apple operating system software license agreement.
  4614. //
  4615. // Please obtain a copy of the License at
  4616. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4617. //
  4618. // The Original Code and all software distributed under the License are
  4619. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4620. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4621. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4622. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4623. // Please see the License for the specific language governing rights and
  4624. // limitations under the License.
  4625. //
  4626. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4627. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4628. type X__darwin_sigaltstack = struct {
  4629. Fss_sp uintptr
  4630. Fss_size X__darwin_size_t
  4631. Fss_flags int32
  4632. F__ccgo_pad1 [4]byte
  4633. } /* _sigaltstack.h:42:1 */
  4634. type Stack_t = X__darwin_sigaltstack /* _sigaltstack.h:48:33 */ // [???] signal stack
  4635. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4636. //
  4637. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4638. //
  4639. // This file contains Original Code and/or Modifications of Original Code
  4640. // as defined in and that are subject to the Apple Public Source License
  4641. // Version 2.0 (the 'License'). You may not use this file except in
  4642. // compliance with the License. The rights granted to you under the License
  4643. // may not be used to create, or enable the creation or redistribution of,
  4644. // unlawful or unlicensed copies of an Apple operating system, or to
  4645. // circumvent, violate, or enable the circumvention or violation of, any
  4646. // terms of an Apple operating system software license agreement.
  4647. //
  4648. // Please obtain a copy of the License at
  4649. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4650. //
  4651. // The Original Code and all software distributed under the License are
  4652. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4653. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4654. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4655. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4656. // Please see the License for the specific language governing rights and
  4657. // limitations under the License.
  4658. //
  4659. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4660. // Copyright (c) 2000-2018 Apple Inc. All rights reserved.
  4661. //
  4662. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4663. //
  4664. // This file contains Original Code and/or Modifications of Original Code
  4665. // as defined in and that are subject to the Apple Public Source License
  4666. // Version 2.0 (the 'License'). You may not use this file except in
  4667. // compliance with the License. The rights granted to you under the License
  4668. // may not be used to create, or enable the creation or redistribution of,
  4669. // unlawful or unlicensed copies of an Apple operating system, or to
  4670. // circumvent, violate, or enable the circumvention or violation of, any
  4671. // terms of an Apple operating system software license agreement.
  4672. //
  4673. // Please obtain a copy of the License at
  4674. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4675. //
  4676. // The Original Code and all software distributed under the License are
  4677. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4678. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4679. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4680. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4681. // Please see the License for the specific language governing rights and
  4682. // limitations under the License.
  4683. //
  4684. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4685. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4686. // Copyright (c) 1991, 1993
  4687. // The Regents of the University of California. All rights reserved.
  4688. //
  4689. // This code is derived from software contributed to Berkeley by
  4690. // Berkeley Software Design, Inc.
  4691. //
  4692. // Redistribution and use in source and binary forms, with or without
  4693. // modification, are permitted provided that the following conditions
  4694. // are met:
  4695. // 1. Redistributions of source code must retain the above copyright
  4696. // notice, this list of conditions and the following disclaimer.
  4697. // 2. Redistributions in binary form must reproduce the above copyright
  4698. // notice, this list of conditions and the following disclaimer in the
  4699. // documentation and/or other materials provided with the distribution.
  4700. // 3. All advertising materials mentioning features or use of this software
  4701. // must display the following acknowledgement:
  4702. // This product includes software developed by the University of
  4703. // California, Berkeley and its contributors.
  4704. // 4. Neither the name of the University nor the names of its contributors
  4705. // may be used to endorse or promote products derived from this software
  4706. // without specific prior written permission.
  4707. //
  4708. // THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  4709. // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  4710. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  4711. // ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  4712. // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  4713. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  4714. // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  4715. // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  4716. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  4717. // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  4718. // SUCH DAMAGE.
  4719. //
  4720. // @(#)cdefs.h 8.8 (Berkeley) 1/9/95
  4721. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  4722. //
  4723. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4724. //
  4725. // This file contains Original Code and/or Modifications of Original Code
  4726. // as defined in and that are subject to the Apple Public Source License
  4727. // Version 2.0 (the 'License'). You may not use this file except in
  4728. // compliance with the License. The rights granted to you under the License
  4729. // may not be used to create, or enable the creation or redistribution of,
  4730. // unlawful or unlicensed copies of an Apple operating system, or to
  4731. // circumvent, violate, or enable the circumvention or violation of, any
  4732. // terms of an Apple operating system software license agreement.
  4733. //
  4734. // Please obtain a copy of the License at
  4735. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4736. //
  4737. // The Original Code and all software distributed under the License are
  4738. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4739. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4740. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4741. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4742. // Please see the License for the specific language governing rights and
  4743. // limitations under the License.
  4744. //
  4745. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4746. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  4747. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4748. //
  4749. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4750. //
  4751. // This file contains Original Code and/or Modifications of Original Code
  4752. // as defined in and that are subject to the Apple Public Source License
  4753. // Version 2.0 (the 'License'). You may not use this file except in
  4754. // compliance with the License. The rights granted to you under the License
  4755. // may not be used to create, or enable the creation or redistribution of,
  4756. // unlawful or unlicensed copies of an Apple operating system, or to
  4757. // circumvent, violate, or enable the circumvention or violation of, any
  4758. // terms of an Apple operating system software license agreement.
  4759. //
  4760. // Please obtain a copy of the License at
  4761. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4762. //
  4763. // The Original Code and all software distributed under the License are
  4764. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4765. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4766. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4767. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4768. // Please see the License for the specific language governing rights and
  4769. // limitations under the License.
  4770. //
  4771. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4772. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4773. //
  4774. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4775. //
  4776. // This file contains Original Code and/or Modifications of Original Code
  4777. // as defined in and that are subject to the Apple Public Source License
  4778. // Version 2.0 (the 'License'). You may not use this file except in
  4779. // compliance with the License. The rights granted to you under the License
  4780. // may not be used to create, or enable the creation or redistribution of,
  4781. // unlawful or unlicensed copies of an Apple operating system, or to
  4782. // circumvent, violate, or enable the circumvention or violation of, any
  4783. // terms of an Apple operating system software license agreement.
  4784. //
  4785. // Please obtain a copy of the License at
  4786. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4787. //
  4788. // The Original Code and all software distributed under the License are
  4789. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4790. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4791. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4792. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4793. // Please see the License for the specific language governing rights and
  4794. // limitations under the License.
  4795. //
  4796. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4797. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4798. //
  4799. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4800. //
  4801. // This file contains Original Code and/or Modifications of Original Code
  4802. // as defined in and that are subject to the Apple Public Source License
  4803. // Version 2.0 (the 'License'). You may not use this file except in
  4804. // compliance with the License. The rights granted to you under the License
  4805. // may not be used to create, or enable the creation or redistribution of,
  4806. // unlawful or unlicensed copies of an Apple operating system, or to
  4807. // circumvent, violate, or enable the circumvention or violation of, any
  4808. // terms of an Apple operating system software license agreement.
  4809. //
  4810. // Please obtain a copy of the License at
  4811. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4812. //
  4813. // The Original Code and all software distributed under the License are
  4814. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4815. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4816. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4817. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4818. // Please see the License for the specific language governing rights and
  4819. // limitations under the License.
  4820. //
  4821. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4822. type X__darwin_ucontext = struct {
  4823. Fuc_onstack int32
  4824. Fuc_sigmask X__darwin_sigset_t
  4825. Fuc_stack struct {
  4826. Fss_sp uintptr
  4827. Fss_size X__darwin_size_t
  4828. Fss_flags int32
  4829. F__ccgo_pad1 [4]byte
  4830. }
  4831. Fuc_link uintptr
  4832. Fuc_mcsize X__darwin_size_t
  4833. Fuc_mcontext uintptr
  4834. } /* _ucontext.h:42:1 */
  4835. // user context
  4836. type Ucontext_t = X__darwin_ucontext /* _ucontext.h:56:33 */ // [???] user context
  4837. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4838. //
  4839. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4840. //
  4841. // This file contains Original Code and/or Modifications of Original Code
  4842. // as defined in and that are subject to the Apple Public Source License
  4843. // Version 2.0 (the 'License'). You may not use this file except in
  4844. // compliance with the License. The rights granted to you under the License
  4845. // may not be used to create, or enable the creation or redistribution of,
  4846. // unlawful or unlicensed copies of an Apple operating system, or to
  4847. // circumvent, violate, or enable the circumvention or violation of, any
  4848. // terms of an Apple operating system software license agreement.
  4849. //
  4850. // Please obtain a copy of the License at
  4851. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4852. //
  4853. // The Original Code and all software distributed under the License are
  4854. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4855. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4856. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4857. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4858. // Please see the License for the specific language governing rights and
  4859. // limitations under the License.
  4860. //
  4861. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4862. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4863. //
  4864. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4865. //
  4866. // This file contains Original Code and/or Modifications of Original Code
  4867. // as defined in and that are subject to the Apple Public Source License
  4868. // Version 2.0 (the 'License'). You may not use this file except in
  4869. // compliance with the License. The rights granted to you under the License
  4870. // may not be used to create, or enable the creation or redistribution of,
  4871. // unlawful or unlicensed copies of an Apple operating system, or to
  4872. // circumvent, violate, or enable the circumvention or violation of, any
  4873. // terms of an Apple operating system software license agreement.
  4874. //
  4875. // Please obtain a copy of the License at
  4876. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4877. //
  4878. // The Original Code and all software distributed under the License are
  4879. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4880. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4881. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4882. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4883. // Please see the License for the specific language governing rights and
  4884. // limitations under the License.
  4885. //
  4886. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4887. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4888. //
  4889. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4890. //
  4891. // This file contains Original Code and/or Modifications of Original Code
  4892. // as defined in and that are subject to the Apple Public Source License
  4893. // Version 2.0 (the 'License'). You may not use this file except in
  4894. // compliance with the License. The rights granted to you under the License
  4895. // may not be used to create, or enable the creation or redistribution of,
  4896. // unlawful or unlicensed copies of an Apple operating system, or to
  4897. // circumvent, violate, or enable the circumvention or violation of, any
  4898. // terms of an Apple operating system software license agreement.
  4899. //
  4900. // Please obtain a copy of the License at
  4901. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4902. //
  4903. // The Original Code and all software distributed under the License are
  4904. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4905. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4906. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4907. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4908. // Please see the License for the specific language governing rights and
  4909. // limitations under the License.
  4910. //
  4911. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4912. type Sigset_t = X__darwin_sigset_t /* _sigset_t.h:31:41 */
  4913. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  4914. //
  4915. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4916. //
  4917. // This file contains Original Code and/or Modifications of Original Code
  4918. // as defined in and that are subject to the Apple Public Source License
  4919. // Version 2.0 (the 'License'). You may not use this file except in
  4920. // compliance with the License. The rights granted to you under the License
  4921. // may not be used to create, or enable the creation or redistribution of,
  4922. // unlawful or unlicensed copies of an Apple operating system, or to
  4923. // circumvent, violate, or enable the circumvention or violation of, any
  4924. // terms of an Apple operating system software license agreement.
  4925. //
  4926. // Please obtain a copy of the License at
  4927. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4928. //
  4929. // The Original Code and all software distributed under the License are
  4930. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4931. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4932. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4933. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4934. // Please see the License for the specific language governing rights and
  4935. // limitations under the License.
  4936. //
  4937. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4938. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  4939. //
  4940. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  4941. //
  4942. // This file contains Original Code and/or Modifications of Original Code
  4943. // as defined in and that are subject to the Apple Public Source License
  4944. // Version 2.0 (the 'License'). You may not use this file except in
  4945. // compliance with the License. The rights granted to you under the License
  4946. // may not be used to create, or enable the creation or redistribution of,
  4947. // unlawful or unlicensed copies of an Apple operating system, or to
  4948. // circumvent, violate, or enable the circumvention or violation of, any
  4949. // terms of an Apple operating system software license agreement.
  4950. //
  4951. // Please obtain a copy of the License at
  4952. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  4953. //
  4954. // The Original Code and all software distributed under the License are
  4955. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  4956. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  4957. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  4958. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  4959. // Please see the License for the specific language governing rights and
  4960. // limitations under the License.
  4961. //
  4962. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  4963. type Uid_t = X__darwin_uid_t /* _uid_t.h:31:31 */
  4964. type Sigval = struct {
  4965. F__ccgo_pad1 [0]uint64
  4966. Fsival_int int32
  4967. F__ccgo_pad2 [4]byte
  4968. } /* signal.h:158:1 */
  4969. type Sigevent = struct {
  4970. Fsigev_notify int32
  4971. Fsigev_signo int32
  4972. Fsigev_value struct {
  4973. F__ccgo_pad1 [0]uint64
  4974. Fsival_int int32
  4975. F__ccgo_pad2 [4]byte
  4976. }
  4977. Fsigev_notify_function uintptr
  4978. Fsigev_notify_attributes uintptr
  4979. } /* signal.h:168:1 */
  4980. type X__siginfo = struct {
  4981. Fsi_signo int32
  4982. Fsi_errno int32
  4983. Fsi_code int32
  4984. Fsi_pid Pid_t
  4985. Fsi_uid Uid_t
  4986. Fsi_status int32
  4987. Fsi_addr uintptr
  4988. Fsi_value struct {
  4989. F__ccgo_pad1 [0]uint64
  4990. Fsival_int int32
  4991. F__ccgo_pad2 [4]byte
  4992. }
  4993. Fsi_band int64
  4994. F__pad [7]uint64
  4995. } /* signal.h:177:9 */
  4996. type Siginfo_t = X__siginfo /* signal.h:188:3 */
  4997. // When the signal is SIGILL or SIGFPE, si_addr contains the address of
  4998. // the faulting instruction.
  4999. // When the signal is SIGSEGV or SIGBUS, si_addr contains the address of
  5000. // the faulting memory reference. Although for x86 there are cases of SIGSEGV
  5001. // for which si_addr cannot be determined and is NULL.
  5002. // If the signal is SIGCHLD, the si_pid field will contain the child process ID,
  5003. // si_status contains the exit value or signal and
  5004. // si_uid contains the real user ID of the process that sent the signal.
  5005. // Values for si_code
  5006. // Codes for SIGILL
  5007. // Codes for SIGFPE
  5008. // Codes for SIGSEGV
  5009. // Codes for SIGBUS
  5010. // Codes for SIGTRAP
  5011. // Codes for SIGCHLD
  5012. // Codes for SIGPOLL
  5013. // union for signal handlers
  5014. type X__sigaction_u = struct{ F__sa_handler uintptr } /* signal.h:269:1 */
  5015. // Signal vector template for Kernel user boundary
  5016. type X__sigaction = struct {
  5017. F__sigaction_u struct{ F__sa_handler uintptr }
  5018. Fsa_tramp uintptr
  5019. Fsa_mask Sigset_t
  5020. Fsa_flags int32
  5021. } /* signal.h:276:1 */
  5022. // Signal vector "template" used in sigaction call.
  5023. type Sigaction = struct {
  5024. F__sigaction_u struct{ F__sa_handler uintptr }
  5025. Fsa_mask Sigset_t
  5026. Fsa_flags int32
  5027. } /* signal.h:286:1 */
  5028. // if SA_SIGINFO is set, sa_sigaction is to be used instead of sa_handler.
  5029. // This will provide 64bit register set in a 32bit user address space
  5030. // the following are the only bits we support from user space, the
  5031. // rest are for kernel use only.
  5032. // Flags for sigprocmask:
  5033. // POSIX 1003.1b required values.
  5034. type Sig_t = uintptr /* signal.h:331:14 */ // type of signal function
  5035. // Structure used in sigaltstack call.
  5036. // 4.3 compatibility:
  5037. // Signal vector "template" used in sigvec call.
  5038. type Sigvec = struct {
  5039. Fsv_handler uintptr
  5040. Fsv_mask int32
  5041. Fsv_flags int32
  5042. } /* signal.h:348:1 */
  5043. // Structure used in sigstack call.
  5044. type Sigstack = struct {
  5045. Fss_sp uintptr
  5046. Fss_onstack int32
  5047. F__ccgo_pad1 [4]byte
  5048. } /* signal.h:367:1 */
  5049. type Uint64_t = uint64 /* stdint.h:98:25 */
  5050. type Int_least64_t = Int64_t /* stdint.h:110:25 */
  5051. type Uint_least64_t = Uint64_t /* stdint.h:111:26 */
  5052. type Int_fast64_t = Int64_t /* stdint.h:112:25 */
  5053. type Uint_fast64_t = Uint64_t /* stdint.h:113:26 */
  5054. type Uint32_t = uint32 /* stdint.h:172:25 */
  5055. type Int_least32_t = Int32_t /* stdint.h:184:25 */
  5056. type Uint_least32_t = Uint32_t /* stdint.h:185:26 */
  5057. type Int_fast32_t = Int32_t /* stdint.h:186:25 */
  5058. type Uint_fast32_t = Uint32_t /* stdint.h:187:26 */
  5059. type Uint16_t = uint16 /* stdint.h:207:25 */
  5060. type Int_least16_t = Int16_t /* stdint.h:215:25 */
  5061. type Uint_least16_t = Uint16_t /* stdint.h:216:26 */
  5062. type Int_fast16_t = Int16_t /* stdint.h:217:25 */
  5063. type Uint_fast16_t = Uint16_t /* stdint.h:218:26 */
  5064. type Uint8_t = uint8 /* stdint.h:226:24 */
  5065. type Int_least8_t = Int8_t /* stdint.h:232:24 */
  5066. type Uint_least8_t = Uint8_t /* stdint.h:233:25 */
  5067. type Int_fast8_t = Int8_t /* stdint.h:234:24 */
  5068. type Uint_fast8_t = Uint8_t /* stdint.h:235:25 */
  5069. // prevent glibc sys/types.h from defining conflicting types
  5070. // C99 7.18.1.4 Integer types capable of holding object pointers.
  5071. // C99 7.18.1.5 Greatest-width integer types.
  5072. type Intmax_t = int64 /* stdint.h:262:26 */
  5073. type Uintmax_t = uint64 /* stdint.h:263:26 */
  5074. // C99 7.18.4 Macros for minimum-width integer constants.
  5075. //
  5076. // The standard requires that integer constant macros be defined for all the
  5077. // minimum-width types defined above. As 8-, 16-, 32-, and 64-bit minimum-width
  5078. // types are required, the corresponding integer constant macros are defined
  5079. // here. This implementation also defines minimum-width types for every other
  5080. // integer width that the target implements, so corresponding macros are
  5081. // defined below, too.
  5082. //
  5083. // These macros are defined using the same successive-shrinking approach as
  5084. // the type definitions above. It is likewise important that macros are defined
  5085. // in order of decending width.
  5086. //
  5087. // Note that C++ should not check __STDC_CONSTANT_MACROS here, contrary to the
  5088. // claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
  5089. // C99 7.18.2.1 Limits of exact-width integer types.
  5090. // C99 7.18.2.2 Limits of minimum-width integer types.
  5091. // C99 7.18.2.3 Limits of fastest minimum-width integer types.
  5092. //
  5093. // The presence of limit macros are completely optional in C99. This
  5094. // implementation defines limits for all of the types (exact- and
  5095. // minimum-width) that it defines above, using the limits of the minimum-width
  5096. // type for any types that do not have exact-width representations.
  5097. //
  5098. // As in the type definitions, this section takes an approach of
  5099. // successive-shrinking to determine which limits to use for the standard (8,
  5100. // 16, 32, 64) bit widths when they don't have exact representations. It is
  5101. // therefore important that the definitions be kept in order of decending
  5102. // widths.
  5103. //
  5104. // Note that C++ should not check __STDC_LIMIT_MACROS here, contrary to the
  5105. // claims of the C standard (see C++ 18.3.1p2, [cstdint.syn]).
  5106. // Some utility macros
  5107. // C99 7.18.2.4 Limits of integer types capable of holding object pointers.
  5108. // C99 7.18.3 Limits of other integer types.
  5109. // ISO9899:2011 7.20 (C11 Annex K): Define RSIZE_MAX if __STDC_WANT_LIB_EXT1__
  5110. // is enabled.
  5111. // C99 7.18.2.5 Limits of greatest-width integer types.
  5112. // C99 7.18.3 Limits of other integer types.
  5113. // 7.18.4.2 Macros for greatest-width integer constants.
  5114. // Copyright (c) 2007-2016 by Apple Inc.. All rights reserved.
  5115. //
  5116. // @APPLE_LICENSE_HEADER_START@
  5117. //
  5118. // This file contains Original Code and/or Modifications of Original Code
  5119. // as defined in and that are subject to the Apple Public Source License
  5120. // Version 2.0 (the 'License'). You may not use this file except in
  5121. // compliance with the License. Please obtain a copy of the License at
  5122. // http://www.opensource.apple.com/apsl/ and read it before using this
  5123. // file.
  5124. //
  5125. // The Original Code and all software distributed under the License are
  5126. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5127. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5128. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5129. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5130. // Please see the License for the specific language governing rights and
  5131. // limitations under the License.
  5132. //
  5133. // @APPLE_LICENSE_HEADER_END@
  5134. // [XSI] The timeval structure shall be defined as described in
  5135. // <sys/time.h>
  5136. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5137. //
  5138. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5139. //
  5140. // This file contains Original Code and/or Modifications of Original Code
  5141. // as defined in and that are subject to the Apple Public Source License
  5142. // Version 2.0 (the 'License'). You may not use this file except in
  5143. // compliance with the License. The rights granted to you under the License
  5144. // may not be used to create, or enable the creation or redistribution of,
  5145. // unlawful or unlicensed copies of an Apple operating system, or to
  5146. // circumvent, violate, or enable the circumvention or violation of, any
  5147. // terms of an Apple operating system software license agreement.
  5148. //
  5149. // Please obtain a copy of the License at
  5150. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5151. //
  5152. // The Original Code and all software distributed under the License are
  5153. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5154. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5155. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5156. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5157. // Please see the License for the specific language governing rights and
  5158. // limitations under the License.
  5159. //
  5160. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5161. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  5162. //
  5163. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5164. //
  5165. // This file contains Original Code and/or Modifications of Original Code
  5166. // as defined in and that are subject to the Apple Public Source License
  5167. // Version 2.0 (the 'License'). You may not use this file except in
  5168. // compliance with the License. The rights granted to you under the License
  5169. // may not be used to create, or enable the creation or redistribution of,
  5170. // unlawful or unlicensed copies of an Apple operating system, or to
  5171. // circumvent, violate, or enable the circumvention or violation of, any
  5172. // terms of an Apple operating system software license agreement.
  5173. //
  5174. // Please obtain a copy of the License at
  5175. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5176. //
  5177. // The Original Code and all software distributed under the License are
  5178. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5179. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5180. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5181. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5182. // Please see the License for the specific language governing rights and
  5183. // limitations under the License.
  5184. //
  5185. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5186. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5187. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5188. //
  5189. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5190. //
  5191. // This file contains Original Code and/or Modifications of Original Code
  5192. // as defined in and that are subject to the Apple Public Source License
  5193. // Version 2.0 (the 'License'). You may not use this file except in
  5194. // compliance with the License. The rights granted to you under the License
  5195. // may not be used to create, or enable the creation or redistribution of,
  5196. // unlawful or unlicensed copies of an Apple operating system, or to
  5197. // circumvent, violate, or enable the circumvention or violation of, any
  5198. // terms of an Apple operating system software license agreement.
  5199. //
  5200. // Please obtain a copy of the License at
  5201. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5202. //
  5203. // The Original Code and all software distributed under the License are
  5204. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5205. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5206. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5207. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5208. // Please see the License for the specific language governing rights and
  5209. // limitations under the License.
  5210. //
  5211. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5212. type Timeval = struct {
  5213. Ftv_sec X__darwin_time_t
  5214. Ftv_usec X__darwin_suseconds_t
  5215. F__ccgo_pad1 [4]byte
  5216. } /* _timeval.h:34:1 */
  5217. // The id_t type shall be defined as described in <sys/types.h>
  5218. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5219. //
  5220. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5221. //
  5222. // This file contains Original Code and/or Modifications of Original Code
  5223. // as defined in and that are subject to the Apple Public Source License
  5224. // Version 2.0 (the 'License'). You may not use this file except in
  5225. // compliance with the License. The rights granted to you under the License
  5226. // may not be used to create, or enable the creation or redistribution of,
  5227. // unlawful or unlicensed copies of an Apple operating system, or to
  5228. // circumvent, violate, or enable the circumvention or violation of, any
  5229. // terms of an Apple operating system software license agreement.
  5230. //
  5231. // Please obtain a copy of the License at
  5232. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5233. //
  5234. // The Original Code and all software distributed under the License are
  5235. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5236. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5237. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5238. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5239. // Please see the License for the specific language governing rights and
  5240. // limitations under the License.
  5241. //
  5242. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5243. // Resource limit type (low 63 bits, excluding the sign bit)
  5244. type Rlim_t = X__uint64_t /* resource.h:89:25 */
  5245. // ****
  5246. //
  5247. // PRIORITY
  5248. // Possible values of the first parameter to getpriority()/setpriority(),
  5249. // used to indicate the type of the second parameter.
  5250. // Range limitations for the value of the third parameter to setpriority().
  5251. // use PRIO_DARWIN_BG to set the current thread into "background" state
  5252. // which lowers CPU, disk IO, and networking priorites until thread terminates
  5253. // or "background" state is revoked
  5254. // use PRIO_DARWIN_NONUI to restrict a process's ability to make calls to
  5255. // the GPU. (deprecated)
  5256. // ****
  5257. //
  5258. // RESOURCE USAGE
  5259. // Possible values of the first parameter to getrusage(), used to indicate
  5260. // the scope of the information to be returned.
  5261. // A structure representing an accounting of resource utilization. The
  5262. // address of an instance of this structure is the second parameter to
  5263. // getrusage().
  5264. //
  5265. // Note: All values other than ru_utime and ru_stime are implementaiton
  5266. //
  5267. // defined and subject to change in a future release. Their use
  5268. // is discouraged for standards compliant programs.
  5269. type Rusage = struct {
  5270. Fru_utime struct {
  5271. Ftv_sec X__darwin_time_t
  5272. Ftv_usec X__darwin_suseconds_t
  5273. F__ccgo_pad1 [4]byte
  5274. }
  5275. Fru_stime struct {
  5276. Ftv_sec X__darwin_time_t
  5277. Ftv_usec X__darwin_suseconds_t
  5278. F__ccgo_pad1 [4]byte
  5279. }
  5280. Fru_maxrss int64
  5281. Fru_ixrss int64
  5282. Fru_idrss int64
  5283. Fru_isrss int64
  5284. Fru_minflt int64
  5285. Fru_majflt int64
  5286. Fru_nswap int64
  5287. Fru_inblock int64
  5288. Fru_oublock int64
  5289. Fru_msgsnd int64
  5290. Fru_msgrcv int64
  5291. Fru_nsignals int64
  5292. Fru_nvcsw int64
  5293. Fru_nivcsw int64
  5294. } /* resource.h:152:1 */
  5295. // Flavors for proc_pid_rusage().
  5296. type Rusage_info_t = uintptr /* resource.h:193:14 */
  5297. type Rusage_info_v0 = struct {
  5298. Fri_uuid [16]Uint8_t
  5299. Fri_user_time Uint64_t
  5300. Fri_system_time Uint64_t
  5301. Fri_pkg_idle_wkups Uint64_t
  5302. Fri_interrupt_wkups Uint64_t
  5303. Fri_pageins Uint64_t
  5304. Fri_wired_size Uint64_t
  5305. Fri_resident_size Uint64_t
  5306. Fri_phys_footprint Uint64_t
  5307. Fri_proc_start_abstime Uint64_t
  5308. Fri_proc_exit_abstime Uint64_t
  5309. } /* resource.h:195:1 */
  5310. type Rusage_info_v1 = struct {
  5311. Fri_uuid [16]Uint8_t
  5312. Fri_user_time Uint64_t
  5313. Fri_system_time Uint64_t
  5314. Fri_pkg_idle_wkups Uint64_t
  5315. Fri_interrupt_wkups Uint64_t
  5316. Fri_pageins Uint64_t
  5317. Fri_wired_size Uint64_t
  5318. Fri_resident_size Uint64_t
  5319. Fri_phys_footprint Uint64_t
  5320. Fri_proc_start_abstime Uint64_t
  5321. Fri_proc_exit_abstime Uint64_t
  5322. Fri_child_user_time Uint64_t
  5323. Fri_child_system_time Uint64_t
  5324. Fri_child_pkg_idle_wkups Uint64_t
  5325. Fri_child_interrupt_wkups Uint64_t
  5326. Fri_child_pageins Uint64_t
  5327. Fri_child_elapsed_abstime Uint64_t
  5328. } /* resource.h:209:1 */
  5329. type Rusage_info_v2 = struct {
  5330. Fri_uuid [16]Uint8_t
  5331. Fri_user_time Uint64_t
  5332. Fri_system_time Uint64_t
  5333. Fri_pkg_idle_wkups Uint64_t
  5334. Fri_interrupt_wkups Uint64_t
  5335. Fri_pageins Uint64_t
  5336. Fri_wired_size Uint64_t
  5337. Fri_resident_size Uint64_t
  5338. Fri_phys_footprint Uint64_t
  5339. Fri_proc_start_abstime Uint64_t
  5340. Fri_proc_exit_abstime Uint64_t
  5341. Fri_child_user_time Uint64_t
  5342. Fri_child_system_time Uint64_t
  5343. Fri_child_pkg_idle_wkups Uint64_t
  5344. Fri_child_interrupt_wkups Uint64_t
  5345. Fri_child_pageins Uint64_t
  5346. Fri_child_elapsed_abstime Uint64_t
  5347. Fri_diskio_bytesread Uint64_t
  5348. Fri_diskio_byteswritten Uint64_t
  5349. } /* resource.h:229:1 */
  5350. type Rusage_info_v3 = struct {
  5351. Fri_uuid [16]Uint8_t
  5352. Fri_user_time Uint64_t
  5353. Fri_system_time Uint64_t
  5354. Fri_pkg_idle_wkups Uint64_t
  5355. Fri_interrupt_wkups Uint64_t
  5356. Fri_pageins Uint64_t
  5357. Fri_wired_size Uint64_t
  5358. Fri_resident_size Uint64_t
  5359. Fri_phys_footprint Uint64_t
  5360. Fri_proc_start_abstime Uint64_t
  5361. Fri_proc_exit_abstime Uint64_t
  5362. Fri_child_user_time Uint64_t
  5363. Fri_child_system_time Uint64_t
  5364. Fri_child_pkg_idle_wkups Uint64_t
  5365. Fri_child_interrupt_wkups Uint64_t
  5366. Fri_child_pageins Uint64_t
  5367. Fri_child_elapsed_abstime Uint64_t
  5368. Fri_diskio_bytesread Uint64_t
  5369. Fri_diskio_byteswritten Uint64_t
  5370. Fri_cpu_time_qos_default Uint64_t
  5371. Fri_cpu_time_qos_maintenance Uint64_t
  5372. Fri_cpu_time_qos_background Uint64_t
  5373. Fri_cpu_time_qos_utility Uint64_t
  5374. Fri_cpu_time_qos_legacy Uint64_t
  5375. Fri_cpu_time_qos_user_initiated Uint64_t
  5376. Fri_cpu_time_qos_user_interactive Uint64_t
  5377. Fri_billed_system_time Uint64_t
  5378. Fri_serviced_system_time Uint64_t
  5379. } /* resource.h:251:1 */
  5380. type Rusage_info_v4 = struct {
  5381. Fri_uuid [16]Uint8_t
  5382. Fri_user_time Uint64_t
  5383. Fri_system_time Uint64_t
  5384. Fri_pkg_idle_wkups Uint64_t
  5385. Fri_interrupt_wkups Uint64_t
  5386. Fri_pageins Uint64_t
  5387. Fri_wired_size Uint64_t
  5388. Fri_resident_size Uint64_t
  5389. Fri_phys_footprint Uint64_t
  5390. Fri_proc_start_abstime Uint64_t
  5391. Fri_proc_exit_abstime Uint64_t
  5392. Fri_child_user_time Uint64_t
  5393. Fri_child_system_time Uint64_t
  5394. Fri_child_pkg_idle_wkups Uint64_t
  5395. Fri_child_interrupt_wkups Uint64_t
  5396. Fri_child_pageins Uint64_t
  5397. Fri_child_elapsed_abstime Uint64_t
  5398. Fri_diskio_bytesread Uint64_t
  5399. Fri_diskio_byteswritten Uint64_t
  5400. Fri_cpu_time_qos_default Uint64_t
  5401. Fri_cpu_time_qos_maintenance Uint64_t
  5402. Fri_cpu_time_qos_background Uint64_t
  5403. Fri_cpu_time_qos_utility Uint64_t
  5404. Fri_cpu_time_qos_legacy Uint64_t
  5405. Fri_cpu_time_qos_user_initiated Uint64_t
  5406. Fri_cpu_time_qos_user_interactive Uint64_t
  5407. Fri_billed_system_time Uint64_t
  5408. Fri_serviced_system_time Uint64_t
  5409. Fri_logical_writes Uint64_t
  5410. Fri_lifetime_max_phys_footprint Uint64_t
  5411. Fri_instructions Uint64_t
  5412. Fri_cycles Uint64_t
  5413. Fri_billed_energy Uint64_t
  5414. Fri_serviced_energy Uint64_t
  5415. Fri_interval_max_phys_footprint Uint64_t
  5416. Fri_runnable_time Uint64_t
  5417. } /* resource.h:282:1 */
  5418. type Rusage_info_current = Rusage_info_v4 /* resource.h:321:31 */
  5419. // ****
  5420. //
  5421. // RESOURCE LIMITS
  5422. // Symbolic constants for resource limits; since all limits are representable
  5423. // as a type rlim_t, we are permitted to define RLIM_SAVED_* in terms of
  5424. // RLIM_INFINITY.
  5425. // Possible values of the first parameter to getrlimit()/setrlimit(), to
  5426. // indicate for which resource the operation is being performed.
  5427. // A structure representing a resource limit. The address of an instance
  5428. // of this structure is the second parameter to getrlimit()/setrlimit().
  5429. type Rlimit = struct {
  5430. Frlim_cur Rlim_t
  5431. Frlim_max Rlim_t
  5432. } /* resource.h:365:1 */
  5433. // proc_rlimit_control()
  5434. //
  5435. // Resource limit flavors
  5436. // Flags for wakeups monitor control.
  5437. // Flags for CPU usage monitor control.
  5438. // Flags for memory footprint interval tracking.
  5439. type Proc_rlimit_control_wakeupmon = struct {
  5440. Fwm_flags Uint32_t
  5441. Fwm_rate Int32_t
  5442. } /* resource.h:400:1 */
  5443. // Deprecated:
  5444. // Structure of the information in the status word returned by wait4.
  5445. // If w_stopval==_WSTOPPED, then the second structure describes
  5446. // the information returned, else the first.
  5447. type Wait = struct{ Fw_status int32 } /* wait.h:194:1 */
  5448. // built-in for gcc
  5449. // built-in for gcc 3
  5450. // DO NOT REMOVE THIS COMMENT: fixincludes needs to see:
  5451. // _GCC_SIZE_T
  5452. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5453. //
  5454. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5455. //
  5456. // This file contains Original Code and/or Modifications of Original Code
  5457. // as defined in and that are subject to the Apple Public Source License
  5458. // Version 2.0 (the 'License'). You may not use this file except in
  5459. // compliance with the License. The rights granted to you under the License
  5460. // may not be used to create, or enable the creation or redistribution of,
  5461. // unlawful or unlicensed copies of an Apple operating system, or to
  5462. // circumvent, violate, or enable the circumvention or violation of, any
  5463. // terms of an Apple operating system software license agreement.
  5464. //
  5465. // Please obtain a copy of the License at
  5466. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5467. //
  5468. // The Original Code and all software distributed under the License are
  5469. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5470. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5471. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5472. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5473. // Please see the License for the specific language governing rights and
  5474. // limitations under the License.
  5475. //
  5476. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5477. // Copyright (c) 2012 Apple Inc. All rights reserved.
  5478. //
  5479. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5480. //
  5481. // This file contains Original Code and/or Modifications of Original Code
  5482. // as defined in and that are subject to the Apple Public Source License
  5483. // Version 2.0 (the 'License'). You may not use this file except in
  5484. // compliance with the License. The rights granted to you under the License
  5485. // may not be used to create, or enable the creation or redistribution of,
  5486. // unlawful or unlicensed copies of an Apple operating system, or to
  5487. // circumvent, violate, or enable the circumvention or violation of, any
  5488. // terms of an Apple operating system software license agreement.
  5489. //
  5490. // Please obtain a copy of the License at
  5491. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5492. //
  5493. // The Original Code and all software distributed under the License are
  5494. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5495. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5496. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5497. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5498. // Please see the License for the specific language governing rights and
  5499. // limitations under the License.
  5500. //
  5501. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5502. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5503. //
  5504. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5505. //
  5506. // This file contains Original Code and/or Modifications of Original Code
  5507. // as defined in and that are subject to the Apple Public Source License
  5508. // Version 2.0 (the 'License'). You may not use this file except in
  5509. // compliance with the License. The rights granted to you under the License
  5510. // may not be used to create, or enable the creation or redistribution of,
  5511. // unlawful or unlicensed copies of an Apple operating system, or to
  5512. // circumvent, violate, or enable the circumvention or violation of, any
  5513. // terms of an Apple operating system software license agreement.
  5514. //
  5515. // Please obtain a copy of the License at
  5516. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5517. //
  5518. // The Original Code and all software distributed under the License are
  5519. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5520. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5521. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5522. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5523. // Please see the License for the specific language governing rights and
  5524. // limitations under the License.
  5525. //
  5526. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5527. type Ct_rune_t = X__darwin_ct_rune_t /* _ct_rune_t.h:32:28 */
  5528. // Copyright (c) 2012 Apple Inc. All rights reserved.
  5529. //
  5530. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5531. //
  5532. // This file contains Original Code and/or Modifications of Original Code
  5533. // as defined in and that are subject to the Apple Public Source License
  5534. // Version 2.0 (the 'License'). You may not use this file except in
  5535. // compliance with the License. The rights granted to you under the License
  5536. // may not be used to create, or enable the creation or redistribution of,
  5537. // unlawful or unlicensed copies of an Apple operating system, or to
  5538. // circumvent, violate, or enable the circumvention or violation of, any
  5539. // terms of an Apple operating system software license agreement.
  5540. //
  5541. // Please obtain a copy of the License at
  5542. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5543. //
  5544. // The Original Code and all software distributed under the License are
  5545. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5546. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5547. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5548. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5549. // Please see the License for the specific language governing rights and
  5550. // limitations under the License.
  5551. //
  5552. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5553. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5554. //
  5555. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5556. //
  5557. // This file contains Original Code and/or Modifications of Original Code
  5558. // as defined in and that are subject to the Apple Public Source License
  5559. // Version 2.0 (the 'License'). You may not use this file except in
  5560. // compliance with the License. The rights granted to you under the License
  5561. // may not be used to create, or enable the creation or redistribution of,
  5562. // unlawful or unlicensed copies of an Apple operating system, or to
  5563. // circumvent, violate, or enable the circumvention or violation of, any
  5564. // terms of an Apple operating system software license agreement.
  5565. //
  5566. // Please obtain a copy of the License at
  5567. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5568. //
  5569. // The Original Code and all software distributed under the License are
  5570. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5571. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5572. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5573. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5574. // Please see the License for the specific language governing rights and
  5575. // limitations under the License.
  5576. //
  5577. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5578. type Rune_t = X__darwin_rune_t /* _rune_t.h:31:25 */
  5579. type Div_t = struct {
  5580. Fquot int32
  5581. Frem int32
  5582. } /* stdlib.h:86:3 */
  5583. type Ldiv_t = struct {
  5584. Fquot int64
  5585. Frem int64
  5586. } /* stdlib.h:91:3 */
  5587. type Lldiv_t = struct {
  5588. Fquot int64
  5589. Frem int64
  5590. } /* stdlib.h:97:3 */
  5591. // Copyright (c) 2000-2007 Apple Inc. All rights reserved.
  5592. //
  5593. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5594. //
  5595. // This file contains Original Code and/or Modifications of Original Code
  5596. // as defined in and that are subject to the Apple Public Source License
  5597. // Version 2.0 (the 'License'). You may not use this file except in
  5598. // compliance with the License. The rights granted to you under the License
  5599. // may not be used to create, or enable the creation or redistribution of,
  5600. // unlawful or unlicensed copies of an Apple operating system, or to
  5601. // circumvent, violate, or enable the circumvention or violation of, any
  5602. // terms of an Apple operating system software license agreement.
  5603. //
  5604. // Please obtain a copy of the License at
  5605. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5606. //
  5607. // The Original Code and all software distributed under the License are
  5608. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5609. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5610. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5611. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5612. // Please see the License for the specific language governing rights and
  5613. // limitations under the License.
  5614. //
  5615. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5616. // Copyright 1995 NeXT Computer, Inc. All rights reserved.
  5617. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5618. //
  5619. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5620. //
  5621. // This file contains Original Code and/or Modifications of Original Code
  5622. // as defined in and that are subject to the Apple Public Source License
  5623. // Version 2.0 (the 'License'). You may not use this file except in
  5624. // compliance with the License. The rights granted to you under the License
  5625. // may not be used to create, or enable the creation or redistribution of,
  5626. // unlawful or unlicensed copies of an Apple operating system, or to
  5627. // circumvent, violate, or enable the circumvention or violation of, any
  5628. // terms of an Apple operating system software license agreement.
  5629. //
  5630. // Please obtain a copy of the License at
  5631. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5632. //
  5633. // The Original Code and all software distributed under the License are
  5634. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5635. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5636. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5637. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5638. // Please see the License for the specific language governing rights and
  5639. // limitations under the License.
  5640. //
  5641. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5642. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5643. //
  5644. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5645. //
  5646. // This file contains Original Code and/or Modifications of Original Code
  5647. // as defined in and that are subject to the Apple Public Source License
  5648. // Version 2.0 (the 'License'). You may not use this file except in
  5649. // compliance with the License. The rights granted to you under the License
  5650. // may not be used to create, or enable the creation or redistribution of,
  5651. // unlawful or unlicensed copies of an Apple operating system, or to
  5652. // circumvent, violate, or enable the circumvention or violation of, any
  5653. // terms of an Apple operating system software license agreement.
  5654. //
  5655. // Please obtain a copy of the License at
  5656. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5657. //
  5658. // The Original Code and all software distributed under the License are
  5659. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5660. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5661. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5662. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5663. // Please see the License for the specific language governing rights and
  5664. // limitations under the License.
  5665. //
  5666. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5667. type Dev_t = X__darwin_dev_t /* _dev_t.h:31:31 */ // device number
  5668. // Copyright (c) 2003-2012 Apple Inc. All rights reserved.
  5669. //
  5670. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5671. //
  5672. // This file contains Original Code and/or Modifications of Original Code
  5673. // as defined in and that are subject to the Apple Public Source License
  5674. // Version 2.0 (the 'License'). You may not use this file except in
  5675. // compliance with the License. The rights granted to you under the License
  5676. // may not be used to create, or enable the creation or redistribution of,
  5677. // unlawful or unlicensed copies of an Apple operating system, or to
  5678. // circumvent, violate, or enable the circumvention or violation of, any
  5679. // terms of an Apple operating system software license agreement.
  5680. //
  5681. // Please obtain a copy of the License at
  5682. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5683. //
  5684. // The Original Code and all software distributed under the License are
  5685. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5686. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5687. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5688. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5689. // Please see the License for the specific language governing rights and
  5690. // limitations under the License.
  5691. //
  5692. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5693. // Copyright (c) 2003-2007 Apple Inc. All rights reserved.
  5694. //
  5695. // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  5696. //
  5697. // This file contains Original Code and/or Modifications of Original Code
  5698. // as defined in and that are subject to the Apple Public Source License
  5699. // Version 2.0 (the 'License'). You may not use this file except in
  5700. // compliance with the License. The rights granted to you under the License
  5701. // may not be used to create, or enable the creation or redistribution of,
  5702. // unlawful or unlicensed copies of an Apple operating system, or to
  5703. // circumvent, violate, or enable the circumvention or violation of, any
  5704. // terms of an Apple operating system software license agreement.
  5705. //
  5706. // Please obtain a copy of the License at
  5707. // http://www.opensource.apple.com/apsl/ and read it before using this file.
  5708. //
  5709. // The Original Code and all software distributed under the License are
  5710. // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  5711. // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  5712. // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  5713. // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  5714. // Please see the License for the specific language governing rights and
  5715. // limitations under the License.
  5716. //
  5717. // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  5718. type Mode_t = X__darwin_mode_t /* _mode_t.h:31:33 */ // getsubopt(3) external variable
  5719. // valloc is now declared in _malloc.h
  5720. // Poison the following routines if -fshort-wchar is set
  5721. var _ int8 /* gen.c:2:13: */