libc.info-8 326 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277
  1. This is libc.info, produced by makeinfo version 6.5 from libc.texinfo.
  2. This is ‘The GNU C Library Reference Manual’, for version 2.33 (GNU).
  3. Copyright © 1993–2021 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3 or
  6. any later version published by the Free Software Foundation; with the
  7. Invariant Sections being “Free Software Needs Free Documentation” and
  8. “GNU Lesser General Public License”, the Front-Cover texts being “A GNU
  9. Manual”, and with the Back-Cover Texts as in (a) below. A copy of the
  10. license is included in the section entitled "GNU Free Documentation
  11. License".
  12. (a) The FSF’s Back-Cover Text is: “You have the freedom to copy and
  13. modify this GNU manual. Buying copies from the FSF supports it in
  14. developing GNU and promoting software freedom.”
  15. INFO-DIR-SECTION Software libraries
  16. START-INFO-DIR-ENTRY
  17. * Libc: (libc). C library.
  18. END-INFO-DIR-ENTRY
  19. INFO-DIR-SECTION GNU C library functions and macros
  20. START-INFO-DIR-ENTRY
  21. * ALTWERASE: (libc)Local Modes.
  22. * ARGP_ERR_UNKNOWN: (libc)Argp Parser Functions.
  23. * ARG_MAX: (libc)General Limits.
  24. * BC_BASE_MAX: (libc)Utility Limits.
  25. * BC_DIM_MAX: (libc)Utility Limits.
  26. * BC_SCALE_MAX: (libc)Utility Limits.
  27. * BC_STRING_MAX: (libc)Utility Limits.
  28. * BRKINT: (libc)Input Modes.
  29. * BUFSIZ: (libc)Controlling Buffering.
  30. * CCTS_OFLOW: (libc)Control Modes.
  31. * CHAR_BIT: (libc)Width of Type.
  32. * CHILD_MAX: (libc)General Limits.
  33. * CIGNORE: (libc)Control Modes.
  34. * CLK_TCK: (libc)Processor Time.
  35. * CLOCAL: (libc)Control Modes.
  36. * CLOCKS_PER_SEC: (libc)CPU Time.
  37. * CLOCK_MONOTONIC: (libc)Getting the Time.
  38. * CLOCK_REALTIME: (libc)Getting the Time.
  39. * COLL_WEIGHTS_MAX: (libc)Utility Limits.
  40. * CPU_CLR: (libc)CPU Affinity.
  41. * CPU_FEATURE_USABLE: (libc)X86.
  42. * CPU_ISSET: (libc)CPU Affinity.
  43. * CPU_SET: (libc)CPU Affinity.
  44. * CPU_SETSIZE: (libc)CPU Affinity.
  45. * CPU_ZERO: (libc)CPU Affinity.
  46. * CREAD: (libc)Control Modes.
  47. * CRTS_IFLOW: (libc)Control Modes.
  48. * CS5: (libc)Control Modes.
  49. * CS6: (libc)Control Modes.
  50. * CS7: (libc)Control Modes.
  51. * CS8: (libc)Control Modes.
  52. * CSIZE: (libc)Control Modes.
  53. * CSTOPB: (libc)Control Modes.
  54. * DTTOIF: (libc)Directory Entries.
  55. * E2BIG: (libc)Error Codes.
  56. * EACCES: (libc)Error Codes.
  57. * EADDRINUSE: (libc)Error Codes.
  58. * EADDRNOTAVAIL: (libc)Error Codes.
  59. * EADV: (libc)Error Codes.
  60. * EAFNOSUPPORT: (libc)Error Codes.
  61. * EAGAIN: (libc)Error Codes.
  62. * EALREADY: (libc)Error Codes.
  63. * EAUTH: (libc)Error Codes.
  64. * EBACKGROUND: (libc)Error Codes.
  65. * EBADE: (libc)Error Codes.
  66. * EBADF: (libc)Error Codes.
  67. * EBADFD: (libc)Error Codes.
  68. * EBADMSG: (libc)Error Codes.
  69. * EBADR: (libc)Error Codes.
  70. * EBADRPC: (libc)Error Codes.
  71. * EBADRQC: (libc)Error Codes.
  72. * EBADSLT: (libc)Error Codes.
  73. * EBFONT: (libc)Error Codes.
  74. * EBUSY: (libc)Error Codes.
  75. * ECANCELED: (libc)Error Codes.
  76. * ECHILD: (libc)Error Codes.
  77. * ECHO: (libc)Local Modes.
  78. * ECHOCTL: (libc)Local Modes.
  79. * ECHOE: (libc)Local Modes.
  80. * ECHOK: (libc)Local Modes.
  81. * ECHOKE: (libc)Local Modes.
  82. * ECHONL: (libc)Local Modes.
  83. * ECHOPRT: (libc)Local Modes.
  84. * ECHRNG: (libc)Error Codes.
  85. * ECOMM: (libc)Error Codes.
  86. * ECONNABORTED: (libc)Error Codes.
  87. * ECONNREFUSED: (libc)Error Codes.
  88. * ECONNRESET: (libc)Error Codes.
  89. * ED: (libc)Error Codes.
  90. * EDEADLK: (libc)Error Codes.
  91. * EDEADLOCK: (libc)Error Codes.
  92. * EDESTADDRREQ: (libc)Error Codes.
  93. * EDIED: (libc)Error Codes.
  94. * EDOM: (libc)Error Codes.
  95. * EDOTDOT: (libc)Error Codes.
  96. * EDQUOT: (libc)Error Codes.
  97. * EEXIST: (libc)Error Codes.
  98. * EFAULT: (libc)Error Codes.
  99. * EFBIG: (libc)Error Codes.
  100. * EFTYPE: (libc)Error Codes.
  101. * EGRATUITOUS: (libc)Error Codes.
  102. * EGREGIOUS: (libc)Error Codes.
  103. * EHOSTDOWN: (libc)Error Codes.
  104. * EHOSTUNREACH: (libc)Error Codes.
  105. * EHWPOISON: (libc)Error Codes.
  106. * EIDRM: (libc)Error Codes.
  107. * EIEIO: (libc)Error Codes.
  108. * EILSEQ: (libc)Error Codes.
  109. * EINPROGRESS: (libc)Error Codes.
  110. * EINTR: (libc)Error Codes.
  111. * EINVAL: (libc)Error Codes.
  112. * EIO: (libc)Error Codes.
  113. * EISCONN: (libc)Error Codes.
  114. * EISDIR: (libc)Error Codes.
  115. * EISNAM: (libc)Error Codes.
  116. * EKEYEXPIRED: (libc)Error Codes.
  117. * EKEYREJECTED: (libc)Error Codes.
  118. * EKEYREVOKED: (libc)Error Codes.
  119. * EL2HLT: (libc)Error Codes.
  120. * EL2NSYNC: (libc)Error Codes.
  121. * EL3HLT: (libc)Error Codes.
  122. * EL3RST: (libc)Error Codes.
  123. * ELIBACC: (libc)Error Codes.
  124. * ELIBBAD: (libc)Error Codes.
  125. * ELIBEXEC: (libc)Error Codes.
  126. * ELIBMAX: (libc)Error Codes.
  127. * ELIBSCN: (libc)Error Codes.
  128. * ELNRNG: (libc)Error Codes.
  129. * ELOOP: (libc)Error Codes.
  130. * EMEDIUMTYPE: (libc)Error Codes.
  131. * EMFILE: (libc)Error Codes.
  132. * EMLINK: (libc)Error Codes.
  133. * EMSGSIZE: (libc)Error Codes.
  134. * EMULTIHOP: (libc)Error Codes.
  135. * ENAMETOOLONG: (libc)Error Codes.
  136. * ENAVAIL: (libc)Error Codes.
  137. * ENEEDAUTH: (libc)Error Codes.
  138. * ENETDOWN: (libc)Error Codes.
  139. * ENETRESET: (libc)Error Codes.
  140. * ENETUNREACH: (libc)Error Codes.
  141. * ENFILE: (libc)Error Codes.
  142. * ENOANO: (libc)Error Codes.
  143. * ENOBUFS: (libc)Error Codes.
  144. * ENOCSI: (libc)Error Codes.
  145. * ENODATA: (libc)Error Codes.
  146. * ENODEV: (libc)Error Codes.
  147. * ENOENT: (libc)Error Codes.
  148. * ENOEXEC: (libc)Error Codes.
  149. * ENOKEY: (libc)Error Codes.
  150. * ENOLCK: (libc)Error Codes.
  151. * ENOLINK: (libc)Error Codes.
  152. * ENOMEDIUM: (libc)Error Codes.
  153. * ENOMEM: (libc)Error Codes.
  154. * ENOMSG: (libc)Error Codes.
  155. * ENONET: (libc)Error Codes.
  156. * ENOPKG: (libc)Error Codes.
  157. * ENOPROTOOPT: (libc)Error Codes.
  158. * ENOSPC: (libc)Error Codes.
  159. * ENOSR: (libc)Error Codes.
  160. * ENOSTR: (libc)Error Codes.
  161. * ENOSYS: (libc)Error Codes.
  162. * ENOTBLK: (libc)Error Codes.
  163. * ENOTCONN: (libc)Error Codes.
  164. * ENOTDIR: (libc)Error Codes.
  165. * ENOTEMPTY: (libc)Error Codes.
  166. * ENOTNAM: (libc)Error Codes.
  167. * ENOTRECOVERABLE: (libc)Error Codes.
  168. * ENOTSOCK: (libc)Error Codes.
  169. * ENOTSUP: (libc)Error Codes.
  170. * ENOTTY: (libc)Error Codes.
  171. * ENOTUNIQ: (libc)Error Codes.
  172. * ENXIO: (libc)Error Codes.
  173. * EOF: (libc)EOF and Errors.
  174. * EOPNOTSUPP: (libc)Error Codes.
  175. * EOVERFLOW: (libc)Error Codes.
  176. * EOWNERDEAD: (libc)Error Codes.
  177. * EPERM: (libc)Error Codes.
  178. * EPFNOSUPPORT: (libc)Error Codes.
  179. * EPIPE: (libc)Error Codes.
  180. * EPROCLIM: (libc)Error Codes.
  181. * EPROCUNAVAIL: (libc)Error Codes.
  182. * EPROGMISMATCH: (libc)Error Codes.
  183. * EPROGUNAVAIL: (libc)Error Codes.
  184. * EPROTO: (libc)Error Codes.
  185. * EPROTONOSUPPORT: (libc)Error Codes.
  186. * EPROTOTYPE: (libc)Error Codes.
  187. * EQUIV_CLASS_MAX: (libc)Utility Limits.
  188. * ERANGE: (libc)Error Codes.
  189. * EREMCHG: (libc)Error Codes.
  190. * EREMOTE: (libc)Error Codes.
  191. * EREMOTEIO: (libc)Error Codes.
  192. * ERESTART: (libc)Error Codes.
  193. * ERFKILL: (libc)Error Codes.
  194. * EROFS: (libc)Error Codes.
  195. * ERPCMISMATCH: (libc)Error Codes.
  196. * ESHUTDOWN: (libc)Error Codes.
  197. * ESOCKTNOSUPPORT: (libc)Error Codes.
  198. * ESPIPE: (libc)Error Codes.
  199. * ESRCH: (libc)Error Codes.
  200. * ESRMNT: (libc)Error Codes.
  201. * ESTALE: (libc)Error Codes.
  202. * ESTRPIPE: (libc)Error Codes.
  203. * ETIME: (libc)Error Codes.
  204. * ETIMEDOUT: (libc)Error Codes.
  205. * ETOOMANYREFS: (libc)Error Codes.
  206. * ETXTBSY: (libc)Error Codes.
  207. * EUCLEAN: (libc)Error Codes.
  208. * EUNATCH: (libc)Error Codes.
  209. * EUSERS: (libc)Error Codes.
  210. * EWOULDBLOCK: (libc)Error Codes.
  211. * EXDEV: (libc)Error Codes.
  212. * EXFULL: (libc)Error Codes.
  213. * EXIT_FAILURE: (libc)Exit Status.
  214. * EXIT_SUCCESS: (libc)Exit Status.
  215. * EXPR_NEST_MAX: (libc)Utility Limits.
  216. * FD_CLOEXEC: (libc)Descriptor Flags.
  217. * FD_CLR: (libc)Waiting for I/O.
  218. * FD_ISSET: (libc)Waiting for I/O.
  219. * FD_SET: (libc)Waiting for I/O.
  220. * FD_SETSIZE: (libc)Waiting for I/O.
  221. * FD_ZERO: (libc)Waiting for I/O.
  222. * FE_SNANS_ALWAYS_SIGNAL: (libc)Infinity and NaN.
  223. * FILENAME_MAX: (libc)Limits for Files.
  224. * FLUSHO: (libc)Local Modes.
  225. * FOPEN_MAX: (libc)Opening Streams.
  226. * FP_ILOGB0: (libc)Exponents and Logarithms.
  227. * FP_ILOGBNAN: (libc)Exponents and Logarithms.
  228. * FP_LLOGB0: (libc)Exponents and Logarithms.
  229. * FP_LLOGBNAN: (libc)Exponents and Logarithms.
  230. * F_DUPFD: (libc)Duplicating Descriptors.
  231. * F_GETFD: (libc)Descriptor Flags.
  232. * F_GETFL: (libc)Getting File Status Flags.
  233. * F_GETLK: (libc)File Locks.
  234. * F_GETOWN: (libc)Interrupt Input.
  235. * F_OFD_GETLK: (libc)Open File Description Locks.
  236. * F_OFD_SETLK: (libc)Open File Description Locks.
  237. * F_OFD_SETLKW: (libc)Open File Description Locks.
  238. * F_OK: (libc)Testing File Access.
  239. * F_SETFD: (libc)Descriptor Flags.
  240. * F_SETFL: (libc)Getting File Status Flags.
  241. * F_SETLK: (libc)File Locks.
  242. * F_SETLKW: (libc)File Locks.
  243. * F_SETOWN: (libc)Interrupt Input.
  244. * HAS_CPU_FEATURE: (libc)X86.
  245. * HUGE_VAL: (libc)Math Error Reporting.
  246. * HUGE_VALF: (libc)Math Error Reporting.
  247. * HUGE_VALL: (libc)Math Error Reporting.
  248. * HUGE_VAL_FN: (libc)Math Error Reporting.
  249. * HUGE_VAL_FNx: (libc)Math Error Reporting.
  250. * HUPCL: (libc)Control Modes.
  251. * I: (libc)Complex Numbers.
  252. * ICANON: (libc)Local Modes.
  253. * ICRNL: (libc)Input Modes.
  254. * IEXTEN: (libc)Local Modes.
  255. * IFNAMSIZ: (libc)Interface Naming.
  256. * IFTODT: (libc)Directory Entries.
  257. * IGNBRK: (libc)Input Modes.
  258. * IGNCR: (libc)Input Modes.
  259. * IGNPAR: (libc)Input Modes.
  260. * IMAXBEL: (libc)Input Modes.
  261. * INADDR_ANY: (libc)Host Address Data Type.
  262. * INADDR_BROADCAST: (libc)Host Address Data Type.
  263. * INADDR_LOOPBACK: (libc)Host Address Data Type.
  264. * INADDR_NONE: (libc)Host Address Data Type.
  265. * INFINITY: (libc)Infinity and NaN.
  266. * INLCR: (libc)Input Modes.
  267. * INPCK: (libc)Input Modes.
  268. * IPPORT_RESERVED: (libc)Ports.
  269. * IPPORT_USERRESERVED: (libc)Ports.
  270. * ISIG: (libc)Local Modes.
  271. * ISTRIP: (libc)Input Modes.
  272. * IXANY: (libc)Input Modes.
  273. * IXOFF: (libc)Input Modes.
  274. * IXON: (libc)Input Modes.
  275. * LINE_MAX: (libc)Utility Limits.
  276. * LINK_MAX: (libc)Limits for Files.
  277. * L_ctermid: (libc)Identifying the Terminal.
  278. * L_cuserid: (libc)Who Logged In.
  279. * L_tmpnam: (libc)Temporary Files.
  280. * MAXNAMLEN: (libc)Limits for Files.
  281. * MAXSYMLINKS: (libc)Symbolic Links.
  282. * MAX_CANON: (libc)Limits for Files.
  283. * MAX_INPUT: (libc)Limits for Files.
  284. * MB_CUR_MAX: (libc)Selecting the Conversion.
  285. * MB_LEN_MAX: (libc)Selecting the Conversion.
  286. * MDMBUF: (libc)Control Modes.
  287. * MSG_DONTROUTE: (libc)Socket Data Options.
  288. * MSG_OOB: (libc)Socket Data Options.
  289. * MSG_PEEK: (libc)Socket Data Options.
  290. * NAME_MAX: (libc)Limits for Files.
  291. * NAN: (libc)Infinity and NaN.
  292. * NCCS: (libc)Mode Data Types.
  293. * NGROUPS_MAX: (libc)General Limits.
  294. * NOFLSH: (libc)Local Modes.
  295. * NOKERNINFO: (libc)Local Modes.
  296. * NSIG: (libc)Standard Signals.
  297. * NULL: (libc)Null Pointer Constant.
  298. * ONLCR: (libc)Output Modes.
  299. * ONOEOT: (libc)Output Modes.
  300. * OPEN_MAX: (libc)General Limits.
  301. * OPOST: (libc)Output Modes.
  302. * OXTABS: (libc)Output Modes.
  303. * O_ACCMODE: (libc)Access Modes.
  304. * O_APPEND: (libc)Operating Modes.
  305. * O_ASYNC: (libc)Operating Modes.
  306. * O_CREAT: (libc)Open-time Flags.
  307. * O_DIRECTORY: (libc)Open-time Flags.
  308. * O_EXCL: (libc)Open-time Flags.
  309. * O_EXEC: (libc)Access Modes.
  310. * O_EXLOCK: (libc)Open-time Flags.
  311. * O_FSYNC: (libc)Operating Modes.
  312. * O_IGNORE_CTTY: (libc)Open-time Flags.
  313. * O_NDELAY: (libc)Operating Modes.
  314. * O_NOATIME: (libc)Operating Modes.
  315. * O_NOCTTY: (libc)Open-time Flags.
  316. * O_NOFOLLOW: (libc)Open-time Flags.
  317. * O_NOLINK: (libc)Open-time Flags.
  318. * O_NONBLOCK: (libc)Open-time Flags.
  319. * O_NONBLOCK: (libc)Operating Modes.
  320. * O_NOTRANS: (libc)Open-time Flags.
  321. * O_PATH: (libc)Access Modes.
  322. * O_RDONLY: (libc)Access Modes.
  323. * O_RDWR: (libc)Access Modes.
  324. * O_READ: (libc)Access Modes.
  325. * O_SHLOCK: (libc)Open-time Flags.
  326. * O_SYNC: (libc)Operating Modes.
  327. * O_TMPFILE: (libc)Open-time Flags.
  328. * O_TRUNC: (libc)Open-time Flags.
  329. * O_WRITE: (libc)Access Modes.
  330. * O_WRONLY: (libc)Access Modes.
  331. * PARENB: (libc)Control Modes.
  332. * PARMRK: (libc)Input Modes.
  333. * PARODD: (libc)Control Modes.
  334. * PATH_MAX: (libc)Limits for Files.
  335. * PA_FLAG_MASK: (libc)Parsing a Template String.
  336. * PENDIN: (libc)Local Modes.
  337. * PF_FILE: (libc)Local Namespace Details.
  338. * PF_INET6: (libc)Internet Namespace.
  339. * PF_INET: (libc)Internet Namespace.
  340. * PF_LOCAL: (libc)Local Namespace Details.
  341. * PF_UNIX: (libc)Local Namespace Details.
  342. * PIPE_BUF: (libc)Limits for Files.
  343. * PTHREAD_ATTR_NO_SIGMASK_NP: (libc)Initial Thread Signal Mask.
  344. * P_tmpdir: (libc)Temporary Files.
  345. * RAND_MAX: (libc)ISO Random.
  346. * RE_DUP_MAX: (libc)General Limits.
  347. * RLIM_INFINITY: (libc)Limits on Resources.
  348. * R_OK: (libc)Testing File Access.
  349. * SA_NOCLDSTOP: (libc)Flags for Sigaction.
  350. * SA_ONSTACK: (libc)Flags for Sigaction.
  351. * SA_RESTART: (libc)Flags for Sigaction.
  352. * SEEK_CUR: (libc)File Positioning.
  353. * SEEK_END: (libc)File Positioning.
  354. * SEEK_SET: (libc)File Positioning.
  355. * SIGABRT: (libc)Program Error Signals.
  356. * SIGALRM: (libc)Alarm Signals.
  357. * SIGBUS: (libc)Program Error Signals.
  358. * SIGCHLD: (libc)Job Control Signals.
  359. * SIGCLD: (libc)Job Control Signals.
  360. * SIGCONT: (libc)Job Control Signals.
  361. * SIGEMT: (libc)Program Error Signals.
  362. * SIGFPE: (libc)Program Error Signals.
  363. * SIGHUP: (libc)Termination Signals.
  364. * SIGILL: (libc)Program Error Signals.
  365. * SIGINFO: (libc)Miscellaneous Signals.
  366. * SIGINT: (libc)Termination Signals.
  367. * SIGIO: (libc)Asynchronous I/O Signals.
  368. * SIGIOT: (libc)Program Error Signals.
  369. * SIGKILL: (libc)Termination Signals.
  370. * SIGLOST: (libc)Operation Error Signals.
  371. * SIGPIPE: (libc)Operation Error Signals.
  372. * SIGPOLL: (libc)Asynchronous I/O Signals.
  373. * SIGPROF: (libc)Alarm Signals.
  374. * SIGQUIT: (libc)Termination Signals.
  375. * SIGSEGV: (libc)Program Error Signals.
  376. * SIGSTOP: (libc)Job Control Signals.
  377. * SIGSYS: (libc)Program Error Signals.
  378. * SIGTERM: (libc)Termination Signals.
  379. * SIGTRAP: (libc)Program Error Signals.
  380. * SIGTSTP: (libc)Job Control Signals.
  381. * SIGTTIN: (libc)Job Control Signals.
  382. * SIGTTOU: (libc)Job Control Signals.
  383. * SIGURG: (libc)Asynchronous I/O Signals.
  384. * SIGUSR1: (libc)Miscellaneous Signals.
  385. * SIGUSR2: (libc)Miscellaneous Signals.
  386. * SIGVTALRM: (libc)Alarm Signals.
  387. * SIGWINCH: (libc)Miscellaneous Signals.
  388. * SIGXCPU: (libc)Operation Error Signals.
  389. * SIGXFSZ: (libc)Operation Error Signals.
  390. * SIG_ERR: (libc)Basic Signal Handling.
  391. * SNAN: (libc)Infinity and NaN.
  392. * SNANF: (libc)Infinity and NaN.
  393. * SNANFN: (libc)Infinity and NaN.
  394. * SNANFNx: (libc)Infinity and NaN.
  395. * SNANL: (libc)Infinity and NaN.
  396. * SOCK_DGRAM: (libc)Communication Styles.
  397. * SOCK_RAW: (libc)Communication Styles.
  398. * SOCK_RDM: (libc)Communication Styles.
  399. * SOCK_SEQPACKET: (libc)Communication Styles.
  400. * SOCK_STREAM: (libc)Communication Styles.
  401. * SOL_SOCKET: (libc)Socket-Level Options.
  402. * SSIZE_MAX: (libc)General Limits.
  403. * STREAM_MAX: (libc)General Limits.
  404. * SUN_LEN: (libc)Local Namespace Details.
  405. * S_IFMT: (libc)Testing File Type.
  406. * S_ISBLK: (libc)Testing File Type.
  407. * S_ISCHR: (libc)Testing File Type.
  408. * S_ISDIR: (libc)Testing File Type.
  409. * S_ISFIFO: (libc)Testing File Type.
  410. * S_ISLNK: (libc)Testing File Type.
  411. * S_ISREG: (libc)Testing File Type.
  412. * S_ISSOCK: (libc)Testing File Type.
  413. * S_TYPEISMQ: (libc)Testing File Type.
  414. * S_TYPEISSEM: (libc)Testing File Type.
  415. * S_TYPEISSHM: (libc)Testing File Type.
  416. * TMP_MAX: (libc)Temporary Files.
  417. * TOSTOP: (libc)Local Modes.
  418. * TZNAME_MAX: (libc)General Limits.
  419. * VDISCARD: (libc)Other Special.
  420. * VDSUSP: (libc)Signal Characters.
  421. * VEOF: (libc)Editing Characters.
  422. * VEOL2: (libc)Editing Characters.
  423. * VEOL: (libc)Editing Characters.
  424. * VERASE: (libc)Editing Characters.
  425. * VINTR: (libc)Signal Characters.
  426. * VKILL: (libc)Editing Characters.
  427. * VLNEXT: (libc)Other Special.
  428. * VMIN: (libc)Noncanonical Input.
  429. * VQUIT: (libc)Signal Characters.
  430. * VREPRINT: (libc)Editing Characters.
  431. * VSTART: (libc)Start/Stop Characters.
  432. * VSTATUS: (libc)Other Special.
  433. * VSTOP: (libc)Start/Stop Characters.
  434. * VSUSP: (libc)Signal Characters.
  435. * VTIME: (libc)Noncanonical Input.
  436. * VWERASE: (libc)Editing Characters.
  437. * WCHAR_MAX: (libc)Extended Char Intro.
  438. * WCHAR_MIN: (libc)Extended Char Intro.
  439. * WCOREDUMP: (libc)Process Completion Status.
  440. * WEOF: (libc)EOF and Errors.
  441. * WEOF: (libc)Extended Char Intro.
  442. * WEXITSTATUS: (libc)Process Completion Status.
  443. * WIFEXITED: (libc)Process Completion Status.
  444. * WIFSIGNALED: (libc)Process Completion Status.
  445. * WIFSTOPPED: (libc)Process Completion Status.
  446. * WSTOPSIG: (libc)Process Completion Status.
  447. * WTERMSIG: (libc)Process Completion Status.
  448. * W_OK: (libc)Testing File Access.
  449. * X_OK: (libc)Testing File Access.
  450. * _Complex_I: (libc)Complex Numbers.
  451. * _Exit: (libc)Termination Internals.
  452. * _IOFBF: (libc)Controlling Buffering.
  453. * _IOLBF: (libc)Controlling Buffering.
  454. * _IONBF: (libc)Controlling Buffering.
  455. * _Imaginary_I: (libc)Complex Numbers.
  456. * _PATH_UTMP: (libc)Manipulating the Database.
  457. * _PATH_WTMP: (libc)Manipulating the Database.
  458. * _POSIX2_C_DEV: (libc)System Options.
  459. * _POSIX2_C_VERSION: (libc)Version Supported.
  460. * _POSIX2_FORT_DEV: (libc)System Options.
  461. * _POSIX2_FORT_RUN: (libc)System Options.
  462. * _POSIX2_LOCALEDEF: (libc)System Options.
  463. * _POSIX2_SW_DEV: (libc)System Options.
  464. * _POSIX_CHOWN_RESTRICTED: (libc)Options for Files.
  465. * _POSIX_JOB_CONTROL: (libc)System Options.
  466. * _POSIX_NO_TRUNC: (libc)Options for Files.
  467. * _POSIX_SAVED_IDS: (libc)System Options.
  468. * _POSIX_VDISABLE: (libc)Options for Files.
  469. * _POSIX_VERSION: (libc)Version Supported.
  470. * __fbufsize: (libc)Controlling Buffering.
  471. * __flbf: (libc)Controlling Buffering.
  472. * __fpending: (libc)Controlling Buffering.
  473. * __fpurge: (libc)Flushing Buffers.
  474. * __freadable: (libc)Opening Streams.
  475. * __freading: (libc)Opening Streams.
  476. * __fsetlocking: (libc)Streams and Threads.
  477. * __fwritable: (libc)Opening Streams.
  478. * __fwriting: (libc)Opening Streams.
  479. * __gconv_end_fct: (libc)glibc iconv Implementation.
  480. * __gconv_fct: (libc)glibc iconv Implementation.
  481. * __gconv_init_fct: (libc)glibc iconv Implementation.
  482. * __ppc_get_timebase: (libc)PowerPC.
  483. * __ppc_get_timebase_freq: (libc)PowerPC.
  484. * __ppc_mdoio: (libc)PowerPC.
  485. * __ppc_mdoom: (libc)PowerPC.
  486. * __ppc_set_ppr_low: (libc)PowerPC.
  487. * __ppc_set_ppr_med: (libc)PowerPC.
  488. * __ppc_set_ppr_med_high: (libc)PowerPC.
  489. * __ppc_set_ppr_med_low: (libc)PowerPC.
  490. * __ppc_set_ppr_very_low: (libc)PowerPC.
  491. * __ppc_yield: (libc)PowerPC.
  492. * __riscv_flush_icache: (libc)RISC-V.
  493. * __va_copy: (libc)Argument Macros.
  494. * __x86_get_cpuid_feature_leaf: (libc)X86.
  495. * _exit: (libc)Termination Internals.
  496. * _flushlbf: (libc)Flushing Buffers.
  497. * _tolower: (libc)Case Conversion.
  498. * _toupper: (libc)Case Conversion.
  499. * a64l: (libc)Encode Binary Data.
  500. * abort: (libc)Aborting a Program.
  501. * abs: (libc)Absolute Value.
  502. * accept: (libc)Accepting Connections.
  503. * access: (libc)Testing File Access.
  504. * acos: (libc)Inverse Trig Functions.
  505. * acosf: (libc)Inverse Trig Functions.
  506. * acosfN: (libc)Inverse Trig Functions.
  507. * acosfNx: (libc)Inverse Trig Functions.
  508. * acosh: (libc)Hyperbolic Functions.
  509. * acoshf: (libc)Hyperbolic Functions.
  510. * acoshfN: (libc)Hyperbolic Functions.
  511. * acoshfNx: (libc)Hyperbolic Functions.
  512. * acoshl: (libc)Hyperbolic Functions.
  513. * acosl: (libc)Inverse Trig Functions.
  514. * addmntent: (libc)mtab.
  515. * addseverity: (libc)Adding Severity Classes.
  516. * adjtime: (libc)Setting and Adjusting the Time.
  517. * adjtimex: (libc)Setting and Adjusting the Time.
  518. * aio_cancel64: (libc)Cancel AIO Operations.
  519. * aio_cancel: (libc)Cancel AIO Operations.
  520. * aio_error64: (libc)Status of AIO Operations.
  521. * aio_error: (libc)Status of AIO Operations.
  522. * aio_fsync64: (libc)Synchronizing AIO Operations.
  523. * aio_fsync: (libc)Synchronizing AIO Operations.
  524. * aio_init: (libc)Configuration of AIO.
  525. * aio_read64: (libc)Asynchronous Reads/Writes.
  526. * aio_read: (libc)Asynchronous Reads/Writes.
  527. * aio_return64: (libc)Status of AIO Operations.
  528. * aio_return: (libc)Status of AIO Operations.
  529. * aio_suspend64: (libc)Synchronizing AIO Operations.
  530. * aio_suspend: (libc)Synchronizing AIO Operations.
  531. * aio_write64: (libc)Asynchronous Reads/Writes.
  532. * aio_write: (libc)Asynchronous Reads/Writes.
  533. * alarm: (libc)Setting an Alarm.
  534. * aligned_alloc: (libc)Aligned Memory Blocks.
  535. * alloca: (libc)Variable Size Automatic.
  536. * alphasort64: (libc)Scanning Directory Content.
  537. * alphasort: (libc)Scanning Directory Content.
  538. * argp_error: (libc)Argp Helper Functions.
  539. * argp_failure: (libc)Argp Helper Functions.
  540. * argp_help: (libc)Argp Help.
  541. * argp_parse: (libc)Argp.
  542. * argp_state_help: (libc)Argp Helper Functions.
  543. * argp_usage: (libc)Argp Helper Functions.
  544. * argz_add: (libc)Argz Functions.
  545. * argz_add_sep: (libc)Argz Functions.
  546. * argz_append: (libc)Argz Functions.
  547. * argz_count: (libc)Argz Functions.
  548. * argz_create: (libc)Argz Functions.
  549. * argz_create_sep: (libc)Argz Functions.
  550. * argz_delete: (libc)Argz Functions.
  551. * argz_extract: (libc)Argz Functions.
  552. * argz_insert: (libc)Argz Functions.
  553. * argz_next: (libc)Argz Functions.
  554. * argz_replace: (libc)Argz Functions.
  555. * argz_stringify: (libc)Argz Functions.
  556. * asctime: (libc)Formatting Calendar Time.
  557. * asctime_r: (libc)Formatting Calendar Time.
  558. * asin: (libc)Inverse Trig Functions.
  559. * asinf: (libc)Inverse Trig Functions.
  560. * asinfN: (libc)Inverse Trig Functions.
  561. * asinfNx: (libc)Inverse Trig Functions.
  562. * asinh: (libc)Hyperbolic Functions.
  563. * asinhf: (libc)Hyperbolic Functions.
  564. * asinhfN: (libc)Hyperbolic Functions.
  565. * asinhfNx: (libc)Hyperbolic Functions.
  566. * asinhl: (libc)Hyperbolic Functions.
  567. * asinl: (libc)Inverse Trig Functions.
  568. * asprintf: (libc)Dynamic Output.
  569. * assert: (libc)Consistency Checking.
  570. * assert_perror: (libc)Consistency Checking.
  571. * atan2: (libc)Inverse Trig Functions.
  572. * atan2f: (libc)Inverse Trig Functions.
  573. * atan2fN: (libc)Inverse Trig Functions.
  574. * atan2fNx: (libc)Inverse Trig Functions.
  575. * atan2l: (libc)Inverse Trig Functions.
  576. * atan: (libc)Inverse Trig Functions.
  577. * atanf: (libc)Inverse Trig Functions.
  578. * atanfN: (libc)Inverse Trig Functions.
  579. * atanfNx: (libc)Inverse Trig Functions.
  580. * atanh: (libc)Hyperbolic Functions.
  581. * atanhf: (libc)Hyperbolic Functions.
  582. * atanhfN: (libc)Hyperbolic Functions.
  583. * atanhfNx: (libc)Hyperbolic Functions.
  584. * atanhl: (libc)Hyperbolic Functions.
  585. * atanl: (libc)Inverse Trig Functions.
  586. * atexit: (libc)Cleanups on Exit.
  587. * atof: (libc)Parsing of Floats.
  588. * atoi: (libc)Parsing of Integers.
  589. * atol: (libc)Parsing of Integers.
  590. * atoll: (libc)Parsing of Integers.
  591. * backtrace: (libc)Backtraces.
  592. * backtrace_symbols: (libc)Backtraces.
  593. * backtrace_symbols_fd: (libc)Backtraces.
  594. * basename: (libc)Finding Tokens in a String.
  595. * basename: (libc)Finding Tokens in a String.
  596. * bcmp: (libc)String/Array Comparison.
  597. * bcopy: (libc)Copying Strings and Arrays.
  598. * bind: (libc)Setting Address.
  599. * bind_textdomain_codeset: (libc)Charset conversion in gettext.
  600. * bindtextdomain: (libc)Locating gettext catalog.
  601. * brk: (libc)Resizing the Data Segment.
  602. * bsearch: (libc)Array Search Function.
  603. * btowc: (libc)Converting a Character.
  604. * bzero: (libc)Copying Strings and Arrays.
  605. * cabs: (libc)Absolute Value.
  606. * cabsf: (libc)Absolute Value.
  607. * cabsfN: (libc)Absolute Value.
  608. * cabsfNx: (libc)Absolute Value.
  609. * cabsl: (libc)Absolute Value.
  610. * cacos: (libc)Inverse Trig Functions.
  611. * cacosf: (libc)Inverse Trig Functions.
  612. * cacosfN: (libc)Inverse Trig Functions.
  613. * cacosfNx: (libc)Inverse Trig Functions.
  614. * cacosh: (libc)Hyperbolic Functions.
  615. * cacoshf: (libc)Hyperbolic Functions.
  616. * cacoshfN: (libc)Hyperbolic Functions.
  617. * cacoshfNx: (libc)Hyperbolic Functions.
  618. * cacoshl: (libc)Hyperbolic Functions.
  619. * cacosl: (libc)Inverse Trig Functions.
  620. * call_once: (libc)Call Once.
  621. * calloc: (libc)Allocating Cleared Space.
  622. * canonicalize: (libc)FP Bit Twiddling.
  623. * canonicalize_file_name: (libc)Symbolic Links.
  624. * canonicalizef: (libc)FP Bit Twiddling.
  625. * canonicalizefN: (libc)FP Bit Twiddling.
  626. * canonicalizefNx: (libc)FP Bit Twiddling.
  627. * canonicalizel: (libc)FP Bit Twiddling.
  628. * carg: (libc)Operations on Complex.
  629. * cargf: (libc)Operations on Complex.
  630. * cargfN: (libc)Operations on Complex.
  631. * cargfNx: (libc)Operations on Complex.
  632. * cargl: (libc)Operations on Complex.
  633. * casin: (libc)Inverse Trig Functions.
  634. * casinf: (libc)Inverse Trig Functions.
  635. * casinfN: (libc)Inverse Trig Functions.
  636. * casinfNx: (libc)Inverse Trig Functions.
  637. * casinh: (libc)Hyperbolic Functions.
  638. * casinhf: (libc)Hyperbolic Functions.
  639. * casinhfN: (libc)Hyperbolic Functions.
  640. * casinhfNx: (libc)Hyperbolic Functions.
  641. * casinhl: (libc)Hyperbolic Functions.
  642. * casinl: (libc)Inverse Trig Functions.
  643. * catan: (libc)Inverse Trig Functions.
  644. * catanf: (libc)Inverse Trig Functions.
  645. * catanfN: (libc)Inverse Trig Functions.
  646. * catanfNx: (libc)Inverse Trig Functions.
  647. * catanh: (libc)Hyperbolic Functions.
  648. * catanhf: (libc)Hyperbolic Functions.
  649. * catanhfN: (libc)Hyperbolic Functions.
  650. * catanhfNx: (libc)Hyperbolic Functions.
  651. * catanhl: (libc)Hyperbolic Functions.
  652. * catanl: (libc)Inverse Trig Functions.
  653. * catclose: (libc)The catgets Functions.
  654. * catgets: (libc)The catgets Functions.
  655. * catopen: (libc)The catgets Functions.
  656. * cbrt: (libc)Exponents and Logarithms.
  657. * cbrtf: (libc)Exponents and Logarithms.
  658. * cbrtfN: (libc)Exponents and Logarithms.
  659. * cbrtfNx: (libc)Exponents and Logarithms.
  660. * cbrtl: (libc)Exponents and Logarithms.
  661. * ccos: (libc)Trig Functions.
  662. * ccosf: (libc)Trig Functions.
  663. * ccosfN: (libc)Trig Functions.
  664. * ccosfNx: (libc)Trig Functions.
  665. * ccosh: (libc)Hyperbolic Functions.
  666. * ccoshf: (libc)Hyperbolic Functions.
  667. * ccoshfN: (libc)Hyperbolic Functions.
  668. * ccoshfNx: (libc)Hyperbolic Functions.
  669. * ccoshl: (libc)Hyperbolic Functions.
  670. * ccosl: (libc)Trig Functions.
  671. * ceil: (libc)Rounding Functions.
  672. * ceilf: (libc)Rounding Functions.
  673. * ceilfN: (libc)Rounding Functions.
  674. * ceilfNx: (libc)Rounding Functions.
  675. * ceill: (libc)Rounding Functions.
  676. * cexp: (libc)Exponents and Logarithms.
  677. * cexpf: (libc)Exponents and Logarithms.
  678. * cexpfN: (libc)Exponents and Logarithms.
  679. * cexpfNx: (libc)Exponents and Logarithms.
  680. * cexpl: (libc)Exponents and Logarithms.
  681. * cfgetispeed: (libc)Line Speed.
  682. * cfgetospeed: (libc)Line Speed.
  683. * cfmakeraw: (libc)Noncanonical Input.
  684. * cfsetispeed: (libc)Line Speed.
  685. * cfsetospeed: (libc)Line Speed.
  686. * cfsetspeed: (libc)Line Speed.
  687. * chdir: (libc)Working Directory.
  688. * chmod: (libc)Setting Permissions.
  689. * chown: (libc)File Owner.
  690. * cimag: (libc)Operations on Complex.
  691. * cimagf: (libc)Operations on Complex.
  692. * cimagfN: (libc)Operations on Complex.
  693. * cimagfNx: (libc)Operations on Complex.
  694. * cimagl: (libc)Operations on Complex.
  695. * clearenv: (libc)Environment Access.
  696. * clearerr: (libc)Error Recovery.
  697. * clearerr_unlocked: (libc)Error Recovery.
  698. * clock: (libc)CPU Time.
  699. * clock_getres: (libc)Getting the Time.
  700. * clock_gettime: (libc)Getting the Time.
  701. * clock_settime: (libc)Setting and Adjusting the Time.
  702. * clog10: (libc)Exponents and Logarithms.
  703. * clog10f: (libc)Exponents and Logarithms.
  704. * clog10fN: (libc)Exponents and Logarithms.
  705. * clog10fNx: (libc)Exponents and Logarithms.
  706. * clog10l: (libc)Exponents and Logarithms.
  707. * clog: (libc)Exponents and Logarithms.
  708. * clogf: (libc)Exponents and Logarithms.
  709. * clogfN: (libc)Exponents and Logarithms.
  710. * clogfNx: (libc)Exponents and Logarithms.
  711. * clogl: (libc)Exponents and Logarithms.
  712. * close: (libc)Opening and Closing Files.
  713. * closedir: (libc)Reading/Closing Directory.
  714. * closelog: (libc)closelog.
  715. * cnd_broadcast: (libc)ISO C Condition Variables.
  716. * cnd_destroy: (libc)ISO C Condition Variables.
  717. * cnd_init: (libc)ISO C Condition Variables.
  718. * cnd_signal: (libc)ISO C Condition Variables.
  719. * cnd_timedwait: (libc)ISO C Condition Variables.
  720. * cnd_wait: (libc)ISO C Condition Variables.
  721. * confstr: (libc)String Parameters.
  722. * conj: (libc)Operations on Complex.
  723. * conjf: (libc)Operations on Complex.
  724. * conjfN: (libc)Operations on Complex.
  725. * conjfNx: (libc)Operations on Complex.
  726. * conjl: (libc)Operations on Complex.
  727. * connect: (libc)Connecting.
  728. * copy_file_range: (libc)Copying File Data.
  729. * copysign: (libc)FP Bit Twiddling.
  730. * copysignf: (libc)FP Bit Twiddling.
  731. * copysignfN: (libc)FP Bit Twiddling.
  732. * copysignfNx: (libc)FP Bit Twiddling.
  733. * copysignl: (libc)FP Bit Twiddling.
  734. * cos: (libc)Trig Functions.
  735. * cosf: (libc)Trig Functions.
  736. * cosfN: (libc)Trig Functions.
  737. * cosfNx: (libc)Trig Functions.
  738. * cosh: (libc)Hyperbolic Functions.
  739. * coshf: (libc)Hyperbolic Functions.
  740. * coshfN: (libc)Hyperbolic Functions.
  741. * coshfNx: (libc)Hyperbolic Functions.
  742. * coshl: (libc)Hyperbolic Functions.
  743. * cosl: (libc)Trig Functions.
  744. * cpow: (libc)Exponents and Logarithms.
  745. * cpowf: (libc)Exponents and Logarithms.
  746. * cpowfN: (libc)Exponents and Logarithms.
  747. * cpowfNx: (libc)Exponents and Logarithms.
  748. * cpowl: (libc)Exponents and Logarithms.
  749. * cproj: (libc)Operations on Complex.
  750. * cprojf: (libc)Operations on Complex.
  751. * cprojfN: (libc)Operations on Complex.
  752. * cprojfNx: (libc)Operations on Complex.
  753. * cprojl: (libc)Operations on Complex.
  754. * creal: (libc)Operations on Complex.
  755. * crealf: (libc)Operations on Complex.
  756. * crealfN: (libc)Operations on Complex.
  757. * crealfNx: (libc)Operations on Complex.
  758. * creall: (libc)Operations on Complex.
  759. * creat64: (libc)Opening and Closing Files.
  760. * creat: (libc)Opening and Closing Files.
  761. * crypt: (libc)Passphrase Storage.
  762. * crypt_r: (libc)Passphrase Storage.
  763. * csin: (libc)Trig Functions.
  764. * csinf: (libc)Trig Functions.
  765. * csinfN: (libc)Trig Functions.
  766. * csinfNx: (libc)Trig Functions.
  767. * csinh: (libc)Hyperbolic Functions.
  768. * csinhf: (libc)Hyperbolic Functions.
  769. * csinhfN: (libc)Hyperbolic Functions.
  770. * csinhfNx: (libc)Hyperbolic Functions.
  771. * csinhl: (libc)Hyperbolic Functions.
  772. * csinl: (libc)Trig Functions.
  773. * csqrt: (libc)Exponents and Logarithms.
  774. * csqrtf: (libc)Exponents and Logarithms.
  775. * csqrtfN: (libc)Exponents and Logarithms.
  776. * csqrtfNx: (libc)Exponents and Logarithms.
  777. * csqrtl: (libc)Exponents and Logarithms.
  778. * ctan: (libc)Trig Functions.
  779. * ctanf: (libc)Trig Functions.
  780. * ctanfN: (libc)Trig Functions.
  781. * ctanfNx: (libc)Trig Functions.
  782. * ctanh: (libc)Hyperbolic Functions.
  783. * ctanhf: (libc)Hyperbolic Functions.
  784. * ctanhfN: (libc)Hyperbolic Functions.
  785. * ctanhfNx: (libc)Hyperbolic Functions.
  786. * ctanhl: (libc)Hyperbolic Functions.
  787. * ctanl: (libc)Trig Functions.
  788. * ctermid: (libc)Identifying the Terminal.
  789. * ctime: (libc)Formatting Calendar Time.
  790. * ctime_r: (libc)Formatting Calendar Time.
  791. * cuserid: (libc)Who Logged In.
  792. * daddl: (libc)Misc FP Arithmetic.
  793. * dcgettext: (libc)Translation with gettext.
  794. * dcngettext: (libc)Advanced gettext functions.
  795. * ddivl: (libc)Misc FP Arithmetic.
  796. * dgettext: (libc)Translation with gettext.
  797. * difftime: (libc)Calculating Elapsed Time.
  798. * dirfd: (libc)Opening a Directory.
  799. * dirname: (libc)Finding Tokens in a String.
  800. * div: (libc)Integer Division.
  801. * dmull: (libc)Misc FP Arithmetic.
  802. * dngettext: (libc)Advanced gettext functions.
  803. * drand48: (libc)SVID Random.
  804. * drand48_r: (libc)SVID Random.
  805. * drem: (libc)Remainder Functions.
  806. * dremf: (libc)Remainder Functions.
  807. * dreml: (libc)Remainder Functions.
  808. * dsubl: (libc)Misc FP Arithmetic.
  809. * dup2: (libc)Duplicating Descriptors.
  810. * dup: (libc)Duplicating Descriptors.
  811. * ecvt: (libc)System V Number Conversion.
  812. * ecvt_r: (libc)System V Number Conversion.
  813. * endfsent: (libc)fstab.
  814. * endgrent: (libc)Scanning All Groups.
  815. * endhostent: (libc)Host Names.
  816. * endmntent: (libc)mtab.
  817. * endnetent: (libc)Networks Database.
  818. * endnetgrent: (libc)Lookup Netgroup.
  819. * endprotoent: (libc)Protocols Database.
  820. * endpwent: (libc)Scanning All Users.
  821. * endservent: (libc)Services Database.
  822. * endutent: (libc)Manipulating the Database.
  823. * endutxent: (libc)XPG Functions.
  824. * envz_add: (libc)Envz Functions.
  825. * envz_entry: (libc)Envz Functions.
  826. * envz_get: (libc)Envz Functions.
  827. * envz_merge: (libc)Envz Functions.
  828. * envz_remove: (libc)Envz Functions.
  829. * envz_strip: (libc)Envz Functions.
  830. * erand48: (libc)SVID Random.
  831. * erand48_r: (libc)SVID Random.
  832. * erf: (libc)Special Functions.
  833. * erfc: (libc)Special Functions.
  834. * erfcf: (libc)Special Functions.
  835. * erfcfN: (libc)Special Functions.
  836. * erfcfNx: (libc)Special Functions.
  837. * erfcl: (libc)Special Functions.
  838. * erff: (libc)Special Functions.
  839. * erffN: (libc)Special Functions.
  840. * erffNx: (libc)Special Functions.
  841. * erfl: (libc)Special Functions.
  842. * err: (libc)Error Messages.
  843. * errno: (libc)Checking for Errors.
  844. * error: (libc)Error Messages.
  845. * error_at_line: (libc)Error Messages.
  846. * errx: (libc)Error Messages.
  847. * execl: (libc)Executing a File.
  848. * execle: (libc)Executing a File.
  849. * execlp: (libc)Executing a File.
  850. * execv: (libc)Executing a File.
  851. * execve: (libc)Executing a File.
  852. * execvp: (libc)Executing a File.
  853. * exit: (libc)Normal Termination.
  854. * exp10: (libc)Exponents and Logarithms.
  855. * exp10f: (libc)Exponents and Logarithms.
  856. * exp10fN: (libc)Exponents and Logarithms.
  857. * exp10fNx: (libc)Exponents and Logarithms.
  858. * exp10l: (libc)Exponents and Logarithms.
  859. * exp2: (libc)Exponents and Logarithms.
  860. * exp2f: (libc)Exponents and Logarithms.
  861. * exp2fN: (libc)Exponents and Logarithms.
  862. * exp2fNx: (libc)Exponents and Logarithms.
  863. * exp2l: (libc)Exponents and Logarithms.
  864. * exp: (libc)Exponents and Logarithms.
  865. * expf: (libc)Exponents and Logarithms.
  866. * expfN: (libc)Exponents and Logarithms.
  867. * expfNx: (libc)Exponents and Logarithms.
  868. * expl: (libc)Exponents and Logarithms.
  869. * explicit_bzero: (libc)Erasing Sensitive Data.
  870. * expm1: (libc)Exponents and Logarithms.
  871. * expm1f: (libc)Exponents and Logarithms.
  872. * expm1fN: (libc)Exponents and Logarithms.
  873. * expm1fNx: (libc)Exponents and Logarithms.
  874. * expm1l: (libc)Exponents and Logarithms.
  875. * fMaddfN: (libc)Misc FP Arithmetic.
  876. * fMaddfNx: (libc)Misc FP Arithmetic.
  877. * fMdivfN: (libc)Misc FP Arithmetic.
  878. * fMdivfNx: (libc)Misc FP Arithmetic.
  879. * fMmulfN: (libc)Misc FP Arithmetic.
  880. * fMmulfNx: (libc)Misc FP Arithmetic.
  881. * fMsubfN: (libc)Misc FP Arithmetic.
  882. * fMsubfNx: (libc)Misc FP Arithmetic.
  883. * fMxaddfN: (libc)Misc FP Arithmetic.
  884. * fMxaddfNx: (libc)Misc FP Arithmetic.
  885. * fMxdivfN: (libc)Misc FP Arithmetic.
  886. * fMxdivfNx: (libc)Misc FP Arithmetic.
  887. * fMxmulfN: (libc)Misc FP Arithmetic.
  888. * fMxmulfNx: (libc)Misc FP Arithmetic.
  889. * fMxsubfN: (libc)Misc FP Arithmetic.
  890. * fMxsubfNx: (libc)Misc FP Arithmetic.
  891. * fabs: (libc)Absolute Value.
  892. * fabsf: (libc)Absolute Value.
  893. * fabsfN: (libc)Absolute Value.
  894. * fabsfNx: (libc)Absolute Value.
  895. * fabsl: (libc)Absolute Value.
  896. * fadd: (libc)Misc FP Arithmetic.
  897. * faddl: (libc)Misc FP Arithmetic.
  898. * fchdir: (libc)Working Directory.
  899. * fchmod: (libc)Setting Permissions.
  900. * fchown: (libc)File Owner.
  901. * fclose: (libc)Closing Streams.
  902. * fcloseall: (libc)Closing Streams.
  903. * fcntl: (libc)Control Operations.
  904. * fcvt: (libc)System V Number Conversion.
  905. * fcvt_r: (libc)System V Number Conversion.
  906. * fdatasync: (libc)Synchronizing I/O.
  907. * fdim: (libc)Misc FP Arithmetic.
  908. * fdimf: (libc)Misc FP Arithmetic.
  909. * fdimfN: (libc)Misc FP Arithmetic.
  910. * fdimfNx: (libc)Misc FP Arithmetic.
  911. * fdiml: (libc)Misc FP Arithmetic.
  912. * fdiv: (libc)Misc FP Arithmetic.
  913. * fdivl: (libc)Misc FP Arithmetic.
  914. * fdopen: (libc)Descriptors and Streams.
  915. * fdopendir: (libc)Opening a Directory.
  916. * feclearexcept: (libc)Status bit operations.
  917. * fedisableexcept: (libc)Control Functions.
  918. * feenableexcept: (libc)Control Functions.
  919. * fegetenv: (libc)Control Functions.
  920. * fegetexcept: (libc)Control Functions.
  921. * fegetexceptflag: (libc)Status bit operations.
  922. * fegetmode: (libc)Control Functions.
  923. * fegetround: (libc)Rounding.
  924. * feholdexcept: (libc)Control Functions.
  925. * feof: (libc)EOF and Errors.
  926. * feof_unlocked: (libc)EOF and Errors.
  927. * feraiseexcept: (libc)Status bit operations.
  928. * ferror: (libc)EOF and Errors.
  929. * ferror_unlocked: (libc)EOF and Errors.
  930. * fesetenv: (libc)Control Functions.
  931. * fesetexcept: (libc)Status bit operations.
  932. * fesetexceptflag: (libc)Status bit operations.
  933. * fesetmode: (libc)Control Functions.
  934. * fesetround: (libc)Rounding.
  935. * fetestexcept: (libc)Status bit operations.
  936. * fetestexceptflag: (libc)Status bit operations.
  937. * feupdateenv: (libc)Control Functions.
  938. * fexecve: (libc)Executing a File.
  939. * fflush: (libc)Flushing Buffers.
  940. * fflush_unlocked: (libc)Flushing Buffers.
  941. * fgetc: (libc)Character Input.
  942. * fgetc_unlocked: (libc)Character Input.
  943. * fgetgrent: (libc)Scanning All Groups.
  944. * fgetgrent_r: (libc)Scanning All Groups.
  945. * fgetpos64: (libc)Portable Positioning.
  946. * fgetpos: (libc)Portable Positioning.
  947. * fgetpwent: (libc)Scanning All Users.
  948. * fgetpwent_r: (libc)Scanning All Users.
  949. * fgets: (libc)Line Input.
  950. * fgets_unlocked: (libc)Line Input.
  951. * fgetwc: (libc)Character Input.
  952. * fgetwc_unlocked: (libc)Character Input.
  953. * fgetws: (libc)Line Input.
  954. * fgetws_unlocked: (libc)Line Input.
  955. * fileno: (libc)Descriptors and Streams.
  956. * fileno_unlocked: (libc)Descriptors and Streams.
  957. * finite: (libc)Floating Point Classes.
  958. * finitef: (libc)Floating Point Classes.
  959. * finitel: (libc)Floating Point Classes.
  960. * flockfile: (libc)Streams and Threads.
  961. * floor: (libc)Rounding Functions.
  962. * floorf: (libc)Rounding Functions.
  963. * floorfN: (libc)Rounding Functions.
  964. * floorfNx: (libc)Rounding Functions.
  965. * floorl: (libc)Rounding Functions.
  966. * fma: (libc)Misc FP Arithmetic.
  967. * fmaf: (libc)Misc FP Arithmetic.
  968. * fmafN: (libc)Misc FP Arithmetic.
  969. * fmafNx: (libc)Misc FP Arithmetic.
  970. * fmal: (libc)Misc FP Arithmetic.
  971. * fmax: (libc)Misc FP Arithmetic.
  972. * fmaxf: (libc)Misc FP Arithmetic.
  973. * fmaxfN: (libc)Misc FP Arithmetic.
  974. * fmaxfNx: (libc)Misc FP Arithmetic.
  975. * fmaxl: (libc)Misc FP Arithmetic.
  976. * fmaxmag: (libc)Misc FP Arithmetic.
  977. * fmaxmagf: (libc)Misc FP Arithmetic.
  978. * fmaxmagfN: (libc)Misc FP Arithmetic.
  979. * fmaxmagfNx: (libc)Misc FP Arithmetic.
  980. * fmaxmagl: (libc)Misc FP Arithmetic.
  981. * fmemopen: (libc)String Streams.
  982. * fmin: (libc)Misc FP Arithmetic.
  983. * fminf: (libc)Misc FP Arithmetic.
  984. * fminfN: (libc)Misc FP Arithmetic.
  985. * fminfNx: (libc)Misc FP Arithmetic.
  986. * fminl: (libc)Misc FP Arithmetic.
  987. * fminmag: (libc)Misc FP Arithmetic.
  988. * fminmagf: (libc)Misc FP Arithmetic.
  989. * fminmagfN: (libc)Misc FP Arithmetic.
  990. * fminmagfNx: (libc)Misc FP Arithmetic.
  991. * fminmagl: (libc)Misc FP Arithmetic.
  992. * fmod: (libc)Remainder Functions.
  993. * fmodf: (libc)Remainder Functions.
  994. * fmodfN: (libc)Remainder Functions.
  995. * fmodfNx: (libc)Remainder Functions.
  996. * fmodl: (libc)Remainder Functions.
  997. * fmtmsg: (libc)Printing Formatted Messages.
  998. * fmul: (libc)Misc FP Arithmetic.
  999. * fmull: (libc)Misc FP Arithmetic.
  1000. * fnmatch: (libc)Wildcard Matching.
  1001. * fopen64: (libc)Opening Streams.
  1002. * fopen: (libc)Opening Streams.
  1003. * fopencookie: (libc)Streams and Cookies.
  1004. * fork: (libc)Creating a Process.
  1005. * forkpty: (libc)Pseudo-Terminal Pairs.
  1006. * fpathconf: (libc)Pathconf.
  1007. * fpclassify: (libc)Floating Point Classes.
  1008. * fprintf: (libc)Formatted Output Functions.
  1009. * fputc: (libc)Simple Output.
  1010. * fputc_unlocked: (libc)Simple Output.
  1011. * fputs: (libc)Simple Output.
  1012. * fputs_unlocked: (libc)Simple Output.
  1013. * fputwc: (libc)Simple Output.
  1014. * fputwc_unlocked: (libc)Simple Output.
  1015. * fputws: (libc)Simple Output.
  1016. * fputws_unlocked: (libc)Simple Output.
  1017. * fread: (libc)Block Input/Output.
  1018. * fread_unlocked: (libc)Block Input/Output.
  1019. * free: (libc)Freeing after Malloc.
  1020. * freopen64: (libc)Opening Streams.
  1021. * freopen: (libc)Opening Streams.
  1022. * frexp: (libc)Normalization Functions.
  1023. * frexpf: (libc)Normalization Functions.
  1024. * frexpfN: (libc)Normalization Functions.
  1025. * frexpfNx: (libc)Normalization Functions.
  1026. * frexpl: (libc)Normalization Functions.
  1027. * fromfp: (libc)Rounding Functions.
  1028. * fromfpf: (libc)Rounding Functions.
  1029. * fromfpfN: (libc)Rounding Functions.
  1030. * fromfpfNx: (libc)Rounding Functions.
  1031. * fromfpl: (libc)Rounding Functions.
  1032. * fromfpx: (libc)Rounding Functions.
  1033. * fromfpxf: (libc)Rounding Functions.
  1034. * fromfpxfN: (libc)Rounding Functions.
  1035. * fromfpxfNx: (libc)Rounding Functions.
  1036. * fromfpxl: (libc)Rounding Functions.
  1037. * fscanf: (libc)Formatted Input Functions.
  1038. * fseek: (libc)File Positioning.
  1039. * fseeko64: (libc)File Positioning.
  1040. * fseeko: (libc)File Positioning.
  1041. * fsetpos64: (libc)Portable Positioning.
  1042. * fsetpos: (libc)Portable Positioning.
  1043. * fstat64: (libc)Reading Attributes.
  1044. * fstat: (libc)Reading Attributes.
  1045. * fsub: (libc)Misc FP Arithmetic.
  1046. * fsubl: (libc)Misc FP Arithmetic.
  1047. * fsync: (libc)Synchronizing I/O.
  1048. * ftell: (libc)File Positioning.
  1049. * ftello64: (libc)File Positioning.
  1050. * ftello: (libc)File Positioning.
  1051. * ftruncate64: (libc)File Size.
  1052. * ftruncate: (libc)File Size.
  1053. * ftrylockfile: (libc)Streams and Threads.
  1054. * ftw64: (libc)Working with Directory Trees.
  1055. * ftw: (libc)Working with Directory Trees.
  1056. * funlockfile: (libc)Streams and Threads.
  1057. * futimes: (libc)File Times.
  1058. * fwide: (libc)Streams and I18N.
  1059. * fwprintf: (libc)Formatted Output Functions.
  1060. * fwrite: (libc)Block Input/Output.
  1061. * fwrite_unlocked: (libc)Block Input/Output.
  1062. * fwscanf: (libc)Formatted Input Functions.
  1063. * gamma: (libc)Special Functions.
  1064. * gammaf: (libc)Special Functions.
  1065. * gammal: (libc)Special Functions.
  1066. * gcvt: (libc)System V Number Conversion.
  1067. * get_avphys_pages: (libc)Query Memory Parameters.
  1068. * get_current_dir_name: (libc)Working Directory.
  1069. * get_nprocs: (libc)Processor Resources.
  1070. * get_nprocs_conf: (libc)Processor Resources.
  1071. * get_phys_pages: (libc)Query Memory Parameters.
  1072. * getauxval: (libc)Auxiliary Vector.
  1073. * getc: (libc)Character Input.
  1074. * getc_unlocked: (libc)Character Input.
  1075. * getchar: (libc)Character Input.
  1076. * getchar_unlocked: (libc)Character Input.
  1077. * getcontext: (libc)System V contexts.
  1078. * getcpu: (libc)CPU Affinity.
  1079. * getcwd: (libc)Working Directory.
  1080. * getdate: (libc)General Time String Parsing.
  1081. * getdate_r: (libc)General Time String Parsing.
  1082. * getdelim: (libc)Line Input.
  1083. * getdents64: (libc)Low-level Directory Access.
  1084. * getdomainnname: (libc)Host Identification.
  1085. * getegid: (libc)Reading Persona.
  1086. * getentropy: (libc)Unpredictable Bytes.
  1087. * getenv: (libc)Environment Access.
  1088. * geteuid: (libc)Reading Persona.
  1089. * getfsent: (libc)fstab.
  1090. * getfsfile: (libc)fstab.
  1091. * getfsspec: (libc)fstab.
  1092. * getgid: (libc)Reading Persona.
  1093. * getgrent: (libc)Scanning All Groups.
  1094. * getgrent_r: (libc)Scanning All Groups.
  1095. * getgrgid: (libc)Lookup Group.
  1096. * getgrgid_r: (libc)Lookup Group.
  1097. * getgrnam: (libc)Lookup Group.
  1098. * getgrnam_r: (libc)Lookup Group.
  1099. * getgrouplist: (libc)Setting Groups.
  1100. * getgroups: (libc)Reading Persona.
  1101. * gethostbyaddr: (libc)Host Names.
  1102. * gethostbyaddr_r: (libc)Host Names.
  1103. * gethostbyname2: (libc)Host Names.
  1104. * gethostbyname2_r: (libc)Host Names.
  1105. * gethostbyname: (libc)Host Names.
  1106. * gethostbyname_r: (libc)Host Names.
  1107. * gethostent: (libc)Host Names.
  1108. * gethostid: (libc)Host Identification.
  1109. * gethostname: (libc)Host Identification.
  1110. * getitimer: (libc)Setting an Alarm.
  1111. * getline: (libc)Line Input.
  1112. * getloadavg: (libc)Processor Resources.
  1113. * getlogin: (libc)Who Logged In.
  1114. * getmntent: (libc)mtab.
  1115. * getmntent_r: (libc)mtab.
  1116. * getnetbyaddr: (libc)Networks Database.
  1117. * getnetbyname: (libc)Networks Database.
  1118. * getnetent: (libc)Networks Database.
  1119. * getnetgrent: (libc)Lookup Netgroup.
  1120. * getnetgrent_r: (libc)Lookup Netgroup.
  1121. * getopt: (libc)Using Getopt.
  1122. * getopt_long: (libc)Getopt Long Options.
  1123. * getopt_long_only: (libc)Getopt Long Options.
  1124. * getpagesize: (libc)Query Memory Parameters.
  1125. * getpass: (libc)getpass.
  1126. * getpayload: (libc)FP Bit Twiddling.
  1127. * getpayloadf: (libc)FP Bit Twiddling.
  1128. * getpayloadfN: (libc)FP Bit Twiddling.
  1129. * getpayloadfNx: (libc)FP Bit Twiddling.
  1130. * getpayloadl: (libc)FP Bit Twiddling.
  1131. * getpeername: (libc)Who is Connected.
  1132. * getpgid: (libc)Process Group Functions.
  1133. * getpgrp: (libc)Process Group Functions.
  1134. * getpid: (libc)Process Identification.
  1135. * getppid: (libc)Process Identification.
  1136. * getpriority: (libc)Traditional Scheduling Functions.
  1137. * getprotobyname: (libc)Protocols Database.
  1138. * getprotobynumber: (libc)Protocols Database.
  1139. * getprotoent: (libc)Protocols Database.
  1140. * getpt: (libc)Allocation.
  1141. * getpwent: (libc)Scanning All Users.
  1142. * getpwent_r: (libc)Scanning All Users.
  1143. * getpwnam: (libc)Lookup User.
  1144. * getpwnam_r: (libc)Lookup User.
  1145. * getpwuid: (libc)Lookup User.
  1146. * getpwuid_r: (libc)Lookup User.
  1147. * getrandom: (libc)Unpredictable Bytes.
  1148. * getrlimit64: (libc)Limits on Resources.
  1149. * getrlimit: (libc)Limits on Resources.
  1150. * getrusage: (libc)Resource Usage.
  1151. * gets: (libc)Line Input.
  1152. * getservbyname: (libc)Services Database.
  1153. * getservbyport: (libc)Services Database.
  1154. * getservent: (libc)Services Database.
  1155. * getsid: (libc)Process Group Functions.
  1156. * getsockname: (libc)Reading Address.
  1157. * getsockopt: (libc)Socket Option Functions.
  1158. * getsubopt: (libc)Suboptions.
  1159. * gettext: (libc)Translation with gettext.
  1160. * gettid: (libc)Process Identification.
  1161. * gettimeofday: (libc)Getting the Time.
  1162. * getuid: (libc)Reading Persona.
  1163. * getumask: (libc)Setting Permissions.
  1164. * getutent: (libc)Manipulating the Database.
  1165. * getutent_r: (libc)Manipulating the Database.
  1166. * getutid: (libc)Manipulating the Database.
  1167. * getutid_r: (libc)Manipulating the Database.
  1168. * getutline: (libc)Manipulating the Database.
  1169. * getutline_r: (libc)Manipulating the Database.
  1170. * getutmp: (libc)XPG Functions.
  1171. * getutmpx: (libc)XPG Functions.
  1172. * getutxent: (libc)XPG Functions.
  1173. * getutxid: (libc)XPG Functions.
  1174. * getutxline: (libc)XPG Functions.
  1175. * getw: (libc)Character Input.
  1176. * getwc: (libc)Character Input.
  1177. * getwc_unlocked: (libc)Character Input.
  1178. * getwchar: (libc)Character Input.
  1179. * getwchar_unlocked: (libc)Character Input.
  1180. * getwd: (libc)Working Directory.
  1181. * glob64: (libc)Calling Glob.
  1182. * glob: (libc)Calling Glob.
  1183. * globfree64: (libc)More Flags for Globbing.
  1184. * globfree: (libc)More Flags for Globbing.
  1185. * gmtime: (libc)Broken-down Time.
  1186. * gmtime_r: (libc)Broken-down Time.
  1187. * grantpt: (libc)Allocation.
  1188. * gsignal: (libc)Signaling Yourself.
  1189. * gtty: (libc)BSD Terminal Modes.
  1190. * hasmntopt: (libc)mtab.
  1191. * hcreate: (libc)Hash Search Function.
  1192. * hcreate_r: (libc)Hash Search Function.
  1193. * hdestroy: (libc)Hash Search Function.
  1194. * hdestroy_r: (libc)Hash Search Function.
  1195. * hsearch: (libc)Hash Search Function.
  1196. * hsearch_r: (libc)Hash Search Function.
  1197. * htonl: (libc)Byte Order.
  1198. * htons: (libc)Byte Order.
  1199. * hypot: (libc)Exponents and Logarithms.
  1200. * hypotf: (libc)Exponents and Logarithms.
  1201. * hypotfN: (libc)Exponents and Logarithms.
  1202. * hypotfNx: (libc)Exponents and Logarithms.
  1203. * hypotl: (libc)Exponents and Logarithms.
  1204. * iconv: (libc)Generic Conversion Interface.
  1205. * iconv_close: (libc)Generic Conversion Interface.
  1206. * iconv_open: (libc)Generic Conversion Interface.
  1207. * if_freenameindex: (libc)Interface Naming.
  1208. * if_indextoname: (libc)Interface Naming.
  1209. * if_nameindex: (libc)Interface Naming.
  1210. * if_nametoindex: (libc)Interface Naming.
  1211. * ilogb: (libc)Exponents and Logarithms.
  1212. * ilogbf: (libc)Exponents and Logarithms.
  1213. * ilogbfN: (libc)Exponents and Logarithms.
  1214. * ilogbfNx: (libc)Exponents and Logarithms.
  1215. * ilogbl: (libc)Exponents and Logarithms.
  1216. * imaxabs: (libc)Absolute Value.
  1217. * imaxdiv: (libc)Integer Division.
  1218. * in6addr_any: (libc)Host Address Data Type.
  1219. * in6addr_loopback: (libc)Host Address Data Type.
  1220. * index: (libc)Search Functions.
  1221. * inet_addr: (libc)Host Address Functions.
  1222. * inet_aton: (libc)Host Address Functions.
  1223. * inet_lnaof: (libc)Host Address Functions.
  1224. * inet_makeaddr: (libc)Host Address Functions.
  1225. * inet_netof: (libc)Host Address Functions.
  1226. * inet_network: (libc)Host Address Functions.
  1227. * inet_ntoa: (libc)Host Address Functions.
  1228. * inet_ntop: (libc)Host Address Functions.
  1229. * inet_pton: (libc)Host Address Functions.
  1230. * initgroups: (libc)Setting Groups.
  1231. * initstate: (libc)BSD Random.
  1232. * initstate_r: (libc)BSD Random.
  1233. * innetgr: (libc)Netgroup Membership.
  1234. * ioctl: (libc)IOCTLs.
  1235. * isalnum: (libc)Classification of Characters.
  1236. * isalpha: (libc)Classification of Characters.
  1237. * isascii: (libc)Classification of Characters.
  1238. * isatty: (libc)Is It a Terminal.
  1239. * isblank: (libc)Classification of Characters.
  1240. * iscanonical: (libc)Floating Point Classes.
  1241. * iscntrl: (libc)Classification of Characters.
  1242. * isdigit: (libc)Classification of Characters.
  1243. * iseqsig: (libc)FP Comparison Functions.
  1244. * isfinite: (libc)Floating Point Classes.
  1245. * isgraph: (libc)Classification of Characters.
  1246. * isgreater: (libc)FP Comparison Functions.
  1247. * isgreaterequal: (libc)FP Comparison Functions.
  1248. * isinf: (libc)Floating Point Classes.
  1249. * isinff: (libc)Floating Point Classes.
  1250. * isinfl: (libc)Floating Point Classes.
  1251. * isless: (libc)FP Comparison Functions.
  1252. * islessequal: (libc)FP Comparison Functions.
  1253. * islessgreater: (libc)FP Comparison Functions.
  1254. * islower: (libc)Classification of Characters.
  1255. * isnan: (libc)Floating Point Classes.
  1256. * isnan: (libc)Floating Point Classes.
  1257. * isnanf: (libc)Floating Point Classes.
  1258. * isnanl: (libc)Floating Point Classes.
  1259. * isnormal: (libc)Floating Point Classes.
  1260. * isprint: (libc)Classification of Characters.
  1261. * ispunct: (libc)Classification of Characters.
  1262. * issignaling: (libc)Floating Point Classes.
  1263. * isspace: (libc)Classification of Characters.
  1264. * issubnormal: (libc)Floating Point Classes.
  1265. * isunordered: (libc)FP Comparison Functions.
  1266. * isupper: (libc)Classification of Characters.
  1267. * iswalnum: (libc)Classification of Wide Characters.
  1268. * iswalpha: (libc)Classification of Wide Characters.
  1269. * iswblank: (libc)Classification of Wide Characters.
  1270. * iswcntrl: (libc)Classification of Wide Characters.
  1271. * iswctype: (libc)Classification of Wide Characters.
  1272. * iswdigit: (libc)Classification of Wide Characters.
  1273. * iswgraph: (libc)Classification of Wide Characters.
  1274. * iswlower: (libc)Classification of Wide Characters.
  1275. * iswprint: (libc)Classification of Wide Characters.
  1276. * iswpunct: (libc)Classification of Wide Characters.
  1277. * iswspace: (libc)Classification of Wide Characters.
  1278. * iswupper: (libc)Classification of Wide Characters.
  1279. * iswxdigit: (libc)Classification of Wide Characters.
  1280. * isxdigit: (libc)Classification of Characters.
  1281. * iszero: (libc)Floating Point Classes.
  1282. * j0: (libc)Special Functions.
  1283. * j0f: (libc)Special Functions.
  1284. * j0fN: (libc)Special Functions.
  1285. * j0fNx: (libc)Special Functions.
  1286. * j0l: (libc)Special Functions.
  1287. * j1: (libc)Special Functions.
  1288. * j1f: (libc)Special Functions.
  1289. * j1fN: (libc)Special Functions.
  1290. * j1fNx: (libc)Special Functions.
  1291. * j1l: (libc)Special Functions.
  1292. * jn: (libc)Special Functions.
  1293. * jnf: (libc)Special Functions.
  1294. * jnfN: (libc)Special Functions.
  1295. * jnfNx: (libc)Special Functions.
  1296. * jnl: (libc)Special Functions.
  1297. * jrand48: (libc)SVID Random.
  1298. * jrand48_r: (libc)SVID Random.
  1299. * kill: (libc)Signaling Another Process.
  1300. * killpg: (libc)Signaling Another Process.
  1301. * l64a: (libc)Encode Binary Data.
  1302. * labs: (libc)Absolute Value.
  1303. * lcong48: (libc)SVID Random.
  1304. * lcong48_r: (libc)SVID Random.
  1305. * ldexp: (libc)Normalization Functions.
  1306. * ldexpf: (libc)Normalization Functions.
  1307. * ldexpfN: (libc)Normalization Functions.
  1308. * ldexpfNx: (libc)Normalization Functions.
  1309. * ldexpl: (libc)Normalization Functions.
  1310. * ldiv: (libc)Integer Division.
  1311. * lfind: (libc)Array Search Function.
  1312. * lgamma: (libc)Special Functions.
  1313. * lgamma_r: (libc)Special Functions.
  1314. * lgammaf: (libc)Special Functions.
  1315. * lgammafN: (libc)Special Functions.
  1316. * lgammafN_r: (libc)Special Functions.
  1317. * lgammafNx: (libc)Special Functions.
  1318. * lgammafNx_r: (libc)Special Functions.
  1319. * lgammaf_r: (libc)Special Functions.
  1320. * lgammal: (libc)Special Functions.
  1321. * lgammal_r: (libc)Special Functions.
  1322. * link: (libc)Hard Links.
  1323. * linkat: (libc)Hard Links.
  1324. * lio_listio64: (libc)Asynchronous Reads/Writes.
  1325. * lio_listio: (libc)Asynchronous Reads/Writes.
  1326. * listen: (libc)Listening.
  1327. * llabs: (libc)Absolute Value.
  1328. * lldiv: (libc)Integer Division.
  1329. * llogb: (libc)Exponents and Logarithms.
  1330. * llogbf: (libc)Exponents and Logarithms.
  1331. * llogbfN: (libc)Exponents and Logarithms.
  1332. * llogbfNx: (libc)Exponents and Logarithms.
  1333. * llogbl: (libc)Exponents and Logarithms.
  1334. * llrint: (libc)Rounding Functions.
  1335. * llrintf: (libc)Rounding Functions.
  1336. * llrintfN: (libc)Rounding Functions.
  1337. * llrintfNx: (libc)Rounding Functions.
  1338. * llrintl: (libc)Rounding Functions.
  1339. * llround: (libc)Rounding Functions.
  1340. * llroundf: (libc)Rounding Functions.
  1341. * llroundfN: (libc)Rounding Functions.
  1342. * llroundfNx: (libc)Rounding Functions.
  1343. * llroundl: (libc)Rounding Functions.
  1344. * localeconv: (libc)The Lame Way to Locale Data.
  1345. * localtime: (libc)Broken-down Time.
  1346. * localtime_r: (libc)Broken-down Time.
  1347. * log10: (libc)Exponents and Logarithms.
  1348. * log10f: (libc)Exponents and Logarithms.
  1349. * log10fN: (libc)Exponents and Logarithms.
  1350. * log10fNx: (libc)Exponents and Logarithms.
  1351. * log10l: (libc)Exponents and Logarithms.
  1352. * log1p: (libc)Exponents and Logarithms.
  1353. * log1pf: (libc)Exponents and Logarithms.
  1354. * log1pfN: (libc)Exponents and Logarithms.
  1355. * log1pfNx: (libc)Exponents and Logarithms.
  1356. * log1pl: (libc)Exponents and Logarithms.
  1357. * log2: (libc)Exponents and Logarithms.
  1358. * log2f: (libc)Exponents and Logarithms.
  1359. * log2fN: (libc)Exponents and Logarithms.
  1360. * log2fNx: (libc)Exponents and Logarithms.
  1361. * log2l: (libc)Exponents and Logarithms.
  1362. * log: (libc)Exponents and Logarithms.
  1363. * logb: (libc)Exponents and Logarithms.
  1364. * logbf: (libc)Exponents and Logarithms.
  1365. * logbfN: (libc)Exponents and Logarithms.
  1366. * logbfNx: (libc)Exponents and Logarithms.
  1367. * logbl: (libc)Exponents and Logarithms.
  1368. * logf: (libc)Exponents and Logarithms.
  1369. * logfN: (libc)Exponents and Logarithms.
  1370. * logfNx: (libc)Exponents and Logarithms.
  1371. * login: (libc)Logging In and Out.
  1372. * login_tty: (libc)Logging In and Out.
  1373. * logl: (libc)Exponents and Logarithms.
  1374. * logout: (libc)Logging In and Out.
  1375. * logwtmp: (libc)Logging In and Out.
  1376. * longjmp: (libc)Non-Local Details.
  1377. * lrand48: (libc)SVID Random.
  1378. * lrand48_r: (libc)SVID Random.
  1379. * lrint: (libc)Rounding Functions.
  1380. * lrintf: (libc)Rounding Functions.
  1381. * lrintfN: (libc)Rounding Functions.
  1382. * lrintfNx: (libc)Rounding Functions.
  1383. * lrintl: (libc)Rounding Functions.
  1384. * lround: (libc)Rounding Functions.
  1385. * lroundf: (libc)Rounding Functions.
  1386. * lroundfN: (libc)Rounding Functions.
  1387. * lroundfNx: (libc)Rounding Functions.
  1388. * lroundl: (libc)Rounding Functions.
  1389. * lsearch: (libc)Array Search Function.
  1390. * lseek64: (libc)File Position Primitive.
  1391. * lseek: (libc)File Position Primitive.
  1392. * lstat64: (libc)Reading Attributes.
  1393. * lstat: (libc)Reading Attributes.
  1394. * lutimes: (libc)File Times.
  1395. * madvise: (libc)Memory-mapped I/O.
  1396. * makecontext: (libc)System V contexts.
  1397. * mallinfo2: (libc)Statistics of Malloc.
  1398. * malloc: (libc)Basic Allocation.
  1399. * mallopt: (libc)Malloc Tunable Parameters.
  1400. * mblen: (libc)Non-reentrant Character Conversion.
  1401. * mbrlen: (libc)Converting a Character.
  1402. * mbrtowc: (libc)Converting a Character.
  1403. * mbsinit: (libc)Keeping the state.
  1404. * mbsnrtowcs: (libc)Converting Strings.
  1405. * mbsrtowcs: (libc)Converting Strings.
  1406. * mbstowcs: (libc)Non-reentrant String Conversion.
  1407. * mbtowc: (libc)Non-reentrant Character Conversion.
  1408. * mcheck: (libc)Heap Consistency Checking.
  1409. * memalign: (libc)Aligned Memory Blocks.
  1410. * memccpy: (libc)Copying Strings and Arrays.
  1411. * memchr: (libc)Search Functions.
  1412. * memcmp: (libc)String/Array Comparison.
  1413. * memcpy: (libc)Copying Strings and Arrays.
  1414. * memfd_create: (libc)Memory-mapped I/O.
  1415. * memfrob: (libc)Obfuscating Data.
  1416. * memmem: (libc)Search Functions.
  1417. * memmove: (libc)Copying Strings and Arrays.
  1418. * mempcpy: (libc)Copying Strings and Arrays.
  1419. * memrchr: (libc)Search Functions.
  1420. * memset: (libc)Copying Strings and Arrays.
  1421. * mkdir: (libc)Creating Directories.
  1422. * mkdtemp: (libc)Temporary Files.
  1423. * mkfifo: (libc)FIFO Special Files.
  1424. * mknod: (libc)Making Special Files.
  1425. * mkstemp: (libc)Temporary Files.
  1426. * mktemp: (libc)Temporary Files.
  1427. * mktime: (libc)Broken-down Time.
  1428. * mlock2: (libc)Page Lock Functions.
  1429. * mlock: (libc)Page Lock Functions.
  1430. * mlockall: (libc)Page Lock Functions.
  1431. * mmap64: (libc)Memory-mapped I/O.
  1432. * mmap: (libc)Memory-mapped I/O.
  1433. * modf: (libc)Rounding Functions.
  1434. * modff: (libc)Rounding Functions.
  1435. * modffN: (libc)Rounding Functions.
  1436. * modffNx: (libc)Rounding Functions.
  1437. * modfl: (libc)Rounding Functions.
  1438. * mount: (libc)Mount-Unmount-Remount.
  1439. * mprobe: (libc)Heap Consistency Checking.
  1440. * mprotect: (libc)Memory Protection.
  1441. * mrand48: (libc)SVID Random.
  1442. * mrand48_r: (libc)SVID Random.
  1443. * mremap: (libc)Memory-mapped I/O.
  1444. * msync: (libc)Memory-mapped I/O.
  1445. * mtrace: (libc)Tracing malloc.
  1446. * mtx_destroy: (libc)ISO C Mutexes.
  1447. * mtx_init: (libc)ISO C Mutexes.
  1448. * mtx_lock: (libc)ISO C Mutexes.
  1449. * mtx_timedlock: (libc)ISO C Mutexes.
  1450. * mtx_trylock: (libc)ISO C Mutexes.
  1451. * mtx_unlock: (libc)ISO C Mutexes.
  1452. * munlock: (libc)Page Lock Functions.
  1453. * munlockall: (libc)Page Lock Functions.
  1454. * munmap: (libc)Memory-mapped I/O.
  1455. * muntrace: (libc)Tracing malloc.
  1456. * nan: (libc)FP Bit Twiddling.
  1457. * nanf: (libc)FP Bit Twiddling.
  1458. * nanfN: (libc)FP Bit Twiddling.
  1459. * nanfNx: (libc)FP Bit Twiddling.
  1460. * nanl: (libc)FP Bit Twiddling.
  1461. * nanosleep: (libc)Sleeping.
  1462. * nearbyint: (libc)Rounding Functions.
  1463. * nearbyintf: (libc)Rounding Functions.
  1464. * nearbyintfN: (libc)Rounding Functions.
  1465. * nearbyintfNx: (libc)Rounding Functions.
  1466. * nearbyintl: (libc)Rounding Functions.
  1467. * nextafter: (libc)FP Bit Twiddling.
  1468. * nextafterf: (libc)FP Bit Twiddling.
  1469. * nextafterfN: (libc)FP Bit Twiddling.
  1470. * nextafterfNx: (libc)FP Bit Twiddling.
  1471. * nextafterl: (libc)FP Bit Twiddling.
  1472. * nextdown: (libc)FP Bit Twiddling.
  1473. * nextdownf: (libc)FP Bit Twiddling.
  1474. * nextdownfN: (libc)FP Bit Twiddling.
  1475. * nextdownfNx: (libc)FP Bit Twiddling.
  1476. * nextdownl: (libc)FP Bit Twiddling.
  1477. * nexttoward: (libc)FP Bit Twiddling.
  1478. * nexttowardf: (libc)FP Bit Twiddling.
  1479. * nexttowardl: (libc)FP Bit Twiddling.
  1480. * nextup: (libc)FP Bit Twiddling.
  1481. * nextupf: (libc)FP Bit Twiddling.
  1482. * nextupfN: (libc)FP Bit Twiddling.
  1483. * nextupfNx: (libc)FP Bit Twiddling.
  1484. * nextupl: (libc)FP Bit Twiddling.
  1485. * nftw64: (libc)Working with Directory Trees.
  1486. * nftw: (libc)Working with Directory Trees.
  1487. * ngettext: (libc)Advanced gettext functions.
  1488. * nice: (libc)Traditional Scheduling Functions.
  1489. * nl_langinfo: (libc)The Elegant and Fast Way.
  1490. * nrand48: (libc)SVID Random.
  1491. * nrand48_r: (libc)SVID Random.
  1492. * ntohl: (libc)Byte Order.
  1493. * ntohs: (libc)Byte Order.
  1494. * ntp_adjtime: (libc)Setting and Adjusting the Time.
  1495. * ntp_gettime: (libc)Setting and Adjusting the Time.
  1496. * obstack_1grow: (libc)Growing Objects.
  1497. * obstack_1grow_fast: (libc)Extra Fast Growing.
  1498. * obstack_alignment_mask: (libc)Obstacks Data Alignment.
  1499. * obstack_alloc: (libc)Allocation in an Obstack.
  1500. * obstack_base: (libc)Status of an Obstack.
  1501. * obstack_blank: (libc)Growing Objects.
  1502. * obstack_blank_fast: (libc)Extra Fast Growing.
  1503. * obstack_chunk_size: (libc)Obstack Chunks.
  1504. * obstack_copy0: (libc)Allocation in an Obstack.
  1505. * obstack_copy: (libc)Allocation in an Obstack.
  1506. * obstack_finish: (libc)Growing Objects.
  1507. * obstack_free: (libc)Freeing Obstack Objects.
  1508. * obstack_grow0: (libc)Growing Objects.
  1509. * obstack_grow: (libc)Growing Objects.
  1510. * obstack_init: (libc)Preparing for Obstacks.
  1511. * obstack_int_grow: (libc)Growing Objects.
  1512. * obstack_int_grow_fast: (libc)Extra Fast Growing.
  1513. * obstack_next_free: (libc)Status of an Obstack.
  1514. * obstack_object_size: (libc)Growing Objects.
  1515. * obstack_object_size: (libc)Status of an Obstack.
  1516. * obstack_printf: (libc)Dynamic Output.
  1517. * obstack_ptr_grow: (libc)Growing Objects.
  1518. * obstack_ptr_grow_fast: (libc)Extra Fast Growing.
  1519. * obstack_room: (libc)Extra Fast Growing.
  1520. * obstack_vprintf: (libc)Variable Arguments Output.
  1521. * offsetof: (libc)Structure Measurement.
  1522. * on_exit: (libc)Cleanups on Exit.
  1523. * open64: (libc)Opening and Closing Files.
  1524. * open: (libc)Opening and Closing Files.
  1525. * open_memstream: (libc)String Streams.
  1526. * opendir: (libc)Opening a Directory.
  1527. * openlog: (libc)openlog.
  1528. * openpty: (libc)Pseudo-Terminal Pairs.
  1529. * parse_printf_format: (libc)Parsing a Template String.
  1530. * pathconf: (libc)Pathconf.
  1531. * pause: (libc)Using Pause.
  1532. * pclose: (libc)Pipe to a Subprocess.
  1533. * perror: (libc)Error Messages.
  1534. * pipe: (libc)Creating a Pipe.
  1535. * pkey_alloc: (libc)Memory Protection.
  1536. * pkey_free: (libc)Memory Protection.
  1537. * pkey_get: (libc)Memory Protection.
  1538. * pkey_mprotect: (libc)Memory Protection.
  1539. * pkey_set: (libc)Memory Protection.
  1540. * popen: (libc)Pipe to a Subprocess.
  1541. * posix_fallocate64: (libc)Storage Allocation.
  1542. * posix_fallocate: (libc)Storage Allocation.
  1543. * posix_memalign: (libc)Aligned Memory Blocks.
  1544. * pow: (libc)Exponents and Logarithms.
  1545. * powf: (libc)Exponents and Logarithms.
  1546. * powfN: (libc)Exponents and Logarithms.
  1547. * powfNx: (libc)Exponents and Logarithms.
  1548. * powl: (libc)Exponents and Logarithms.
  1549. * pread64: (libc)I/O Primitives.
  1550. * pread: (libc)I/O Primitives.
  1551. * preadv2: (libc)Scatter-Gather.
  1552. * preadv64: (libc)Scatter-Gather.
  1553. * preadv64v2: (libc)Scatter-Gather.
  1554. * preadv: (libc)Scatter-Gather.
  1555. * printf: (libc)Formatted Output Functions.
  1556. * printf_size: (libc)Predefined Printf Handlers.
  1557. * printf_size_info: (libc)Predefined Printf Handlers.
  1558. * psignal: (libc)Signal Messages.
  1559. * pthread_attr_getsigmask_np: (libc)Initial Thread Signal Mask.
  1560. * pthread_attr_setsigmask_np: (libc)Initial Thread Signal Mask.
  1561. * pthread_clockjoin_np: (libc)Waiting with Explicit Clocks.
  1562. * pthread_cond_clockwait: (libc)Waiting with Explicit Clocks.
  1563. * pthread_getattr_default_np: (libc)Default Thread Attributes.
  1564. * pthread_getspecific: (libc)Thread-specific Data.
  1565. * pthread_key_create: (libc)Thread-specific Data.
  1566. * pthread_key_delete: (libc)Thread-specific Data.
  1567. * pthread_rwlock_clockrdlock: (libc)Waiting with Explicit Clocks.
  1568. * pthread_rwlock_clockwrlock: (libc)Waiting with Explicit Clocks.
  1569. * pthread_setattr_default_np: (libc)Default Thread Attributes.
  1570. * pthread_setspecific: (libc)Thread-specific Data.
  1571. * pthread_timedjoin_np: (libc)Waiting with Explicit Clocks.
  1572. * pthread_tryjoin_np: (libc)Waiting with Explicit Clocks.
  1573. * ptsname: (libc)Allocation.
  1574. * ptsname_r: (libc)Allocation.
  1575. * putc: (libc)Simple Output.
  1576. * putc_unlocked: (libc)Simple Output.
  1577. * putchar: (libc)Simple Output.
  1578. * putchar_unlocked: (libc)Simple Output.
  1579. * putenv: (libc)Environment Access.
  1580. * putpwent: (libc)Writing a User Entry.
  1581. * puts: (libc)Simple Output.
  1582. * pututline: (libc)Manipulating the Database.
  1583. * pututxline: (libc)XPG Functions.
  1584. * putw: (libc)Simple Output.
  1585. * putwc: (libc)Simple Output.
  1586. * putwc_unlocked: (libc)Simple Output.
  1587. * putwchar: (libc)Simple Output.
  1588. * putwchar_unlocked: (libc)Simple Output.
  1589. * pwrite64: (libc)I/O Primitives.
  1590. * pwrite: (libc)I/O Primitives.
  1591. * pwritev2: (libc)Scatter-Gather.
  1592. * pwritev64: (libc)Scatter-Gather.
  1593. * pwritev64v2: (libc)Scatter-Gather.
  1594. * pwritev: (libc)Scatter-Gather.
  1595. * qecvt: (libc)System V Number Conversion.
  1596. * qecvt_r: (libc)System V Number Conversion.
  1597. * qfcvt: (libc)System V Number Conversion.
  1598. * qfcvt_r: (libc)System V Number Conversion.
  1599. * qgcvt: (libc)System V Number Conversion.
  1600. * qsort: (libc)Array Sort Function.
  1601. * raise: (libc)Signaling Yourself.
  1602. * rand: (libc)ISO Random.
  1603. * rand_r: (libc)ISO Random.
  1604. * random: (libc)BSD Random.
  1605. * random_r: (libc)BSD Random.
  1606. * rawmemchr: (libc)Search Functions.
  1607. * read: (libc)I/O Primitives.
  1608. * readdir64: (libc)Reading/Closing Directory.
  1609. * readdir64_r: (libc)Reading/Closing Directory.
  1610. * readdir: (libc)Reading/Closing Directory.
  1611. * readdir_r: (libc)Reading/Closing Directory.
  1612. * readlink: (libc)Symbolic Links.
  1613. * readv: (libc)Scatter-Gather.
  1614. * realloc: (libc)Changing Block Size.
  1615. * reallocarray: (libc)Changing Block Size.
  1616. * realpath: (libc)Symbolic Links.
  1617. * recv: (libc)Receiving Data.
  1618. * recvfrom: (libc)Receiving Datagrams.
  1619. * recvmsg: (libc)Receiving Datagrams.
  1620. * regcomp: (libc)POSIX Regexp Compilation.
  1621. * regerror: (libc)Regexp Cleanup.
  1622. * regexec: (libc)Matching POSIX Regexps.
  1623. * regfree: (libc)Regexp Cleanup.
  1624. * register_printf_function: (libc)Registering New Conversions.
  1625. * remainder: (libc)Remainder Functions.
  1626. * remainderf: (libc)Remainder Functions.
  1627. * remainderfN: (libc)Remainder Functions.
  1628. * remainderfNx: (libc)Remainder Functions.
  1629. * remainderl: (libc)Remainder Functions.
  1630. * remove: (libc)Deleting Files.
  1631. * rename: (libc)Renaming Files.
  1632. * rewind: (libc)File Positioning.
  1633. * rewinddir: (libc)Random Access Directory.
  1634. * rindex: (libc)Search Functions.
  1635. * rint: (libc)Rounding Functions.
  1636. * rintf: (libc)Rounding Functions.
  1637. * rintfN: (libc)Rounding Functions.
  1638. * rintfNx: (libc)Rounding Functions.
  1639. * rintl: (libc)Rounding Functions.
  1640. * rmdir: (libc)Deleting Files.
  1641. * round: (libc)Rounding Functions.
  1642. * roundeven: (libc)Rounding Functions.
  1643. * roundevenf: (libc)Rounding Functions.
  1644. * roundevenfN: (libc)Rounding Functions.
  1645. * roundevenfNx: (libc)Rounding Functions.
  1646. * roundevenl: (libc)Rounding Functions.
  1647. * roundf: (libc)Rounding Functions.
  1648. * roundfN: (libc)Rounding Functions.
  1649. * roundfNx: (libc)Rounding Functions.
  1650. * roundl: (libc)Rounding Functions.
  1651. * rpmatch: (libc)Yes-or-No Questions.
  1652. * sbrk: (libc)Resizing the Data Segment.
  1653. * scalb: (libc)Normalization Functions.
  1654. * scalbf: (libc)Normalization Functions.
  1655. * scalbl: (libc)Normalization Functions.
  1656. * scalbln: (libc)Normalization Functions.
  1657. * scalblnf: (libc)Normalization Functions.
  1658. * scalblnfN: (libc)Normalization Functions.
  1659. * scalblnfNx: (libc)Normalization Functions.
  1660. * scalblnl: (libc)Normalization Functions.
  1661. * scalbn: (libc)Normalization Functions.
  1662. * scalbnf: (libc)Normalization Functions.
  1663. * scalbnfN: (libc)Normalization Functions.
  1664. * scalbnfNx: (libc)Normalization Functions.
  1665. * scalbnl: (libc)Normalization Functions.
  1666. * scandir64: (libc)Scanning Directory Content.
  1667. * scandir: (libc)Scanning Directory Content.
  1668. * scanf: (libc)Formatted Input Functions.
  1669. * sched_get_priority_max: (libc)Basic Scheduling Functions.
  1670. * sched_get_priority_min: (libc)Basic Scheduling Functions.
  1671. * sched_getaffinity: (libc)CPU Affinity.
  1672. * sched_getparam: (libc)Basic Scheduling Functions.
  1673. * sched_getscheduler: (libc)Basic Scheduling Functions.
  1674. * sched_rr_get_interval: (libc)Basic Scheduling Functions.
  1675. * sched_setaffinity: (libc)CPU Affinity.
  1676. * sched_setparam: (libc)Basic Scheduling Functions.
  1677. * sched_setscheduler: (libc)Basic Scheduling Functions.
  1678. * sched_yield: (libc)Basic Scheduling Functions.
  1679. * secure_getenv: (libc)Environment Access.
  1680. * seed48: (libc)SVID Random.
  1681. * seed48_r: (libc)SVID Random.
  1682. * seekdir: (libc)Random Access Directory.
  1683. * select: (libc)Waiting for I/O.
  1684. * sem_clockwait: (libc)Waiting with Explicit Clocks.
  1685. * sem_close: (libc)Semaphores.
  1686. * sem_destroy: (libc)Semaphores.
  1687. * sem_getvalue: (libc)Semaphores.
  1688. * sem_init: (libc)Semaphores.
  1689. * sem_open: (libc)Semaphores.
  1690. * sem_post: (libc)Semaphores.
  1691. * sem_timedwait: (libc)Semaphores.
  1692. * sem_trywait: (libc)Semaphores.
  1693. * sem_unlink: (libc)Semaphores.
  1694. * sem_wait: (libc)Semaphores.
  1695. * semctl: (libc)Semaphores.
  1696. * semget: (libc)Semaphores.
  1697. * semop: (libc)Semaphores.
  1698. * semtimedop: (libc)Semaphores.
  1699. * send: (libc)Sending Data.
  1700. * sendmsg: (libc)Receiving Datagrams.
  1701. * sendto: (libc)Sending Datagrams.
  1702. * setbuf: (libc)Controlling Buffering.
  1703. * setbuffer: (libc)Controlling Buffering.
  1704. * setcontext: (libc)System V contexts.
  1705. * setdomainname: (libc)Host Identification.
  1706. * setegid: (libc)Setting Groups.
  1707. * setenv: (libc)Environment Access.
  1708. * seteuid: (libc)Setting User ID.
  1709. * setfsent: (libc)fstab.
  1710. * setgid: (libc)Setting Groups.
  1711. * setgrent: (libc)Scanning All Groups.
  1712. * setgroups: (libc)Setting Groups.
  1713. * sethostent: (libc)Host Names.
  1714. * sethostid: (libc)Host Identification.
  1715. * sethostname: (libc)Host Identification.
  1716. * setitimer: (libc)Setting an Alarm.
  1717. * setjmp: (libc)Non-Local Details.
  1718. * setlinebuf: (libc)Controlling Buffering.
  1719. * setlocale: (libc)Setting the Locale.
  1720. * setlogmask: (libc)setlogmask.
  1721. * setmntent: (libc)mtab.
  1722. * setnetent: (libc)Networks Database.
  1723. * setnetgrent: (libc)Lookup Netgroup.
  1724. * setpayload: (libc)FP Bit Twiddling.
  1725. * setpayloadf: (libc)FP Bit Twiddling.
  1726. * setpayloadfN: (libc)FP Bit Twiddling.
  1727. * setpayloadfNx: (libc)FP Bit Twiddling.
  1728. * setpayloadl: (libc)FP Bit Twiddling.
  1729. * setpayloadsig: (libc)FP Bit Twiddling.
  1730. * setpayloadsigf: (libc)FP Bit Twiddling.
  1731. * setpayloadsigfN: (libc)FP Bit Twiddling.
  1732. * setpayloadsigfNx: (libc)FP Bit Twiddling.
  1733. * setpayloadsigl: (libc)FP Bit Twiddling.
  1734. * setpgid: (libc)Process Group Functions.
  1735. * setpgrp: (libc)Process Group Functions.
  1736. * setpriority: (libc)Traditional Scheduling Functions.
  1737. * setprotoent: (libc)Protocols Database.
  1738. * setpwent: (libc)Scanning All Users.
  1739. * setregid: (libc)Setting Groups.
  1740. * setreuid: (libc)Setting User ID.
  1741. * setrlimit64: (libc)Limits on Resources.
  1742. * setrlimit: (libc)Limits on Resources.
  1743. * setservent: (libc)Services Database.
  1744. * setsid: (libc)Process Group Functions.
  1745. * setsockopt: (libc)Socket Option Functions.
  1746. * setstate: (libc)BSD Random.
  1747. * setstate_r: (libc)BSD Random.
  1748. * settimeofday: (libc)Setting and Adjusting the Time.
  1749. * setuid: (libc)Setting User ID.
  1750. * setutent: (libc)Manipulating the Database.
  1751. * setutxent: (libc)XPG Functions.
  1752. * setvbuf: (libc)Controlling Buffering.
  1753. * shm_open: (libc)Memory-mapped I/O.
  1754. * shm_unlink: (libc)Memory-mapped I/O.
  1755. * shutdown: (libc)Closing a Socket.
  1756. * sigabbrev_np: (libc)Signal Messages.
  1757. * sigaction: (libc)Advanced Signal Handling.
  1758. * sigaddset: (libc)Signal Sets.
  1759. * sigaltstack: (libc)Signal Stack.
  1760. * sigblock: (libc)BSD Signal Handling.
  1761. * sigdelset: (libc)Signal Sets.
  1762. * sigdescr_np: (libc)Signal Messages.
  1763. * sigemptyset: (libc)Signal Sets.
  1764. * sigfillset: (libc)Signal Sets.
  1765. * siginterrupt: (libc)BSD Signal Handling.
  1766. * sigismember: (libc)Signal Sets.
  1767. * siglongjmp: (libc)Non-Local Exits and Signals.
  1768. * sigmask: (libc)BSD Signal Handling.
  1769. * signal: (libc)Basic Signal Handling.
  1770. * signbit: (libc)FP Bit Twiddling.
  1771. * significand: (libc)Normalization Functions.
  1772. * significandf: (libc)Normalization Functions.
  1773. * significandl: (libc)Normalization Functions.
  1774. * sigpause: (libc)BSD Signal Handling.
  1775. * sigpending: (libc)Checking for Pending Signals.
  1776. * sigprocmask: (libc)Process Signal Mask.
  1777. * sigsetjmp: (libc)Non-Local Exits and Signals.
  1778. * sigsetmask: (libc)BSD Signal Handling.
  1779. * sigstack: (libc)Signal Stack.
  1780. * sigsuspend: (libc)Sigsuspend.
  1781. * sin: (libc)Trig Functions.
  1782. * sincos: (libc)Trig Functions.
  1783. * sincosf: (libc)Trig Functions.
  1784. * sincosfN: (libc)Trig Functions.
  1785. * sincosfNx: (libc)Trig Functions.
  1786. * sincosl: (libc)Trig Functions.
  1787. * sinf: (libc)Trig Functions.
  1788. * sinfN: (libc)Trig Functions.
  1789. * sinfNx: (libc)Trig Functions.
  1790. * sinh: (libc)Hyperbolic Functions.
  1791. * sinhf: (libc)Hyperbolic Functions.
  1792. * sinhfN: (libc)Hyperbolic Functions.
  1793. * sinhfNx: (libc)Hyperbolic Functions.
  1794. * sinhl: (libc)Hyperbolic Functions.
  1795. * sinl: (libc)Trig Functions.
  1796. * sleep: (libc)Sleeping.
  1797. * snprintf: (libc)Formatted Output Functions.
  1798. * socket: (libc)Creating a Socket.
  1799. * socketpair: (libc)Socket Pairs.
  1800. * sprintf: (libc)Formatted Output Functions.
  1801. * sqrt: (libc)Exponents and Logarithms.
  1802. * sqrtf: (libc)Exponents and Logarithms.
  1803. * sqrtfN: (libc)Exponents and Logarithms.
  1804. * sqrtfNx: (libc)Exponents and Logarithms.
  1805. * sqrtl: (libc)Exponents and Logarithms.
  1806. * srand48: (libc)SVID Random.
  1807. * srand48_r: (libc)SVID Random.
  1808. * srand: (libc)ISO Random.
  1809. * srandom: (libc)BSD Random.
  1810. * srandom_r: (libc)BSD Random.
  1811. * sscanf: (libc)Formatted Input Functions.
  1812. * ssignal: (libc)Basic Signal Handling.
  1813. * stat64: (libc)Reading Attributes.
  1814. * stat: (libc)Reading Attributes.
  1815. * stime: (libc)Setting and Adjusting the Time.
  1816. * stpcpy: (libc)Copying Strings and Arrays.
  1817. * stpncpy: (libc)Truncating Strings.
  1818. * strcasecmp: (libc)String/Array Comparison.
  1819. * strcasestr: (libc)Search Functions.
  1820. * strcat: (libc)Concatenating Strings.
  1821. * strchr: (libc)Search Functions.
  1822. * strchrnul: (libc)Search Functions.
  1823. * strcmp: (libc)String/Array Comparison.
  1824. * strcoll: (libc)Collation Functions.
  1825. * strcpy: (libc)Copying Strings and Arrays.
  1826. * strcspn: (libc)Search Functions.
  1827. * strdup: (libc)Copying Strings and Arrays.
  1828. * strdupa: (libc)Copying Strings and Arrays.
  1829. * strerror: (libc)Error Messages.
  1830. * strerror_r: (libc)Error Messages.
  1831. * strerrordesc_np: (libc)Error Messages.
  1832. * strerrorname_np: (libc)Error Messages.
  1833. * strfmon: (libc)Formatting Numbers.
  1834. * strfromd: (libc)Printing of Floats.
  1835. * strfromf: (libc)Printing of Floats.
  1836. * strfromfN: (libc)Printing of Floats.
  1837. * strfromfNx: (libc)Printing of Floats.
  1838. * strfroml: (libc)Printing of Floats.
  1839. * strfry: (libc)Shuffling Bytes.
  1840. * strftime: (libc)Formatting Calendar Time.
  1841. * strlen: (libc)String Length.
  1842. * strncasecmp: (libc)String/Array Comparison.
  1843. * strncat: (libc)Truncating Strings.
  1844. * strncmp: (libc)String/Array Comparison.
  1845. * strncpy: (libc)Truncating Strings.
  1846. * strndup: (libc)Truncating Strings.
  1847. * strndupa: (libc)Truncating Strings.
  1848. * strnlen: (libc)String Length.
  1849. * strpbrk: (libc)Search Functions.
  1850. * strptime: (libc)Low-Level Time String Parsing.
  1851. * strrchr: (libc)Search Functions.
  1852. * strsep: (libc)Finding Tokens in a String.
  1853. * strsignal: (libc)Signal Messages.
  1854. * strspn: (libc)Search Functions.
  1855. * strstr: (libc)Search Functions.
  1856. * strtod: (libc)Parsing of Floats.
  1857. * strtof: (libc)Parsing of Floats.
  1858. * strtofN: (libc)Parsing of Floats.
  1859. * strtofNx: (libc)Parsing of Floats.
  1860. * strtoimax: (libc)Parsing of Integers.
  1861. * strtok: (libc)Finding Tokens in a String.
  1862. * strtok_r: (libc)Finding Tokens in a String.
  1863. * strtol: (libc)Parsing of Integers.
  1864. * strtold: (libc)Parsing of Floats.
  1865. * strtoll: (libc)Parsing of Integers.
  1866. * strtoq: (libc)Parsing of Integers.
  1867. * strtoul: (libc)Parsing of Integers.
  1868. * strtoull: (libc)Parsing of Integers.
  1869. * strtoumax: (libc)Parsing of Integers.
  1870. * strtouq: (libc)Parsing of Integers.
  1871. * strverscmp: (libc)String/Array Comparison.
  1872. * strxfrm: (libc)Collation Functions.
  1873. * stty: (libc)BSD Terminal Modes.
  1874. * swapcontext: (libc)System V contexts.
  1875. * swprintf: (libc)Formatted Output Functions.
  1876. * swscanf: (libc)Formatted Input Functions.
  1877. * symlink: (libc)Symbolic Links.
  1878. * sync: (libc)Synchronizing I/O.
  1879. * syscall: (libc)System Calls.
  1880. * sysconf: (libc)Sysconf Definition.
  1881. * syslog: (libc)syslog; vsyslog.
  1882. * system: (libc)Running a Command.
  1883. * sysv_signal: (libc)Basic Signal Handling.
  1884. * tan: (libc)Trig Functions.
  1885. * tanf: (libc)Trig Functions.
  1886. * tanfN: (libc)Trig Functions.
  1887. * tanfNx: (libc)Trig Functions.
  1888. * tanh: (libc)Hyperbolic Functions.
  1889. * tanhf: (libc)Hyperbolic Functions.
  1890. * tanhfN: (libc)Hyperbolic Functions.
  1891. * tanhfNx: (libc)Hyperbolic Functions.
  1892. * tanhl: (libc)Hyperbolic Functions.
  1893. * tanl: (libc)Trig Functions.
  1894. * tcdrain: (libc)Line Control.
  1895. * tcflow: (libc)Line Control.
  1896. * tcflush: (libc)Line Control.
  1897. * tcgetattr: (libc)Mode Functions.
  1898. * tcgetpgrp: (libc)Terminal Access Functions.
  1899. * tcgetsid: (libc)Terminal Access Functions.
  1900. * tcsendbreak: (libc)Line Control.
  1901. * tcsetattr: (libc)Mode Functions.
  1902. * tcsetpgrp: (libc)Terminal Access Functions.
  1903. * tdelete: (libc)Tree Search Function.
  1904. * tdestroy: (libc)Tree Search Function.
  1905. * telldir: (libc)Random Access Directory.
  1906. * tempnam: (libc)Temporary Files.
  1907. * textdomain: (libc)Locating gettext catalog.
  1908. * tfind: (libc)Tree Search Function.
  1909. * tgamma: (libc)Special Functions.
  1910. * tgammaf: (libc)Special Functions.
  1911. * tgammafN: (libc)Special Functions.
  1912. * tgammafNx: (libc)Special Functions.
  1913. * tgammal: (libc)Special Functions.
  1914. * tgkill: (libc)Signaling Another Process.
  1915. * thrd_create: (libc)ISO C Thread Management.
  1916. * thrd_current: (libc)ISO C Thread Management.
  1917. * thrd_detach: (libc)ISO C Thread Management.
  1918. * thrd_equal: (libc)ISO C Thread Management.
  1919. * thrd_exit: (libc)ISO C Thread Management.
  1920. * thrd_join: (libc)ISO C Thread Management.
  1921. * thrd_sleep: (libc)ISO C Thread Management.
  1922. * thrd_yield: (libc)ISO C Thread Management.
  1923. * time: (libc)Getting the Time.
  1924. * timegm: (libc)Broken-down Time.
  1925. * timelocal: (libc)Broken-down Time.
  1926. * times: (libc)Processor Time.
  1927. * tmpfile64: (libc)Temporary Files.
  1928. * tmpfile: (libc)Temporary Files.
  1929. * tmpnam: (libc)Temporary Files.
  1930. * tmpnam_r: (libc)Temporary Files.
  1931. * toascii: (libc)Case Conversion.
  1932. * tolower: (libc)Case Conversion.
  1933. * totalorder: (libc)FP Comparison Functions.
  1934. * totalorderf: (libc)FP Comparison Functions.
  1935. * totalorderfN: (libc)FP Comparison Functions.
  1936. * totalorderfNx: (libc)FP Comparison Functions.
  1937. * totalorderl: (libc)FP Comparison Functions.
  1938. * totalordermag: (libc)FP Comparison Functions.
  1939. * totalordermagf: (libc)FP Comparison Functions.
  1940. * totalordermagfN: (libc)FP Comparison Functions.
  1941. * totalordermagfNx: (libc)FP Comparison Functions.
  1942. * totalordermagl: (libc)FP Comparison Functions.
  1943. * toupper: (libc)Case Conversion.
  1944. * towctrans: (libc)Wide Character Case Conversion.
  1945. * towlower: (libc)Wide Character Case Conversion.
  1946. * towupper: (libc)Wide Character Case Conversion.
  1947. * trunc: (libc)Rounding Functions.
  1948. * truncate64: (libc)File Size.
  1949. * truncate: (libc)File Size.
  1950. * truncf: (libc)Rounding Functions.
  1951. * truncfN: (libc)Rounding Functions.
  1952. * truncfNx: (libc)Rounding Functions.
  1953. * truncl: (libc)Rounding Functions.
  1954. * tsearch: (libc)Tree Search Function.
  1955. * tss_create: (libc)ISO C Thread-local Storage.
  1956. * tss_delete: (libc)ISO C Thread-local Storage.
  1957. * tss_get: (libc)ISO C Thread-local Storage.
  1958. * tss_set: (libc)ISO C Thread-local Storage.
  1959. * ttyname: (libc)Is It a Terminal.
  1960. * ttyname_r: (libc)Is It a Terminal.
  1961. * twalk: (libc)Tree Search Function.
  1962. * twalk_r: (libc)Tree Search Function.
  1963. * tzset: (libc)Time Zone Functions.
  1964. * ufromfp: (libc)Rounding Functions.
  1965. * ufromfpf: (libc)Rounding Functions.
  1966. * ufromfpfN: (libc)Rounding Functions.
  1967. * ufromfpfNx: (libc)Rounding Functions.
  1968. * ufromfpl: (libc)Rounding Functions.
  1969. * ufromfpx: (libc)Rounding Functions.
  1970. * ufromfpxf: (libc)Rounding Functions.
  1971. * ufromfpxfN: (libc)Rounding Functions.
  1972. * ufromfpxfNx: (libc)Rounding Functions.
  1973. * ufromfpxl: (libc)Rounding Functions.
  1974. * ulimit: (libc)Limits on Resources.
  1975. * umask: (libc)Setting Permissions.
  1976. * umount2: (libc)Mount-Unmount-Remount.
  1977. * umount: (libc)Mount-Unmount-Remount.
  1978. * uname: (libc)Platform Type.
  1979. * ungetc: (libc)How Unread.
  1980. * ungetwc: (libc)How Unread.
  1981. * unlink: (libc)Deleting Files.
  1982. * unlockpt: (libc)Allocation.
  1983. * unsetenv: (libc)Environment Access.
  1984. * updwtmp: (libc)Manipulating the Database.
  1985. * utime: (libc)File Times.
  1986. * utimes: (libc)File Times.
  1987. * utmpname: (libc)Manipulating the Database.
  1988. * utmpxname: (libc)XPG Functions.
  1989. * va_arg: (libc)Argument Macros.
  1990. * va_copy: (libc)Argument Macros.
  1991. * va_end: (libc)Argument Macros.
  1992. * va_start: (libc)Argument Macros.
  1993. * valloc: (libc)Aligned Memory Blocks.
  1994. * vasprintf: (libc)Variable Arguments Output.
  1995. * verr: (libc)Error Messages.
  1996. * verrx: (libc)Error Messages.
  1997. * versionsort64: (libc)Scanning Directory Content.
  1998. * versionsort: (libc)Scanning Directory Content.
  1999. * vfork: (libc)Creating a Process.
  2000. * vfprintf: (libc)Variable Arguments Output.
  2001. * vfscanf: (libc)Variable Arguments Input.
  2002. * vfwprintf: (libc)Variable Arguments Output.
  2003. * vfwscanf: (libc)Variable Arguments Input.
  2004. * vlimit: (libc)Limits on Resources.
  2005. * vprintf: (libc)Variable Arguments Output.
  2006. * vscanf: (libc)Variable Arguments Input.
  2007. * vsnprintf: (libc)Variable Arguments Output.
  2008. * vsprintf: (libc)Variable Arguments Output.
  2009. * vsscanf: (libc)Variable Arguments Input.
  2010. * vswprintf: (libc)Variable Arguments Output.
  2011. * vswscanf: (libc)Variable Arguments Input.
  2012. * vsyslog: (libc)syslog; vsyslog.
  2013. * vwarn: (libc)Error Messages.
  2014. * vwarnx: (libc)Error Messages.
  2015. * vwprintf: (libc)Variable Arguments Output.
  2016. * vwscanf: (libc)Variable Arguments Input.
  2017. * wait3: (libc)BSD Wait Functions.
  2018. * wait4: (libc)Process Completion.
  2019. * wait: (libc)Process Completion.
  2020. * waitpid: (libc)Process Completion.
  2021. * warn: (libc)Error Messages.
  2022. * warnx: (libc)Error Messages.
  2023. * wcpcpy: (libc)Copying Strings and Arrays.
  2024. * wcpncpy: (libc)Truncating Strings.
  2025. * wcrtomb: (libc)Converting a Character.
  2026. * wcscasecmp: (libc)String/Array Comparison.
  2027. * wcscat: (libc)Concatenating Strings.
  2028. * wcschr: (libc)Search Functions.
  2029. * wcschrnul: (libc)Search Functions.
  2030. * wcscmp: (libc)String/Array Comparison.
  2031. * wcscoll: (libc)Collation Functions.
  2032. * wcscpy: (libc)Copying Strings and Arrays.
  2033. * wcscspn: (libc)Search Functions.
  2034. * wcsdup: (libc)Copying Strings and Arrays.
  2035. * wcsftime: (libc)Formatting Calendar Time.
  2036. * wcslen: (libc)String Length.
  2037. * wcsncasecmp: (libc)String/Array Comparison.
  2038. * wcsncat: (libc)Truncating Strings.
  2039. * wcsncmp: (libc)String/Array Comparison.
  2040. * wcsncpy: (libc)Truncating Strings.
  2041. * wcsnlen: (libc)String Length.
  2042. * wcsnrtombs: (libc)Converting Strings.
  2043. * wcspbrk: (libc)Search Functions.
  2044. * wcsrchr: (libc)Search Functions.
  2045. * wcsrtombs: (libc)Converting Strings.
  2046. * wcsspn: (libc)Search Functions.
  2047. * wcsstr: (libc)Search Functions.
  2048. * wcstod: (libc)Parsing of Floats.
  2049. * wcstof: (libc)Parsing of Floats.
  2050. * wcstofN: (libc)Parsing of Floats.
  2051. * wcstofNx: (libc)Parsing of Floats.
  2052. * wcstoimax: (libc)Parsing of Integers.
  2053. * wcstok: (libc)Finding Tokens in a String.
  2054. * wcstol: (libc)Parsing of Integers.
  2055. * wcstold: (libc)Parsing of Floats.
  2056. * wcstoll: (libc)Parsing of Integers.
  2057. * wcstombs: (libc)Non-reentrant String Conversion.
  2058. * wcstoq: (libc)Parsing of Integers.
  2059. * wcstoul: (libc)Parsing of Integers.
  2060. * wcstoull: (libc)Parsing of Integers.
  2061. * wcstoumax: (libc)Parsing of Integers.
  2062. * wcstouq: (libc)Parsing of Integers.
  2063. * wcswcs: (libc)Search Functions.
  2064. * wcsxfrm: (libc)Collation Functions.
  2065. * wctob: (libc)Converting a Character.
  2066. * wctomb: (libc)Non-reentrant Character Conversion.
  2067. * wctrans: (libc)Wide Character Case Conversion.
  2068. * wctype: (libc)Classification of Wide Characters.
  2069. * wmemchr: (libc)Search Functions.
  2070. * wmemcmp: (libc)String/Array Comparison.
  2071. * wmemcpy: (libc)Copying Strings and Arrays.
  2072. * wmemmove: (libc)Copying Strings and Arrays.
  2073. * wmempcpy: (libc)Copying Strings and Arrays.
  2074. * wmemset: (libc)Copying Strings and Arrays.
  2075. * wordexp: (libc)Calling Wordexp.
  2076. * wordfree: (libc)Calling Wordexp.
  2077. * wprintf: (libc)Formatted Output Functions.
  2078. * write: (libc)I/O Primitives.
  2079. * writev: (libc)Scatter-Gather.
  2080. * wscanf: (libc)Formatted Input Functions.
  2081. * y0: (libc)Special Functions.
  2082. * y0f: (libc)Special Functions.
  2083. * y0fN: (libc)Special Functions.
  2084. * y0fNx: (libc)Special Functions.
  2085. * y0l: (libc)Special Functions.
  2086. * y1: (libc)Special Functions.
  2087. * y1f: (libc)Special Functions.
  2088. * y1fN: (libc)Special Functions.
  2089. * y1fNx: (libc)Special Functions.
  2090. * y1l: (libc)Special Functions.
  2091. * yn: (libc)Special Functions.
  2092. * ynf: (libc)Special Functions.
  2093. * ynfN: (libc)Special Functions.
  2094. * ynfNx: (libc)Special Functions.
  2095. * ynl: (libc)Special Functions.
  2096. END-INFO-DIR-ENTRY
  2097. 
  2098. File: libc.info, Node: Is It a Terminal, Next: I/O Queues, Up: Low-Level Terminal Interface
  2099. 17.1 Identifying Terminals
  2100. ==========================
  2101. The functions described in this chapter only work on files that
  2102. correspond to terminal devices. You can find out whether a file
  2103. descriptor is associated with a terminal by using the ‘isatty’ function.
  2104. Prototypes for the functions in this section are declared in the
  2105. header file ‘unistd.h’.
  2106. -- Function: int isatty (int FILEDES)
  2107. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  2108. Concepts::.
  2109. This function returns ‘1’ if FILEDES is a file descriptor
  2110. associated with an open terminal device, and 0 otherwise.
  2111. If a file descriptor is associated with a terminal, you can get its
  2112. associated file name using the ‘ttyname’ function. See also the
  2113. ‘ctermid’ function, described in *note Identifying the Terminal::.
  2114. -- Function: char * ttyname (int FILEDES)
  2115. Preliminary: | MT-Unsafe race:ttyname | AS-Unsafe heap lock |
  2116. AC-Unsafe lock fd mem | *Note POSIX Safety Concepts::.
  2117. If the file descriptor FILEDES is associated with a terminal
  2118. device, the ‘ttyname’ function returns a pointer to a
  2119. statically-allocated, null-terminated string containing the file
  2120. name of the terminal file. The value is a null pointer if the file
  2121. descriptor isn’t associated with a terminal, or the file name
  2122. cannot be determined.
  2123. -- Function: int ttyname_r (int FILEDES, char *BUF, size_t LEN)
  2124. Preliminary: | MT-Safe | AS-Unsafe heap | AC-Unsafe mem fd | *Note
  2125. POSIX Safety Concepts::.
  2126. The ‘ttyname_r’ function is similar to the ‘ttyname’ function
  2127. except that it places its result into the user-specified buffer
  2128. starting at BUF with length LEN.
  2129. The normal return value from ‘ttyname_r’ is 0. Otherwise an error
  2130. number is returned to indicate the error. The following ‘errno’
  2131. error conditions are defined for this function:
  2132. ‘EBADF’
  2133. The FILEDES argument is not a valid file descriptor.
  2134. ‘ENOTTY’
  2135. The FILEDES is not associated with a terminal.
  2136. ‘ERANGE’
  2137. The buffer length LEN is too small to store the string to be
  2138. returned.
  2139. ‘ENODEV’
  2140. The FILEDES is associated with a terminal device that is a
  2141. slave pseudo-terminal, but the file name associated with that
  2142. device could not be determined. This is a GNU extension.
  2143. 
  2144. File: libc.info, Node: I/O Queues, Next: Canonical or Not, Prev: Is It a Terminal, Up: Low-Level Terminal Interface
  2145. 17.2 I/O Queues
  2146. ===============
  2147. Many of the remaining functions in this section refer to the input and
  2148. output queues of a terminal device. These queues implement a form of
  2149. buffering _within the kernel_ independent of the buffering implemented
  2150. by I/O streams (*note I/O on Streams::).
  2151. The “terminal input queue” is also sometimes referred to as its
  2152. “typeahead buffer”. It holds the characters that have been received
  2153. from the terminal but not yet read by any process.
  2154. The size of the input queue is described by the ‘MAX_INPUT’ and
  2155. ‘_POSIX_MAX_INPUT’ parameters; see *note Limits for Files::. You are
  2156. guaranteed a queue size of at least ‘MAX_INPUT’, but the queue might be
  2157. larger, and might even dynamically change size. If input flow control
  2158. is enabled by setting the ‘IXOFF’ input mode bit (*note Input Modes::),
  2159. the terminal driver transmits STOP and START characters to the terminal
  2160. when necessary to prevent the queue from overflowing. Otherwise, input
  2161. may be lost if it comes in too fast from the terminal. In canonical
  2162. mode, all input stays in the queue until a newline character is
  2163. received, so the terminal input queue can fill up when you type a very
  2164. long line. *Note Canonical or Not::.
  2165. The “terminal output queue” is like the input queue, but for output;
  2166. it contains characters that have been written by processes, but not yet
  2167. transmitted to the terminal. If output flow control is enabled by
  2168. setting the ‘IXON’ input mode bit (*note Input Modes::), the terminal
  2169. driver obeys START and STOP characters sent by the terminal to stop and
  2170. restart transmission of output.
  2171. “Clearing” the terminal input queue means discarding any characters
  2172. that have been received but not yet read. Similarly, clearing the
  2173. terminal output queue means discarding any characters that have been
  2174. written but not yet transmitted.
  2175. 
  2176. File: libc.info, Node: Canonical or Not, Next: Terminal Modes, Prev: I/O Queues, Up: Low-Level Terminal Interface
  2177. 17.3 Two Styles of Input: Canonical or Not
  2178. ==========================================
  2179. POSIX systems support two basic modes of input: canonical and
  2180. noncanonical.
  2181. In “canonical input processing” mode, terminal input is processed in
  2182. lines terminated by newline (‘'\n'’), EOF, or EOL characters. No input
  2183. can be read until an entire line has been typed by the user, and the
  2184. ‘read’ function (*note I/O Primitives::) returns at most a single line
  2185. of input, no matter how many bytes are requested.
  2186. In canonical input mode, the operating system provides input editing
  2187. facilities: some characters are interpreted specially to perform editing
  2188. operations within the current line of text, such as ERASE and KILL.
  2189. *Note Editing Characters::.
  2190. The constants ‘_POSIX_MAX_CANON’ and ‘MAX_CANON’ parameterize the
  2191. maximum number of bytes which may appear in a single line of canonical
  2192. input. *Note Limits for Files::. You are guaranteed a maximum line
  2193. length of at least ‘MAX_CANON’ bytes, but the maximum might be larger,
  2194. and might even dynamically change size.
  2195. In “noncanonical input processing” mode, characters are not grouped
  2196. into lines, and ERASE and KILL processing is not performed. The
  2197. granularity with which bytes are read in noncanonical input mode is
  2198. controlled by the MIN and TIME settings. *Note Noncanonical Input::.
  2199. Most programs use canonical input mode, because this gives the user a
  2200. way to edit input line by line. The usual reason to use noncanonical
  2201. mode is when the program accepts single-character commands or provides
  2202. its own editing facilities.
  2203. The choice of canonical or noncanonical input is controlled by the
  2204. ‘ICANON’ flag in the ‘c_lflag’ member of ‘struct termios’. *Note Local
  2205. Modes::.
  2206. 
  2207. File: libc.info, Node: Terminal Modes, Next: BSD Terminal Modes, Prev: Canonical or Not, Up: Low-Level Terminal Interface
  2208. 17.4 Terminal Modes
  2209. ===================
  2210. This section describes the various terminal attributes that control how
  2211. input and output are done. The functions, data structures, and symbolic
  2212. constants are all declared in the header file ‘termios.h’.
  2213. Don’t confuse terminal attributes with file attributes. A device
  2214. special file which is associated with a terminal has file attributes as
  2215. described in *note File Attributes::. These are unrelated to the
  2216. attributes of the terminal device itself, which are discussed in this
  2217. section.
  2218. * Menu:
  2219. * Mode Data Types:: The data type ‘struct termios’ and
  2220. related types.
  2221. * Mode Functions:: Functions to read and set the terminal
  2222. attributes.
  2223. * Setting Modes:: The right way to set terminal attributes
  2224. reliably.
  2225. * Input Modes:: Flags controlling low-level input handling.
  2226. * Output Modes:: Flags controlling low-level output handling.
  2227. * Control Modes:: Flags controlling serial port behavior.
  2228. * Local Modes:: Flags controlling high-level input handling.
  2229. * Line Speed:: How to read and set the terminal line speed.
  2230. * Special Characters:: Characters that have special effects,
  2231. and how to change them.
  2232. * Noncanonical Input:: Controlling how long to wait for input.
  2233. 
  2234. File: libc.info, Node: Mode Data Types, Next: Mode Functions, Up: Terminal Modes
  2235. 17.4.1 Terminal Mode Data Types
  2236. -------------------------------
  2237. The entire collection of attributes of a terminal is stored in a
  2238. structure of type ‘struct termios’. This structure is used with the
  2239. functions ‘tcgetattr’ and ‘tcsetattr’ to read and set the attributes.
  2240. -- Data Type: struct termios
  2241. A ‘struct termios’ records all the I/O attributes of a terminal.
  2242. The structure includes at least the following members:
  2243. ‘tcflag_t c_iflag’
  2244. A bit mask specifying flags for input modes; see *note Input
  2245. Modes::.
  2246. ‘tcflag_t c_oflag’
  2247. A bit mask specifying flags for output modes; see *note Output
  2248. Modes::.
  2249. ‘tcflag_t c_cflag’
  2250. A bit mask specifying flags for control modes; see *note
  2251. Control Modes::.
  2252. ‘tcflag_t c_lflag’
  2253. A bit mask specifying flags for local modes; see *note Local
  2254. Modes::.
  2255. ‘cc_t c_cc[NCCS]’
  2256. An array specifying which characters are associated with
  2257. various control functions; see *note Special Characters::.
  2258. The ‘struct termios’ structure also contains members which encode
  2259. input and output transmission speeds, but the representation is not
  2260. specified. *Note Line Speed::, for how to examine and store the
  2261. speed values.
  2262. The following sections describe the details of the members of the
  2263. ‘struct termios’ structure.
  2264. -- Data Type: tcflag_t
  2265. This is an unsigned integer type used to represent the various bit
  2266. masks for terminal flags.
  2267. -- Data Type: cc_t
  2268. This is an unsigned integer type used to represent characters
  2269. associated with various terminal control functions.
  2270. -- Macro: int NCCS
  2271. The value of this macro is the number of elements in the ‘c_cc’
  2272. array.
  2273. 
  2274. File: libc.info, Node: Mode Functions, Next: Setting Modes, Prev: Mode Data Types, Up: Terminal Modes
  2275. 17.4.2 Terminal Mode Functions
  2276. ------------------------------
  2277. -- Function: int tcgetattr (int FILEDES, struct termios *TERMIOS-P)
  2278. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  2279. Concepts::.
  2280. This function is used to examine the attributes of the terminal
  2281. device with file descriptor FILEDES. The attributes are returned
  2282. in the structure that TERMIOS-P points to.
  2283. If successful, ‘tcgetattr’ returns 0. A return value of -1
  2284. indicates an error. The following ‘errno’ error conditions are
  2285. defined for this function:
  2286. ‘EBADF’
  2287. The FILEDES argument is not a valid file descriptor.
  2288. ‘ENOTTY’
  2289. The FILEDES is not associated with a terminal.
  2290. -- Function: int tcsetattr (int FILEDES, int WHEN, const struct termios
  2291. *TERMIOS-P)
  2292. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  2293. Concepts::.
  2294. This function sets the attributes of the terminal device with file
  2295. descriptor FILEDES. The new attributes are taken from the
  2296. structure that TERMIOS-P points to.
  2297. The WHEN argument specifies how to deal with input and output
  2298. already queued. It can be one of the following values:
  2299. ‘TCSANOW’
  2300. Make the change immediately.
  2301. ‘TCSADRAIN’
  2302. Make the change after waiting until all queued output has been
  2303. written. You should usually use this option when changing
  2304. parameters that affect output.
  2305. ‘TCSAFLUSH’
  2306. This is like ‘TCSADRAIN’, but also discards any queued input.
  2307. ‘TCSASOFT’
  2308. This is a flag bit that you can add to any of the above
  2309. alternatives. Its meaning is to inhibit alteration of the
  2310. state of the terminal hardware. It is a BSD extension; it is
  2311. only supported on BSD systems and GNU/Hurd systems.
  2312. Using ‘TCSASOFT’ is exactly the same as setting the ‘CIGNORE’
  2313. bit in the ‘c_cflag’ member of the structure TERMIOS-P points
  2314. to. *Note Control Modes::, for a description of ‘CIGNORE’.
  2315. If this function is called from a background process on its
  2316. controlling terminal, normally all processes in the process group
  2317. are sent a ‘SIGTTOU’ signal, in the same way as if the process were
  2318. trying to write to the terminal. The exception is if the calling
  2319. process itself is ignoring or blocking ‘SIGTTOU’ signals, in which
  2320. case the operation is performed and no signal is sent. *Note Job
  2321. Control::.
  2322. If successful, ‘tcsetattr’ returns 0. A return value of -1
  2323. indicates an error. The following ‘errno’ error conditions are
  2324. defined for this function:
  2325. ‘EBADF’
  2326. The FILEDES argument is not a valid file descriptor.
  2327. ‘ENOTTY’
  2328. The FILEDES is not associated with a terminal.
  2329. ‘EINVAL’
  2330. Either the value of the ‘when’ argument is not valid, or there
  2331. is something wrong with the data in the TERMIOS-P argument.
  2332. Although ‘tcgetattr’ and ‘tcsetattr’ specify the terminal device with
  2333. a file descriptor, the attributes are those of the terminal device
  2334. itself and not of the file descriptor. This means that the effects of
  2335. changing terminal attributes are persistent; if another process opens
  2336. the terminal file later on, it will see the changed attributes even
  2337. though it doesn’t have anything to do with the open file descriptor you
  2338. originally specified in changing the attributes.
  2339. Similarly, if a single process has multiple or duplicated file
  2340. descriptors for the same terminal device, changing the terminal
  2341. attributes affects input and output to all of these file descriptors.
  2342. This means, for example, that you can’t open one file descriptor or
  2343. stream to read from a terminal in the normal line-buffered, echoed mode;
  2344. and simultaneously have another file descriptor for the same terminal
  2345. that you use to read from it in single-character, non-echoed mode.
  2346. Instead, you have to explicitly switch the terminal back and forth
  2347. between the two modes.
  2348. 
  2349. File: libc.info, Node: Setting Modes, Next: Input Modes, Prev: Mode Functions, Up: Terminal Modes
  2350. 17.4.3 Setting Terminal Modes Properly
  2351. --------------------------------------
  2352. When you set terminal modes, you should call ‘tcgetattr’ first to get
  2353. the current modes of the particular terminal device, modify only those
  2354. modes that you are really interested in, and store the result with
  2355. ‘tcsetattr’.
  2356. It’s a bad idea to simply initialize a ‘struct termios’ structure to
  2357. a chosen set of attributes and pass it directly to ‘tcsetattr’. Your
  2358. program may be run years from now, on systems that support members not
  2359. documented in this manual. The way to avoid setting these members to
  2360. unreasonable values is to avoid changing them.
  2361. What’s more, different terminal devices may require different mode
  2362. settings in order to function properly. So you should avoid blindly
  2363. copying attributes from one terminal device to another.
  2364. When a member contains a collection of independent flags, as the
  2365. ‘c_iflag’, ‘c_oflag’ and ‘c_cflag’ members do, even setting the entire
  2366. member is a bad idea, because particular operating systems have their
  2367. own flags. Instead, you should start with the current value of the
  2368. member and alter only the flags whose values matter in your program,
  2369. leaving any other flags unchanged.
  2370. Here is an example of how to set one flag (‘ISTRIP’) in the ‘struct
  2371. termios’ structure while properly preserving all the other data in the
  2372. structure:
  2373. int
  2374. set_istrip (int desc, int value)
  2375. {
  2376. struct termios settings;
  2377. int result;
  2378. result = tcgetattr (desc, &settings);
  2379. if (result < 0)
  2380. {
  2381. perror ("error in tcgetattr");
  2382. return 0;
  2383. }
  2384. settings.c_iflag &= ~ISTRIP;
  2385. if (value)
  2386. settings.c_iflag |= ISTRIP;
  2387. result = tcsetattr (desc, TCSANOW, &settings);
  2388. if (result < 0)
  2389. {
  2390. perror ("error in tcsetattr");
  2391. return 0;
  2392. }
  2393. return 1;
  2394. }
  2395. 
  2396. File: libc.info, Node: Input Modes, Next: Output Modes, Prev: Setting Modes, Up: Terminal Modes
  2397. 17.4.4 Input Modes
  2398. ------------------
  2399. This section describes the terminal attribute flags that control fairly
  2400. low-level aspects of input processing: handling of parity errors, break
  2401. signals, flow control, and <RET> and <LFD> characters.
  2402. All of these flags are bits in the ‘c_iflag’ member of the ‘struct
  2403. termios’ structure. The member is an integer, and you change flags
  2404. using the operators ‘&’, ‘|’ and ‘^’. Don’t try to specify the entire
  2405. value for ‘c_iflag’—instead, change only specific flags and leave the
  2406. rest untouched (*note Setting Modes::).
  2407. -- Macro: tcflag_t INPCK
  2408. If this bit is set, input parity checking is enabled. If it is not
  2409. set, no checking at all is done for parity errors on input; the
  2410. characters are simply passed through to the application.
  2411. Parity checking on input processing is independent of whether
  2412. parity detection and generation on the underlying terminal hardware
  2413. is enabled; see *note Control Modes::. For example, you could
  2414. clear the ‘INPCK’ input mode flag and set the ‘PARENB’ control mode
  2415. flag to ignore parity errors on input, but still generate parity on
  2416. output.
  2417. If this bit is set, what happens when a parity error is detected
  2418. depends on whether the ‘IGNPAR’ or ‘PARMRK’ bits are set. If
  2419. neither of these bits are set, a byte with a parity error is passed
  2420. to the application as a ‘'\0'’ character.
  2421. -- Macro: tcflag_t IGNPAR
  2422. If this bit is set, any byte with a framing or parity error is
  2423. ignored. This is only useful if ‘INPCK’ is also set.
  2424. -- Macro: tcflag_t PARMRK
  2425. If this bit is set, input bytes with parity or framing errors are
  2426. marked when passed to the program. This bit is meaningful only
  2427. when ‘INPCK’ is set and ‘IGNPAR’ is not set.
  2428. The way erroneous bytes are marked is with two preceding bytes,
  2429. ‘377’ and ‘0’. Thus, the program actually reads three bytes for
  2430. one erroneous byte received from the terminal.
  2431. If a valid byte has the value ‘0377’, and ‘ISTRIP’ (see below) is
  2432. not set, the program might confuse it with the prefix that marks a
  2433. parity error. So a valid byte ‘0377’ is passed to the program as
  2434. two bytes, ‘0377’ ‘0377’, in this case.
  2435. -- Macro: tcflag_t ISTRIP
  2436. If this bit is set, valid input bytes are stripped to seven bits;
  2437. otherwise, all eight bits are available for programs to read.
  2438. -- Macro: tcflag_t IGNBRK
  2439. If this bit is set, break conditions are ignored.
  2440. A “break condition” is defined in the context of asynchronous
  2441. serial data transmission as a series of zero-value bits longer than
  2442. a single byte.
  2443. -- Macro: tcflag_t BRKINT
  2444. If this bit is set and ‘IGNBRK’ is not set, a break condition
  2445. clears the terminal input and output queues and raises a ‘SIGINT’
  2446. signal for the foreground process group associated with the
  2447. terminal.
  2448. If neither ‘BRKINT’ nor ‘IGNBRK’ are set, a break condition is
  2449. passed to the application as a single ‘'\0'’ character if ‘PARMRK’
  2450. is not set, or otherwise as a three-character sequence ‘'\377'’,
  2451. ‘'\0'’, ‘'\0'’.
  2452. -- Macro: tcflag_t IGNCR
  2453. If this bit is set, carriage return characters (‘'\r'’) are
  2454. discarded on input. Discarding carriage return may be useful on
  2455. terminals that send both carriage return and linefeed when you type
  2456. the <RET> key.
  2457. -- Macro: tcflag_t ICRNL
  2458. If this bit is set and ‘IGNCR’ is not set, carriage return
  2459. characters (‘'\r'’) received as input are passed to the application
  2460. as newline characters (‘'\n'’).
  2461. -- Macro: tcflag_t INLCR
  2462. If this bit is set, newline characters (‘'\n'’) received as input
  2463. are passed to the application as carriage return characters
  2464. (‘'\r'’).
  2465. -- Macro: tcflag_t IXOFF
  2466. If this bit is set, start/stop control on input is enabled. In
  2467. other words, the computer sends STOP and START characters as
  2468. necessary to prevent input from coming in faster than programs are
  2469. reading it. The idea is that the actual terminal hardware that is
  2470. generating the input data responds to a STOP character by
  2471. suspending transmission, and to a START character by resuming
  2472. transmission. *Note Start/Stop Characters::.
  2473. -- Macro: tcflag_t IXON
  2474. If this bit is set, start/stop control on output is enabled. In
  2475. other words, if the computer receives a STOP character, it suspends
  2476. output until a START character is received. In this case, the STOP
  2477. and START characters are never passed to the application program.
  2478. If this bit is not set, then START and STOP can be read as ordinary
  2479. characters. *Note Start/Stop Characters::.
  2480. -- Macro: tcflag_t IXANY
  2481. If this bit is set, any input character restarts output when output
  2482. has been suspended with the STOP character. Otherwise, only the
  2483. START character restarts output.
  2484. This is a BSD extension; it exists only on BSD systems and
  2485. GNU/Linux and GNU/Hurd systems.
  2486. -- Macro: tcflag_t IMAXBEL
  2487. If this bit is set, then filling up the terminal input buffer sends
  2488. a BEL character (code ‘007’) to the terminal to ring the bell.
  2489. This is a BSD extension.
  2490. 
  2491. File: libc.info, Node: Output Modes, Next: Control Modes, Prev: Input Modes, Up: Terminal Modes
  2492. 17.4.5 Output Modes
  2493. -------------------
  2494. This section describes the terminal flags and fields that control how
  2495. output characters are translated and padded for display. All of these
  2496. are contained in the ‘c_oflag’ member of the ‘struct termios’ structure.
  2497. The ‘c_oflag’ member itself is an integer, and you change the flags
  2498. and fields using the operators ‘&’, ‘|’, and ‘^’. Don’t try to specify
  2499. the entire value for ‘c_oflag’—instead, change only specific flags and
  2500. leave the rest untouched (*note Setting Modes::).
  2501. -- Macro: tcflag_t OPOST
  2502. If this bit is set, output data is processed in some unspecified
  2503. way so that it is displayed appropriately on the terminal device.
  2504. This typically includes mapping newline characters (‘'\n'’) onto
  2505. carriage return and linefeed pairs.
  2506. If this bit isn’t set, the characters are transmitted as-is.
  2507. The following three bits are effective only if ‘OPOST’ is set.
  2508. -- Macro: tcflag_t ONLCR
  2509. If this bit is set, convert the newline character on output into a
  2510. pair of characters, carriage return followed by linefeed.
  2511. -- Macro: tcflag_t OXTABS
  2512. If this bit is set, convert tab characters on output into the
  2513. appropriate number of spaces to emulate a tab stop every eight
  2514. columns. This bit exists only on BSD systems and GNU/Hurd systems;
  2515. on GNU/Linux systems it is available as ‘XTABS’.
  2516. -- Macro: tcflag_t ONOEOT
  2517. If this bit is set, discard ‘C-d’ characters (code ‘004’) on
  2518. output. These characters cause many dial-up terminals to
  2519. disconnect. This bit exists only on BSD systems and GNU/Hurd
  2520. systems.
  2521. 
  2522. File: libc.info, Node: Control Modes, Next: Local Modes, Prev: Output Modes, Up: Terminal Modes
  2523. 17.4.6 Control Modes
  2524. --------------------
  2525. This section describes the terminal flags and fields that control
  2526. parameters usually associated with asynchronous serial data
  2527. transmission. These flags may not make sense for other kinds of
  2528. terminal ports (such as a network connection pseudo-terminal). All of
  2529. these are contained in the ‘c_cflag’ member of the ‘struct termios’
  2530. structure.
  2531. The ‘c_cflag’ member itself is an integer, and you change the flags
  2532. and fields using the operators ‘&’, ‘|’, and ‘^’. Don’t try to specify
  2533. the entire value for ‘c_cflag’—instead, change only specific flags and
  2534. leave the rest untouched (*note Setting Modes::).
  2535. -- Macro: tcflag_t CLOCAL
  2536. If this bit is set, it indicates that the terminal is connected
  2537. “locally” and that the modem status lines (such as carrier detect)
  2538. should be ignored.
  2539. On many systems if this bit is not set and you call ‘open’ without
  2540. the ‘O_NONBLOCK’ flag set, ‘open’ blocks until a modem connection
  2541. is established.
  2542. If this bit is not set and a modem disconnect is detected, a
  2543. ‘SIGHUP’ signal is sent to the controlling process group for the
  2544. terminal (if it has one). Normally, this causes the process to
  2545. exit; see *note Signal Handling::. Reading from the terminal after
  2546. a disconnect causes an end-of-file condition, and writing causes an
  2547. ‘EIO’ error to be returned. The terminal device must be closed and
  2548. reopened to clear the condition.
  2549. -- Macro: tcflag_t HUPCL
  2550. If this bit is set, a modem disconnect is generated when all
  2551. processes that have the terminal device open have either closed the
  2552. file or exited.
  2553. -- Macro: tcflag_t CREAD
  2554. If this bit is set, input can be read from the terminal.
  2555. Otherwise, input is discarded when it arrives.
  2556. -- Macro: tcflag_t CSTOPB
  2557. If this bit is set, two stop bits are used. Otherwise, only one
  2558. stop bit is used.
  2559. -- Macro: tcflag_t PARENB
  2560. If this bit is set, generation and detection of a parity bit are
  2561. enabled. *Note Input Modes::, for information on how input parity
  2562. errors are handled.
  2563. If this bit is not set, no parity bit is added to output
  2564. characters, and input characters are not checked for correct
  2565. parity.
  2566. -- Macro: tcflag_t PARODD
  2567. This bit is only useful if ‘PARENB’ is set. If ‘PARODD’ is set,
  2568. odd parity is used, otherwise even parity is used.
  2569. The control mode flags also includes a field for the number of bits
  2570. per character. You can use the ‘CSIZE’ macro as a mask to extract the
  2571. value, like this: ‘settings.c_cflag & CSIZE’.
  2572. -- Macro: tcflag_t CSIZE
  2573. This is a mask for the number of bits per character.
  2574. -- Macro: tcflag_t CS5
  2575. This specifies five bits per byte.
  2576. -- Macro: tcflag_t CS6
  2577. This specifies six bits per byte.
  2578. -- Macro: tcflag_t CS7
  2579. This specifies seven bits per byte.
  2580. -- Macro: tcflag_t CS8
  2581. This specifies eight bits per byte.
  2582. The following four bits are BSD extensions; these exist only on BSD
  2583. systems and GNU/Hurd systems.
  2584. -- Macro: tcflag_t CCTS_OFLOW
  2585. If this bit is set, enable flow control of output based on the CTS
  2586. wire (RS232 protocol).
  2587. -- Macro: tcflag_t CRTS_IFLOW
  2588. If this bit is set, enable flow control of input based on the RTS
  2589. wire (RS232 protocol).
  2590. -- Macro: tcflag_t MDMBUF
  2591. If this bit is set, enable carrier-based flow control of output.
  2592. -- Macro: tcflag_t CIGNORE
  2593. If this bit is set, it says to ignore the control modes and line
  2594. speed values entirely. This is only meaningful in a call to
  2595. ‘tcsetattr’.
  2596. The ‘c_cflag’ member and the line speed values returned by
  2597. ‘cfgetispeed’ and ‘cfgetospeed’ will be unaffected by the call.
  2598. ‘CIGNORE’ is useful if you want to set all the software modes in
  2599. the other members, but leave the hardware details in ‘c_cflag’
  2600. unchanged. (This is how the ‘TCSASOFT’ flag to ‘tcsettattr’
  2601. works.)
  2602. This bit is never set in the structure filled in by ‘tcgetattr’.
  2603. 
  2604. File: libc.info, Node: Local Modes, Next: Line Speed, Prev: Control Modes, Up: Terminal Modes
  2605. 17.4.7 Local Modes
  2606. ------------------
  2607. This section describes the flags for the ‘c_lflag’ member of the ‘struct
  2608. termios’ structure. These flags generally control higher-level aspects
  2609. of input processing than the input modes flags described in *note Input
  2610. Modes::, such as echoing, signals, and the choice of canonical or
  2611. noncanonical input.
  2612. The ‘c_lflag’ member itself is an integer, and you change the flags
  2613. and fields using the operators ‘&’, ‘|’, and ‘^’. Don’t try to specify
  2614. the entire value for ‘c_lflag’—instead, change only specific flags and
  2615. leave the rest untouched (*note Setting Modes::).
  2616. -- Macro: tcflag_t ICANON
  2617. This bit, if set, enables canonical input processing mode.
  2618. Otherwise, input is processed in noncanonical mode. *Note
  2619. Canonical or Not::.
  2620. -- Macro: tcflag_t ECHO
  2621. If this bit is set, echoing of input characters back to the
  2622. terminal is enabled.
  2623. -- Macro: tcflag_t ECHOE
  2624. If this bit is set, echoing indicates erasure of input with the
  2625. ERASE character by erasing the last character in the current line
  2626. from the screen. Otherwise, the character erased is re-echoed to
  2627. show what has happened (suitable for a printing terminal).
  2628. This bit only controls the display behavior; the ‘ICANON’ bit by
  2629. itself controls actual recognition of the ERASE character and
  2630. erasure of input, without which ‘ECHOE’ is simply irrelevant.
  2631. -- Macro: tcflag_t ECHOPRT
  2632. This bit, like ‘ECHOE’, enables display of the ERASE character in a
  2633. way that is geared to a hardcopy terminal. When you type the ERASE
  2634. character, a ‘\’ character is printed followed by the first
  2635. character erased. Typing the ERASE character again just prints the
  2636. next character erased. Then, the next time you type a normal
  2637. character, a ‘/’ character is printed before the character echoes.
  2638. This is a BSD extension, and exists only in BSD systems and
  2639. GNU/Linux and GNU/Hurd systems.
  2640. -- Macro: tcflag_t ECHOK
  2641. This bit enables special display of the KILL character by moving to
  2642. a new line after echoing the KILL character normally. The behavior
  2643. of ‘ECHOKE’ (below) is nicer to look at.
  2644. If this bit is not set, the KILL character echoes just as it would
  2645. if it were not the KILL character. Then it is up to the user to
  2646. remember that the KILL character has erased the preceding input;
  2647. there is no indication of this on the screen.
  2648. This bit only controls the display behavior; the ‘ICANON’ bit by
  2649. itself controls actual recognition of the KILL character and
  2650. erasure of input, without which ‘ECHOK’ is simply irrelevant.
  2651. -- Macro: tcflag_t ECHOKE
  2652. This bit is similar to ‘ECHOK’. It enables special display of the
  2653. KILL character by erasing on the screen the entire line that has
  2654. been killed. This is a BSD extension, and exists only in BSD
  2655. systems and GNU/Linux and GNU/Hurd systems.
  2656. -- Macro: tcflag_t ECHONL
  2657. If this bit is set and the ‘ICANON’ bit is also set, then the
  2658. newline (‘'\n'’) character is echoed even if the ‘ECHO’ bit is not
  2659. set.
  2660. -- Macro: tcflag_t ECHOCTL
  2661. If this bit is set and the ‘ECHO’ bit is also set, echo control
  2662. characters with ‘^’ followed by the corresponding text character.
  2663. Thus, control-A echoes as ‘^A’. This is usually the preferred mode
  2664. for interactive input, because echoing a control character back to
  2665. the terminal could have some undesired effect on the terminal.
  2666. This is a BSD extension, and exists only in BSD systems and
  2667. GNU/Linux and GNU/Hurd systems.
  2668. -- Macro: tcflag_t ISIG
  2669. This bit controls whether the INTR, QUIT, and SUSP characters are
  2670. recognized. The functions associated with these characters are
  2671. performed if and only if this bit is set. Being in canonical or
  2672. noncanonical input mode has no effect on the interpretation of
  2673. these characters.
  2674. You should use caution when disabling recognition of these
  2675. characters. Programs that cannot be interrupted interactively are
  2676. very user-unfriendly. If you clear this bit, your program should
  2677. provide some alternate interface that allows the user to
  2678. interactively send the signals associated with these characters, or
  2679. to escape from the program.
  2680. *Note Signal Characters::.
  2681. -- Macro: tcflag_t IEXTEN
  2682. POSIX.1 gives ‘IEXTEN’ implementation-defined meaning, so you
  2683. cannot rely on this interpretation on all systems.
  2684. On BSD systems and GNU/Linux and GNU/Hurd systems, it enables the
  2685. LNEXT and DISCARD characters. *Note Other Special::.
  2686. -- Macro: tcflag_t NOFLSH
  2687. Normally, the INTR, QUIT, and SUSP characters cause input and
  2688. output queues for the terminal to be cleared. If this bit is set,
  2689. the queues are not cleared.
  2690. -- Macro: tcflag_t TOSTOP
  2691. If this bit is set and the system supports job control, then
  2692. ‘SIGTTOU’ signals are generated by background processes that
  2693. attempt to write to the terminal. *Note Access to the Terminal::.
  2694. The following bits are BSD extensions; they exist only on BSD systems
  2695. and GNU/Hurd systems.
  2696. -- Macro: tcflag_t ALTWERASE
  2697. This bit determines how far the WERASE character should erase. The
  2698. WERASE character erases back to the beginning of a word; the
  2699. question is, where do words begin?
  2700. If this bit is clear, then the beginning of a word is a
  2701. nonwhitespace character following a whitespace character. If the
  2702. bit is set, then the beginning of a word is an alphanumeric
  2703. character or underscore following a character which is none of
  2704. those.
  2705. *Note Editing Characters::, for more information about the WERASE
  2706. character.
  2707. -- Macro: tcflag_t FLUSHO
  2708. This is the bit that toggles when the user types the DISCARD
  2709. character. While this bit is set, all output is discarded. *Note
  2710. Other Special::.
  2711. -- Macro: tcflag_t NOKERNINFO
  2712. Setting this bit disables handling of the STATUS character. *Note
  2713. Other Special::.
  2714. -- Macro: tcflag_t PENDIN
  2715. If this bit is set, it indicates that there is a line of input that
  2716. needs to be reprinted. Typing the REPRINT character sets this bit;
  2717. the bit remains set until reprinting is finished. *Note Editing
  2718. Characters::.
  2719. 
  2720. File: libc.info, Node: Line Speed, Next: Special Characters, Prev: Local Modes, Up: Terminal Modes
  2721. 17.4.8 Line Speed
  2722. -----------------
  2723. The terminal line speed tells the computer how fast to read and write
  2724. data on the terminal.
  2725. If the terminal is connected to a real serial line, the terminal
  2726. speed you specify actually controls the line—if it doesn’t match the
  2727. terminal’s own idea of the speed, communication does not work. Real
  2728. serial ports accept only certain standard speeds. Also, particular
  2729. hardware may not support even all the standard speeds. Specifying a
  2730. speed of zero hangs up a dialup connection and turns off modem control
  2731. signals.
  2732. If the terminal is not a real serial line (for example, if it is a
  2733. network connection), then the line speed won’t really affect data
  2734. transmission speed, but some programs will use it to determine the
  2735. amount of padding needed. It’s best to specify a line speed value that
  2736. matches the actual speed of the actual terminal, but you can safely
  2737. experiment with different values to vary the amount of padding.
  2738. There are actually two line speeds for each terminal, one for input
  2739. and one for output. You can set them independently, but most often
  2740. terminals use the same speed for both directions.
  2741. The speed values are stored in the ‘struct termios’ structure, but
  2742. don’t try to access them in the ‘struct termios’ structure directly.
  2743. Instead, you should use the following functions to read and store them:
  2744. -- Function: speed_t cfgetospeed (const struct termios *TERMIOS-P)
  2745. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  2746. Concepts::.
  2747. This function returns the output line speed stored in the structure
  2748. ‘*TERMIOS-P’.
  2749. -- Function: speed_t cfgetispeed (const struct termios *TERMIOS-P)
  2750. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  2751. Concepts::.
  2752. This function returns the input line speed stored in the structure
  2753. ‘*TERMIOS-P’.
  2754. -- Function: int cfsetospeed (struct termios *TERMIOS-P, speed_t SPEED)
  2755. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  2756. Concepts::.
  2757. This function stores SPEED in ‘*TERMIOS-P’ as the output speed.
  2758. The normal return value is 0; a value of -1 indicates an error. If
  2759. SPEED is not a speed, ‘cfsetospeed’ returns -1.
  2760. -- Function: int cfsetispeed (struct termios *TERMIOS-P, speed_t SPEED)
  2761. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  2762. Concepts::.
  2763. This function stores SPEED in ‘*TERMIOS-P’ as the input speed. The
  2764. normal return value is 0; a value of -1 indicates an error. If
  2765. SPEED is not a speed, ‘cfsetospeed’ returns -1.
  2766. -- Function: int cfsetspeed (struct termios *TERMIOS-P, speed_t SPEED)
  2767. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  2768. Concepts::.
  2769. This function stores SPEED in ‘*TERMIOS-P’ as both the input and
  2770. output speeds. The normal return value is 0; a value of -1
  2771. indicates an error. If SPEED is not a speed, ‘cfsetspeed’ returns
  2772. -1. This function is an extension in 4.4 BSD.
  2773. -- Data Type: speed_t
  2774. The ‘speed_t’ type is an unsigned integer data type used to
  2775. represent line speeds.
  2776. The functions ‘cfsetospeed’ and ‘cfsetispeed’ report errors only for
  2777. speed values that the system simply cannot handle. If you specify a
  2778. speed value that is basically acceptable, then those functions will
  2779. succeed. But they do not check that a particular hardware device can
  2780. actually support the specified speeds—in fact, they don’t know which
  2781. device you plan to set the speed for. If you use ‘tcsetattr’ to set the
  2782. speed of a particular device to a value that it cannot handle,
  2783. ‘tcsetattr’ returns -1.
  2784. *Portability note:* In the GNU C Library, the functions above accept
  2785. speeds measured in bits per second as input, and return speed values
  2786. measured in bits per second. Other libraries require speeds to be
  2787. indicated by special codes. For POSIX.1 portability, you must use one
  2788. of the following symbols to represent the speed; their precise numeric
  2789. values are system-dependent, but each name has a fixed meaning: ‘B110’
  2790. stands for 110 bps, ‘B300’ for 300 bps, and so on. There is no portable
  2791. way to represent any speed but these, but these are the only speeds that
  2792. typical serial lines can support.
  2793. B0 B50 B75 B110 B134 B150 B200
  2794. B300 B600 B1200 B1800 B2400 B4800
  2795. B9600 B19200 B38400 B57600 B115200
  2796. B230400 B460800
  2797. BSD defines two additional speed symbols as aliases: ‘EXTA’ is an
  2798. alias for ‘B19200’ and ‘EXTB’ is an alias for ‘B38400’. These aliases
  2799. are obsolete.
  2800. 
  2801. File: libc.info, Node: Special Characters, Next: Noncanonical Input, Prev: Line Speed, Up: Terminal Modes
  2802. 17.4.9 Special Characters
  2803. -------------------------
  2804. In canonical input, the terminal driver recognizes a number of special
  2805. characters which perform various control functions. These include the
  2806. ERASE character (usually <DEL>) for editing input, and other editing
  2807. characters. The INTR character (normally ‘C-c’) for sending a ‘SIGINT’
  2808. signal, and other signal-raising characters, may be available in either
  2809. canonical or noncanonical input mode. All these characters are
  2810. described in this section.
  2811. The particular characters used are specified in the ‘c_cc’ member of
  2812. the ‘struct termios’ structure. This member is an array; each element
  2813. specifies the character for a particular role. Each element has a
  2814. symbolic constant that stands for the index of that element—for example,
  2815. ‘VINTR’ is the index of the element that specifies the INTR character,
  2816. so storing ‘'='’ in ‘TERMIOS.c_cc[VINTR]’ specifies ‘=’ as the INTR
  2817. character.
  2818. On some systems, you can disable a particular special character
  2819. function by specifying the value ‘_POSIX_VDISABLE’ for that role. This
  2820. value is unequal to any possible character code. *Note Options for
  2821. Files::, for more information about how to tell whether the operating
  2822. system you are using supports ‘_POSIX_VDISABLE’.
  2823. * Menu:
  2824. * Editing Characters:: Special characters that terminate lines and
  2825. delete text, and other editing functions.
  2826. * Signal Characters:: Special characters that send or raise signals
  2827. to or for certain classes of processes.
  2828. * Start/Stop Characters:: Special characters that suspend or resume
  2829. suspended output.
  2830. * Other Special:: Other special characters for BSD systems:
  2831. they can discard output, and print status.
  2832. 
  2833. File: libc.info, Node: Editing Characters, Next: Signal Characters, Up: Special Characters
  2834. 17.4.9.1 Characters for Input Editing
  2835. .....................................
  2836. These special characters are active only in canonical input mode. *Note
  2837. Canonical or Not::.
  2838. -- Macro: int VEOF
  2839. This is the subscript for the EOF character in the special control
  2840. character array. ‘TERMIOS.c_cc[VEOF]’ holds the character itself.
  2841. The EOF character is recognized only in canonical input mode. It
  2842. acts as a line terminator in the same way as a newline character,
  2843. but if the EOF character is typed at the beginning of a line it
  2844. causes ‘read’ to return a byte count of zero, indicating
  2845. end-of-file. The EOF character itself is discarded.
  2846. Usually, the EOF character is ‘C-d’.
  2847. -- Macro: int VEOL
  2848. This is the subscript for the EOL character in the special control
  2849. character array. ‘TERMIOS.c_cc[VEOL]’ holds the character itself.
  2850. The EOL character is recognized only in canonical input mode. It
  2851. acts as a line terminator, just like a newline character. The EOL
  2852. character is not discarded; it is read as the last character in the
  2853. input line.
  2854. You don’t need to use the EOL character to make <RET> end a line.
  2855. Just set the ICRNL flag. In fact, this is the default state of
  2856. affairs.
  2857. -- Macro: int VEOL2
  2858. This is the subscript for the EOL2 character in the special control
  2859. character array. ‘TERMIOS.c_cc[VEOL2]’ holds the character itself.
  2860. The EOL2 character works just like the EOL character (see above),
  2861. but it can be a different character. Thus, you can specify two
  2862. characters to terminate an input line, by setting EOL to one of
  2863. them and EOL2 to the other.
  2864. The EOL2 character is a BSD extension; it exists only on BSD
  2865. systems and GNU/Linux and GNU/Hurd systems.
  2866. -- Macro: int VERASE
  2867. This is the subscript for the ERASE character in the special
  2868. control character array. ‘TERMIOS.c_cc[VERASE]’ holds the
  2869. character itself.
  2870. The ERASE character is recognized only in canonical input mode.
  2871. When the user types the erase character, the previous character
  2872. typed is discarded. (If the terminal generates multibyte character
  2873. sequences, this may cause more than one byte of input to be
  2874. discarded.) This cannot be used to erase past the beginning of the
  2875. current line of text. The ERASE character itself is discarded.
  2876. Usually, the ERASE character is <DEL>.
  2877. -- Macro: int VWERASE
  2878. This is the subscript for the WERASE character in the special
  2879. control character array. ‘TERMIOS.c_cc[VWERASE]’ holds the
  2880. character itself.
  2881. The WERASE character is recognized only in canonical mode. It
  2882. erases an entire word of prior input, and any whitespace after it;
  2883. whitespace characters before the word are not erased.
  2884. The definition of a “word” depends on the setting of the
  2885. ‘ALTWERASE’ mode; *note Local Modes::.
  2886. If the ‘ALTWERASE’ mode is not set, a word is defined as a sequence
  2887. of any characters except space or tab.
  2888. If the ‘ALTWERASE’ mode is set, a word is defined as a sequence of
  2889. characters containing only letters, numbers, and underscores,
  2890. optionally followed by one character that is not a letter, number,
  2891. or underscore.
  2892. The WERASE character is usually ‘C-w’.
  2893. This is a BSD extension.
  2894. -- Macro: int VKILL
  2895. This is the subscript for the KILL character in the special control
  2896. character array. ‘TERMIOS.c_cc[VKILL]’ holds the character itself.
  2897. The KILL character is recognized only in canonical input mode.
  2898. When the user types the kill character, the entire contents of the
  2899. current line of input are discarded. The kill character itself is
  2900. discarded too.
  2901. The KILL character is usually ‘C-u’.
  2902. -- Macro: int VREPRINT
  2903. This is the subscript for the REPRINT character in the special
  2904. control character array. ‘TERMIOS.c_cc[VREPRINT]’ holds the
  2905. character itself.
  2906. The REPRINT character is recognized only in canonical mode. It
  2907. reprints the current input line. If some asynchronous output has
  2908. come while you are typing, this lets you see the line you are
  2909. typing clearly again.
  2910. The REPRINT character is usually ‘C-r’.
  2911. This is a BSD extension.
  2912. 
  2913. File: libc.info, Node: Signal Characters, Next: Start/Stop Characters, Prev: Editing Characters, Up: Special Characters
  2914. 17.4.9.2 Characters that Cause Signals
  2915. ......................................
  2916. These special characters may be active in either canonical or
  2917. noncanonical input mode, but only when the ‘ISIG’ flag is set (*note
  2918. Local Modes::).
  2919. -- Macro: int VINTR
  2920. This is the subscript for the INTR character in the special control
  2921. character array. ‘TERMIOS.c_cc[VINTR]’ holds the character itself.
  2922. The INTR (interrupt) character raises a ‘SIGINT’ signal for all
  2923. processes in the foreground job associated with the terminal. The
  2924. INTR character itself is then discarded. *Note Signal Handling::,
  2925. for more information about signals.
  2926. Typically, the INTR character is ‘C-c’.
  2927. -- Macro: int VQUIT
  2928. This is the subscript for the QUIT character in the special control
  2929. character array. ‘TERMIOS.c_cc[VQUIT]’ holds the character itself.
  2930. The QUIT character raises a ‘SIGQUIT’ signal for all processes in
  2931. the foreground job associated with the terminal. The QUIT
  2932. character itself is then discarded. *Note Signal Handling::, for
  2933. more information about signals.
  2934. Typically, the QUIT character is ‘C-\’.
  2935. -- Macro: int VSUSP
  2936. This is the subscript for the SUSP character in the special control
  2937. character array. ‘TERMIOS.c_cc[VSUSP]’ holds the character itself.
  2938. The SUSP (suspend) character is recognized only if the
  2939. implementation supports job control (*note Job Control::). It
  2940. causes a ‘SIGTSTP’ signal to be sent to all processes in the
  2941. foreground job associated with the terminal. The SUSP character
  2942. itself is then discarded. *Note Signal Handling::, for more
  2943. information about signals.
  2944. Typically, the SUSP character is ‘C-z’.
  2945. Few applications disable the normal interpretation of the SUSP
  2946. character. If your program does this, it should provide some other
  2947. mechanism for the user to stop the job. When the user invokes this
  2948. mechanism, the program should send a ‘SIGTSTP’ signal to the process
  2949. group of the process, not just to the process itself. *Note Signaling
  2950. Another Process::.
  2951. -- Macro: int VDSUSP
  2952. This is the subscript for the DSUSP character in the special
  2953. control character array. ‘TERMIOS.c_cc[VDSUSP]’ holds the
  2954. character itself.
  2955. The DSUSP (suspend) character is recognized only if the
  2956. implementation supports job control (*note Job Control::). It
  2957. sends a ‘SIGTSTP’ signal, like the SUSP character, but not right
  2958. away—only when the program tries to read it as input. Not all
  2959. systems with job control support DSUSP; only BSD-compatible systems
  2960. do (including GNU/Hurd systems).
  2961. *Note Signal Handling::, for more information about signals.
  2962. Typically, the DSUSP character is ‘C-y’.
  2963. 
  2964. File: libc.info, Node: Start/Stop Characters, Next: Other Special, Prev: Signal Characters, Up: Special Characters
  2965. 17.4.9.3 Special Characters for Flow Control
  2966. ............................................
  2967. These special characters may be active in either canonical or
  2968. noncanonical input mode, but their use is controlled by the flags ‘IXON’
  2969. and ‘IXOFF’ (*note Input Modes::).
  2970. -- Macro: int VSTART
  2971. This is the subscript for the START character in the special
  2972. control character array. ‘TERMIOS.c_cc[VSTART]’ holds the
  2973. character itself.
  2974. The START character is used to support the ‘IXON’ and ‘IXOFF’ input
  2975. modes. If ‘IXON’ is set, receiving a START character resumes
  2976. suspended output; the START character itself is discarded. If
  2977. ‘IXANY’ is set, receiving any character at all resumes suspended
  2978. output; the resuming character is not discarded unless it is the
  2979. START character. If ‘IXOFF’ is set, the system may also transmit
  2980. START characters to the terminal.
  2981. The usual value for the START character is ‘C-q’. You may not be
  2982. able to change this value—the hardware may insist on using ‘C-q’
  2983. regardless of what you specify.
  2984. -- Macro: int VSTOP
  2985. This is the subscript for the STOP character in the special control
  2986. character array. ‘TERMIOS.c_cc[VSTOP]’ holds the character itself.
  2987. The STOP character is used to support the ‘IXON’ and ‘IXOFF’ input
  2988. modes. If ‘IXON’ is set, receiving a STOP character causes output
  2989. to be suspended; the STOP character itself is discarded. If
  2990. ‘IXOFF’ is set, the system may also transmit STOP characters to the
  2991. terminal, to prevent the input queue from overflowing.
  2992. The usual value for the STOP character is ‘C-s’. You may not be
  2993. able to change this value—the hardware may insist on using ‘C-s’
  2994. regardless of what you specify.
  2995. 
  2996. File: libc.info, Node: Other Special, Prev: Start/Stop Characters, Up: Special Characters
  2997. 17.4.9.4 Other Special Characters
  2998. .................................
  2999. -- Macro: int VLNEXT
  3000. This is the subscript for the LNEXT character in the special
  3001. control character array. ‘TERMIOS.c_cc[VLNEXT]’ holds the
  3002. character itself.
  3003. The LNEXT character is recognized only when ‘IEXTEN’ is set, but in
  3004. both canonical and noncanonical mode. It disables any special
  3005. significance of the next character the user types. Even if the
  3006. character would normally perform some editing function or generate
  3007. a signal, it is read as a plain character. This is the analogue of
  3008. the ‘C-q’ command in Emacs. “LNEXT” stands for “literal next.”
  3009. The LNEXT character is usually ‘C-v’.
  3010. This character is available on BSD systems and GNU/Linux and
  3011. GNU/Hurd systems.
  3012. -- Macro: int VDISCARD
  3013. This is the subscript for the DISCARD character in the special
  3014. control character array. ‘TERMIOS.c_cc[VDISCARD]’ holds the
  3015. character itself.
  3016. The DISCARD character is recognized only when ‘IEXTEN’ is set, but
  3017. in both canonical and noncanonical mode. Its effect is to toggle
  3018. the discard-output flag. When this flag is set, all program output
  3019. is discarded. Setting the flag also discards all output currently
  3020. in the output buffer. Typing any other character resets the flag.
  3021. This character is available on BSD systems and GNU/Linux and
  3022. GNU/Hurd systems.
  3023. -- Macro: int VSTATUS
  3024. This is the subscript for the STATUS character in the special
  3025. control character array. ‘TERMIOS.c_cc[VSTATUS]’ holds the
  3026. character itself.
  3027. The STATUS character’s effect is to print out a status message
  3028. about how the current process is running.
  3029. The STATUS character is recognized only in canonical mode, and only
  3030. if ‘NOKERNINFO’ is not set.
  3031. This character is available only on BSD systems and GNU/Hurd
  3032. systems.
  3033. 
  3034. File: libc.info, Node: Noncanonical Input, Prev: Special Characters, Up: Terminal Modes
  3035. 17.4.10 Noncanonical Input
  3036. --------------------------
  3037. In noncanonical input mode, the special editing characters such as ERASE
  3038. and KILL are ignored. The system facilities for the user to edit input
  3039. are disabled in noncanonical mode, so that all input characters (unless
  3040. they are special for signal or flow-control purposes) are passed to the
  3041. application program exactly as typed. It is up to the application
  3042. program to give the user ways to edit the input, if appropriate.
  3043. Noncanonical mode offers special parameters called MIN and TIME for
  3044. controlling whether and how long to wait for input to be available. You
  3045. can even use them to avoid ever waiting—to return immediately with
  3046. whatever input is available, or with no input.
  3047. The MIN and TIME are stored in elements of the ‘c_cc’ array, which is
  3048. a member of the ‘struct termios’ structure. Each element of this array
  3049. has a particular role, and each element has a symbolic constant that
  3050. stands for the index of that element. ‘VMIN’ and ‘VTIME’ are the names
  3051. for the indices in the array of the MIN and TIME slots.
  3052. -- Macro: int VMIN
  3053. This is the subscript for the MIN slot in the ‘c_cc’ array. Thus,
  3054. ‘TERMIOS.c_cc[VMIN]’ is the value itself.
  3055. The MIN slot is only meaningful in noncanonical input mode; it
  3056. specifies the minimum number of bytes that must be available in the
  3057. input queue in order for ‘read’ to return.
  3058. -- Macro: int VTIME
  3059. This is the subscript for the TIME slot in the ‘c_cc’ array. Thus,
  3060. ‘TERMIOS.c_cc[VTIME]’ is the value itself.
  3061. The TIME slot is only meaningful in noncanonical input mode; it
  3062. specifies how long to wait for input before returning, in units of
  3063. 0.1 seconds.
  3064. The MIN and TIME values interact to determine the criterion for when
  3065. ‘read’ should return; their precise meanings depend on which of them are
  3066. nonzero. There are four possible cases:
  3067. • Both TIME and MIN are nonzero.
  3068. In this case, TIME specifies how long to wait after each input
  3069. character to see if more input arrives. After the first character
  3070. received, ‘read’ keeps waiting until either MIN bytes have arrived
  3071. in all, or TIME elapses with no further input.
  3072. ‘read’ always blocks until the first character arrives, even if
  3073. TIME elapses first. ‘read’ can return more than MIN characters if
  3074. more than MIN happen to be in the queue.
  3075. • Both MIN and TIME are zero.
  3076. In this case, ‘read’ always returns immediately with as many
  3077. characters as are available in the queue, up to the number
  3078. requested. If no input is immediately available, ‘read’ returns a
  3079. value of zero.
  3080. • MIN is zero but TIME has a nonzero value.
  3081. In this case, ‘read’ waits for time TIME for input to become
  3082. available; the availability of a single byte is enough to satisfy
  3083. the read request and cause ‘read’ to return. When it returns, it
  3084. returns as many characters as are available, up to the number
  3085. requested. If no input is available before the timer expires,
  3086. ‘read’ returns a value of zero.
  3087. • TIME is zero but MIN has a nonzero value.
  3088. In this case, ‘read’ waits until at least MIN bytes are available
  3089. in the queue. At that time, ‘read’ returns as many characters as
  3090. are available, up to the number requested. ‘read’ can return more
  3091. than MIN characters if more than MIN happen to be in the queue.
  3092. What happens if MIN is 50 and you ask to read just 10 bytes?
  3093. Normally, ‘read’ waits until there are 50 bytes in the buffer (or, more
  3094. generally, the wait condition described above is satisfied), and then
  3095. reads 10 of them, leaving the other 40 buffered in the operating system
  3096. for a subsequent call to ‘read’.
  3097. *Portability note:* On some systems, the MIN and TIME slots are
  3098. actually the same as the EOF and EOL slots. This causes no serious
  3099. problem because the MIN and TIME slots are used only in noncanonical
  3100. input and the EOF and EOL slots are used only in canonical input, but it
  3101. isn’t very clean. The GNU C Library allocates separate slots for these
  3102. uses.
  3103. -- Function: void cfmakeraw (struct termios *TERMIOS-P)
  3104. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  3105. Concepts::.
  3106. This function provides an easy way to set up ‘*TERMIOS-P’ for what
  3107. has traditionally been called “raw mode” in BSD. This uses
  3108. noncanonical input, and turns off most processing to give an
  3109. unmodified channel to the terminal.
  3110. It does exactly this:
  3111. TERMIOS-P->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP
  3112. |INLCR|IGNCR|ICRNL|IXON);
  3113. TERMIOS-P->c_oflag &= ~OPOST;
  3114. TERMIOS-P->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
  3115. TERMIOS-P->c_cflag &= ~(CSIZE|PARENB);
  3116. TERMIOS-P->c_cflag |= CS8;
  3117. 
  3118. File: libc.info, Node: BSD Terminal Modes, Next: Line Control, Prev: Terminal Modes, Up: Low-Level Terminal Interface
  3119. 17.5 BSD Terminal Modes
  3120. =======================
  3121. The usual way to get and set terminal modes is with the functions
  3122. described in *note Terminal Modes::. However, on some systems you can
  3123. use the BSD-derived functions in this section to do some of the same
  3124. things. On many systems, these functions do not exist. Even with the
  3125. GNU C Library, the functions simply fail with ‘errno’ = ‘ENOSYS’ with
  3126. many kernels, including Linux.
  3127. The symbols used in this section are declared in ‘sgtty.h’.
  3128. -- Data Type: struct sgttyb
  3129. This structure is an input or output parameter list for ‘gtty’ and
  3130. ‘stty’.
  3131. ‘char sg_ispeed’
  3132. Line speed for input
  3133. ‘char sg_ospeed’
  3134. Line speed for output
  3135. ‘char sg_erase’
  3136. Erase character
  3137. ‘char sg_kill’
  3138. Kill character
  3139. ‘int sg_flags’
  3140. Various flags
  3141. -- Function: int gtty (int FILEDES, struct sgttyb *ATTRIBUTES)
  3142. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  3143. Concepts::.
  3144. This function gets the attributes of a terminal.
  3145. ‘gtty’ sets *ATTRIBUTES to describe the terminal attributes of the
  3146. terminal which is open with file descriptor FILEDES.
  3147. -- Function: int stty (int FILEDES, const struct sgttyb *ATTRIBUTES)
  3148. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  3149. Concepts::.
  3150. This function sets the attributes of a terminal.
  3151. ‘stty’ sets the terminal attributes of the terminal which is open
  3152. with file descriptor FILEDES to those described by *ATTRIBUTES.
  3153. 
  3154. File: libc.info, Node: Line Control, Next: Noncanon Example, Prev: BSD Terminal Modes, Up: Low-Level Terminal Interface
  3155. 17.6 Line Control Functions
  3156. ===========================
  3157. These functions perform miscellaneous control actions on terminal
  3158. devices. As regards terminal access, they are treated like doing
  3159. output: if any of these functions is used by a background process on its
  3160. controlling terminal, normally all processes in the process group are
  3161. sent a ‘SIGTTOU’ signal. The exception is if the calling process itself
  3162. is ignoring or blocking ‘SIGTTOU’ signals, in which case the operation
  3163. is performed and no signal is sent. *Note Job Control::.
  3164. -- Function: int tcsendbreak (int FILEDES, int DURATION)
  3165. Preliminary: | MT-Unsafe race:tcattr(filedes)/bsd | AS-Unsafe |
  3166. AC-Unsafe corrupt/bsd | *Note POSIX Safety Concepts::.
  3167. This function generates a break condition by transmitting a stream
  3168. of zero bits on the terminal associated with the file descriptor
  3169. FILEDES. The duration of the break is controlled by the DURATION
  3170. argument. If zero, the duration is between 0.25 and 0.5 seconds.
  3171. The meaning of a nonzero value depends on the operating system.
  3172. This function does nothing if the terminal is not an asynchronous
  3173. serial data port.
  3174. The return value is normally zero. In the event of an error, a
  3175. value of -1 is returned. The following ‘errno’ error conditions
  3176. are defined for this function:
  3177. ‘EBADF’
  3178. The FILEDES is not a valid file descriptor.
  3179. ‘ENOTTY’
  3180. The FILEDES is not associated with a terminal device.
  3181. -- Function: int tcdrain (int FILEDES)
  3182. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  3183. Concepts::.
  3184. The ‘tcdrain’ function waits until all queued output to the
  3185. terminal FILEDES has been transmitted.
  3186. This function is a cancellation point in multi-threaded programs.
  3187. This is a problem if the thread allocates some resources (like
  3188. memory, file descriptors, semaphores or whatever) at the time
  3189. ‘tcdrain’ is called. If the thread gets canceled these resources
  3190. stay allocated until the program ends. To avoid this calls to
  3191. ‘tcdrain’ should be protected using cancellation handlers.
  3192. The return value is normally zero. In the event of an error, a
  3193. value of -1 is returned. The following ‘errno’ error conditions
  3194. are defined for this function:
  3195. ‘EBADF’
  3196. The FILEDES is not a valid file descriptor.
  3197. ‘ENOTTY’
  3198. The FILEDES is not associated with a terminal device.
  3199. ‘EINTR’
  3200. The operation was interrupted by delivery of a signal. *Note
  3201. Interrupted Primitives::.
  3202. -- Function: int tcflush (int FILEDES, int QUEUE)
  3203. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  3204. Concepts::.
  3205. The ‘tcflush’ function is used to clear the input and/or output
  3206. queues associated with the terminal file FILEDES. The QUEUE
  3207. argument specifies which queue(s) to clear, and can be one of the
  3208. following values:
  3209. ‘TCIFLUSH’
  3210. Clear any input data received, but not yet read.
  3211. ‘TCOFLUSH’
  3212. Clear any output data written, but not yet transmitted.
  3213. ‘TCIOFLUSH’
  3214. Clear both queued input and output.
  3215. The return value is normally zero. In the event of an error, a
  3216. value of -1 is returned. The following ‘errno’ error conditions
  3217. are defined for this function:
  3218. ‘EBADF’
  3219. The FILEDES is not a valid file descriptor.
  3220. ‘ENOTTY’
  3221. The FILEDES is not associated with a terminal device.
  3222. ‘EINVAL’
  3223. A bad value was supplied as the QUEUE argument.
  3224. It is unfortunate that this function is named ‘tcflush’, because
  3225. the term “flush” is normally used for quite another
  3226. operation—waiting until all output is transmitted—and using it for
  3227. discarding input or output would be confusing. Unfortunately, the
  3228. name ‘tcflush’ comes from POSIX and we cannot change it.
  3229. -- Function: int tcflow (int FILEDES, int ACTION)
  3230. Preliminary: | MT-Unsafe race:tcattr(filedes)/bsd | AS-Unsafe |
  3231. AC-Safe | *Note POSIX Safety Concepts::.
  3232. The ‘tcflow’ function is used to perform operations relating to
  3233. XON/XOFF flow control on the terminal file specified by FILEDES.
  3234. The ACTION argument specifies what operation to perform, and can be
  3235. one of the following values:
  3236. ‘TCOOFF’
  3237. Suspend transmission of output.
  3238. ‘TCOON’
  3239. Restart transmission of output.
  3240. ‘TCIOFF’
  3241. Transmit a STOP character.
  3242. ‘TCION’
  3243. Transmit a START character.
  3244. For more information about the STOP and START characters, see *note
  3245. Special Characters::.
  3246. The return value is normally zero. In the event of an error, a
  3247. value of -1 is returned. The following ‘errno’ error conditions
  3248. are defined for this function:
  3249. ‘EBADF’
  3250. The FILEDES is not a valid file descriptor.
  3251. ‘ENOTTY’
  3252. The FILEDES is not associated with a terminal device.
  3253. ‘EINVAL’
  3254. A bad value was supplied as the ACTION argument.
  3255. 
  3256. File: libc.info, Node: Noncanon Example, Next: getpass, Prev: Line Control, Up: Low-Level Terminal Interface
  3257. 17.7 Noncanonical Mode Example
  3258. ==============================
  3259. Here is an example program that shows how you can set up a terminal
  3260. device to read single characters in noncanonical input mode, without
  3261. echo.
  3262. #include <unistd.h>
  3263. #include <stdio.h>
  3264. #include <stdlib.h>
  3265. #include <termios.h>
  3266. /* Use this variable to remember original terminal attributes. */
  3267. struct termios saved_attributes;
  3268. void
  3269. reset_input_mode (void)
  3270. {
  3271. tcsetattr (STDIN_FILENO, TCSANOW, &saved_attributes);
  3272. }
  3273. void
  3274. set_input_mode (void)
  3275. {
  3276. struct termios tattr;
  3277. char *name;
  3278. /* Make sure stdin is a terminal. */
  3279. if (!isatty (STDIN_FILENO))
  3280. {
  3281. fprintf (stderr, "Not a terminal.\n");
  3282. exit (EXIT_FAILURE);
  3283. }
  3284. /* Save the terminal attributes so we can restore them later. */
  3285. tcgetattr (STDIN_FILENO, &saved_attributes);
  3286. atexit (reset_input_mode);
  3287. /* Set the funny terminal modes. */
  3288. tcgetattr (STDIN_FILENO, &tattr);
  3289. tattr.c_lflag &= ~(ICANON|ECHO); /* Clear ICANON and ECHO. */
  3290. tattr.c_cc[VMIN] = 1;
  3291. tattr.c_cc[VTIME] = 0;
  3292. tcsetattr (STDIN_FILENO, TCSAFLUSH, &tattr);
  3293. }
  3294. int
  3295. main (void)
  3296. {
  3297. char c;
  3298. set_input_mode ();
  3299. while (1)
  3300. {
  3301. read (STDIN_FILENO, &c, 1);
  3302. if (c == '\004') /* ‘C-d’ */
  3303. break;
  3304. else
  3305. putchar (c);
  3306. }
  3307. return EXIT_SUCCESS;
  3308. }
  3309. This program is careful to restore the original terminal modes before
  3310. exiting or terminating with a signal. It uses the ‘atexit’ function
  3311. (*note Cleanups on Exit::) to make sure this is done by ‘exit’.
  3312. The shell is supposed to take care of resetting the terminal modes
  3313. when a process is stopped or continued; see *note Job Control::. But
  3314. some existing shells do not actually do this, so you may wish to
  3315. establish handlers for job control signals that reset terminal modes.
  3316. The above example does so.
  3317. 
  3318. File: libc.info, Node: getpass, Next: Pseudo-Terminals, Prev: Noncanon Example, Up: Low-Level Terminal Interface
  3319. 17.8 Reading Passphrases
  3320. ========================
  3321. When reading in a passphrase, it is desirable to avoid displaying it on
  3322. the screen, to help keep it secret. The following function handles this
  3323. in a convenient way.
  3324. -- Function: char * getpass (const char *PROMPT)
  3325. Preliminary: | MT-Unsafe term | AS-Unsafe heap lock corrupt |
  3326. AC-Unsafe term lock corrupt | *Note POSIX Safety Concepts::.
  3327. ‘getpass’ outputs PROMPT, then reads a string in from the terminal
  3328. without echoing it. It tries to connect to the real terminal,
  3329. ‘/dev/tty’, if possible, to encourage users not to put plaintext
  3330. passphrases in files; otherwise, it uses ‘stdin’ and ‘stderr’.
  3331. ‘getpass’ also disables the INTR, QUIT, and SUSP characters on the
  3332. terminal using the ‘ISIG’ terminal attribute (*note Local Modes::).
  3333. The terminal is flushed before and after ‘getpass’, so that
  3334. characters of a mistyped passphrase are not accidentally visible.
  3335. In other C libraries, ‘getpass’ may only return the first
  3336. ‘PASS_MAX’ bytes of a passphrase. The GNU C Library has no limit,
  3337. so ‘PASS_MAX’ is undefined.
  3338. The prototype for this function is in ‘unistd.h’. ‘PASS_MAX’ would
  3339. be defined in ‘limits.h’.
  3340. This precise set of operations may not suit all possible situations.
  3341. In this case, it is recommended that users write their own ‘getpass’
  3342. substitute. For instance, a very simple substitute is as follows:
  3343. #include <termios.h>
  3344. #include <stdio.h>
  3345. ssize_t
  3346. my_getpass (char **lineptr, size_t *n, FILE *stream)
  3347. {
  3348. struct termios old, new;
  3349. int nread;
  3350. /* Turn echoing off and fail if we can’t. */
  3351. if (tcgetattr (fileno (stream), &old) != 0)
  3352. return -1;
  3353. new = old;
  3354. new.c_lflag &= ~ECHO;
  3355. if (tcsetattr (fileno (stream), TCSAFLUSH, &new) != 0)
  3356. return -1;
  3357. /* Read the passphrase */
  3358. nread = getline (lineptr, n, stream);
  3359. /* Restore terminal. */
  3360. (void) tcsetattr (fileno (stream), TCSAFLUSH, &old);
  3361. return nread;
  3362. }
  3363. The substitute takes the same parameters as ‘getline’ (*note Line
  3364. Input::); the user must print any prompt desired.
  3365. 
  3366. File: libc.info, Node: Pseudo-Terminals, Prev: getpass, Up: Low-Level Terminal Interface
  3367. 17.9 Pseudo-Terminals
  3368. =====================
  3369. A “pseudo-terminal” is a special interprocess communication channel that
  3370. acts like a terminal. One end of the channel is called the “master”
  3371. side or “master pseudo-terminal device”, the other side is called the
  3372. “slave” side. Data written to the master side is received by the slave
  3373. side as if it was the result of a user typing at an ordinary terminal,
  3374. and data written to the slave side is sent to the master side as if it
  3375. was written on an ordinary terminal.
  3376. Pseudo terminals are the way programs like ‘xterm’ and ‘emacs’
  3377. implement their terminal emulation functionality.
  3378. * Menu:
  3379. * Allocation:: Allocating a pseudo terminal.
  3380. * Pseudo-Terminal Pairs:: How to open both sides of a
  3381. pseudo-terminal in a single operation.
  3382. 
  3383. File: libc.info, Node: Allocation, Next: Pseudo-Terminal Pairs, Up: Pseudo-Terminals
  3384. 17.9.1 Allocating Pseudo-Terminals
  3385. ----------------------------------
  3386. This subsection describes functions for allocating a pseudo-terminal,
  3387. and for making this pseudo-terminal available for actual use. These
  3388. functions are declared in the header file ‘stdlib.h’.
  3389. -- Function: int getpt (void)
  3390. Preliminary: | MT-Safe | AS-Safe | AC-Safe fd | *Note POSIX Safety
  3391. Concepts::.
  3392. The ‘getpt’ function returns a new file descriptor for the next
  3393. available master pseudo-terminal. The normal return value from
  3394. ‘getpt’ is a non-negative integer file descriptor. In the case of
  3395. an error, a value of -1 is returned instead. The following ‘errno’
  3396. conditions are defined for this function:
  3397. ‘ENOENT’
  3398. There are no free master pseudo-terminals available.
  3399. This function is a GNU extension.
  3400. -- Function: int grantpt (int FILEDES)
  3401. Preliminary: | MT-Safe locale | AS-Unsafe dlopen plugin heap lock |
  3402. AC-Unsafe corrupt lock fd mem | *Note POSIX Safety Concepts::.
  3403. The ‘grantpt’ function changes the ownership and access permission
  3404. of the slave pseudo-terminal device corresponding to the master
  3405. pseudo-terminal device associated with the file descriptor FILEDES.
  3406. The owner is set from the real user ID of the calling process
  3407. (*note Process Persona::), and the group is set to a special group
  3408. (typically “tty”) or from the real group ID of the calling process.
  3409. The access permission is set such that the file is both readable
  3410. and writable by the owner and only writable by the group.
  3411. On some systems this function is implemented by invoking a special
  3412. ‘setuid’ root program (*note How Change Persona::). As a
  3413. consequence, installing a signal handler for the ‘SIGCHLD’ signal
  3414. (*note Job Control Signals::) may interfere with a call to
  3415. ‘grantpt’.
  3416. The normal return value from ‘grantpt’ is 0; a value of -1 is
  3417. returned in case of failure. The following ‘errno’ error
  3418. conditions are defined for this function:
  3419. ‘EBADF’
  3420. The FILEDES argument is not a valid file descriptor.
  3421. ‘EINVAL’
  3422. The FILEDES argument is not associated with a master
  3423. pseudo-terminal device.
  3424. ‘EACCES’
  3425. The slave pseudo-terminal device corresponding to the master
  3426. associated with FILEDES could not be accessed.
  3427. -- Function: int unlockpt (int FILEDES)
  3428. Preliminary: | MT-Safe | AS-Unsafe heap/bsd | AC-Unsafe mem fd |
  3429. *Note POSIX Safety Concepts::.
  3430. The ‘unlockpt’ function unlocks the slave pseudo-terminal device
  3431. corresponding to the master pseudo-terminal device associated with
  3432. the file descriptor FILEDES. On many systems, the slave can only
  3433. be opened after unlocking, so portable applications should always
  3434. call ‘unlockpt’ before trying to open the slave.
  3435. The normal return value from ‘unlockpt’ is 0; a value of -1 is
  3436. returned in case of failure. The following ‘errno’ error
  3437. conditions are defined for this function:
  3438. ‘EBADF’
  3439. The FILEDES argument is not a valid file descriptor.
  3440. ‘EINVAL’
  3441. The FILEDES argument is not associated with a master
  3442. pseudo-terminal device.
  3443. -- Function: char * ptsname (int FILEDES)
  3444. Preliminary: | MT-Unsafe race:ptsname | AS-Unsafe heap/bsd |
  3445. AC-Unsafe mem fd | *Note POSIX Safety Concepts::.
  3446. If the file descriptor FILEDES is associated with a master
  3447. pseudo-terminal device, the ‘ptsname’ function returns a pointer to
  3448. a statically-allocated, null-terminated string containing the file
  3449. name of the associated slave pseudo-terminal file. This string
  3450. might be overwritten by subsequent calls to ‘ptsname’.
  3451. -- Function: int ptsname_r (int FILEDES, char *BUF, size_t LEN)
  3452. Preliminary: | MT-Safe | AS-Unsafe heap/bsd | AC-Unsafe mem fd |
  3453. *Note POSIX Safety Concepts::.
  3454. The ‘ptsname_r’ function is similar to the ‘ptsname’ function
  3455. except that it places its result into the user-specified buffer
  3456. starting at BUF with length LEN.
  3457. This function is a GNU extension.
  3458. Typical usage of these functions is illustrated by the following
  3459. example:
  3460. int
  3461. open_pty_pair (int *amaster, int *aslave)
  3462. {
  3463. int master, slave;
  3464. char *name;
  3465. master = getpt ();
  3466. if (master < 0)
  3467. return 0;
  3468. if (grantpt (master) < 0 || unlockpt (master) < 0)
  3469. goto close_master;
  3470. name = ptsname (master);
  3471. if (name == NULL)
  3472. goto close_master;
  3473. slave = open (name, O_RDWR);
  3474. if (slave == -1)
  3475. goto close_master;
  3476. *amaster = master;
  3477. *aslave = slave;
  3478. return 1;
  3479. close_slave:
  3480. close (slave);
  3481. close_master:
  3482. close (master);
  3483. return 0;
  3484. }
  3485. 
  3486. File: libc.info, Node: Pseudo-Terminal Pairs, Prev: Allocation, Up: Pseudo-Terminals
  3487. 17.9.2 Opening a Pseudo-Terminal Pair
  3488. -------------------------------------
  3489. These functions, derived from BSD, are available in the separate
  3490. ‘libutil’ library, and declared in ‘pty.h’.
  3491. -- Function: int openpty (int *AMASTER, int *ASLAVE, char *NAME, const
  3492. struct termios *TERMP, const struct winsize *WINP)
  3493. Preliminary: | MT-Safe locale | AS-Unsafe dlopen plugin heap lock |
  3494. AC-Unsafe corrupt lock fd mem | *Note POSIX Safety Concepts::.
  3495. This function allocates and opens a pseudo-terminal pair, returning
  3496. the file descriptor for the master in *AMASTER, and the file
  3497. descriptor for the slave in *ASLAVE. If the argument NAME is not a
  3498. null pointer, the file name of the slave pseudo-terminal device is
  3499. stored in ‘*name’. If TERMP is not a null pointer, the terminal
  3500. attributes of the slave are set to the ones specified in the
  3501. structure that TERMP points to (*note Terminal Modes::). Likewise,
  3502. if WINP is not a null pointer, the screen size of the slave is set
  3503. to the values specified in the structure that WINP points to.
  3504. The normal return value from ‘openpty’ is 0; a value of -1 is
  3505. returned in case of failure. The following ‘errno’ conditions are
  3506. defined for this function:
  3507. ‘ENOENT’
  3508. There are no free pseudo-terminal pairs available.
  3509. *Warning:* Using the ‘openpty’ function with NAME not set to ‘NULL’
  3510. is *very dangerous* because it provides no protection against
  3511. overflowing the string NAME. You should use the ‘ttyname’ function
  3512. on the file descriptor returned in *SLAVE to find out the file name
  3513. of the slave pseudo-terminal device instead.
  3514. -- Function: int forkpty (int *AMASTER, char *NAME, const struct
  3515. termios *TERMP, const struct winsize *WINP)
  3516. Preliminary: | MT-Safe locale | AS-Unsafe dlopen plugin heap lock |
  3517. AC-Unsafe corrupt lock fd mem | *Note POSIX Safety Concepts::.
  3518. This function is similar to the ‘openpty’ function, but in
  3519. addition, forks a new process (*note Creating a Process::) and
  3520. makes the newly opened slave pseudo-terminal device the controlling
  3521. terminal (*note Controlling Terminal::) for the child process.
  3522. If the operation is successful, there are then both parent and
  3523. child processes and both see ‘forkpty’ return, but with different
  3524. values: it returns a value of 0 in the child process and returns
  3525. the child’s process ID in the parent process.
  3526. If the allocation of a pseudo-terminal pair or the process creation
  3527. failed, ‘forkpty’ returns a value of -1 in the parent process.
  3528. *Warning:* The ‘forkpty’ function has the same problems with
  3529. respect to the NAME argument as ‘openpty’.
  3530. 
  3531. File: libc.info, Node: Syslog, Next: Mathematics, Prev: Low-Level Terminal Interface, Up: Top
  3532. 18 Syslog
  3533. *********
  3534. This chapter describes facilities for issuing and logging messages of
  3535. system administration interest. This chapter has nothing to do with
  3536. programs issuing messages to their own users or keeping private logs
  3537. (One would typically do that with the facilities described in *note I/O
  3538. on Streams::).
  3539. Most systems have a facility called “Syslog” that allows programs to
  3540. submit messages of interest to system administrators and can be
  3541. configured to pass these messages on in various ways, such as printing
  3542. on the console, mailing to a particular person, or recording in a log
  3543. file for future reference.
  3544. A program uses the facilities in this chapter to submit such
  3545. messages.
  3546. * Menu:
  3547. * Overview of Syslog:: Overview of a system’s Syslog facility
  3548. * Submitting Syslog Messages:: Functions to submit messages to Syslog
  3549. 
  3550. File: libc.info, Node: Overview of Syslog, Next: Submitting Syslog Messages, Up: Syslog
  3551. 18.1 Overview of Syslog
  3552. =======================
  3553. System administrators have to deal with lots of different kinds of
  3554. messages from a plethora of subsystems within each system, and usually
  3555. lots of systems as well. For example, an FTP server might report every
  3556. connection it gets. The kernel might report hardware failures on a disk
  3557. drive. A DNS server might report usage statistics at regular intervals.
  3558. Some of these messages need to be brought to a system administrator’s
  3559. attention immediately. And it may not be just any system administrator
  3560. – there may be a particular system administrator who deals with a
  3561. particular kind of message. Other messages just need to be recorded for
  3562. future reference if there is a problem. Still others may need to have
  3563. information extracted from them by an automated process that generates
  3564. monthly reports.
  3565. To deal with these messages, most Unix systems have a facility called
  3566. "Syslog." It is generally based on a daemon called “Syslogd” Syslogd
  3567. listens for messages on a Unix domain socket named ‘/dev/log’. Based on
  3568. classification information in the messages and its configuration file
  3569. (usually ‘/etc/syslog.conf’), Syslogd routes them in various ways. Some
  3570. of the popular routings are:
  3571. • Write to the system console
  3572. • Mail to a specific user
  3573. • Write to a log file
  3574. • Pass to another daemon
  3575. • Discard
  3576. Syslogd can also handle messages from other systems. It listens on
  3577. the ‘syslog’ UDP port as well as the local socket for messages.
  3578. Syslog can handle messages from the kernel itself. But the kernel
  3579. doesn’t write to ‘/dev/log’; rather, another daemon (sometimes called
  3580. “Klogd”) extracts messages from the kernel and passes them on to Syslog
  3581. as any other process would (and it properly identifies them as messages
  3582. from the kernel).
  3583. Syslog can even handle messages that the kernel issued before Syslogd
  3584. or Klogd was running. A Linux kernel, for example, stores startup
  3585. messages in a kernel message ring and they are normally still there when
  3586. Klogd later starts up. Assuming Syslogd is running by the time Klogd
  3587. starts, Klogd then passes everything in the message ring to it.
  3588. In order to classify messages for disposition, Syslog requires any
  3589. process that submits a message to it to provide two pieces of
  3590. classification information with it:
  3591. facility
  3592. This identifies who submitted the message. There are a small
  3593. number of facilities defined. The kernel, the mail subsystem, and
  3594. an FTP server are examples of recognized facilities. For the
  3595. complete list, *Note syslog; vsyslog::. Keep in mind that these
  3596. are essentially arbitrary classifications. "Mail subsystem"
  3597. doesn’t have any more meaning than the system administrator gives
  3598. to it.
  3599. priority
  3600. This tells how important the content of the message is. Examples
  3601. of defined priority values are: debug, informational, warning and
  3602. critical. For the complete list, see *note syslog; vsyslog::.
  3603. Except for the fact that the priorities have a defined order, the
  3604. meaning of each of these priorities is entirely determined by the
  3605. system administrator.
  3606. A “facility/priority” is a number that indicates both the facility
  3607. and the priority.
  3608. *Warning:* This terminology is not universal. Some people use
  3609. “level” to refer to the priority and “priority” to refer to the
  3610. combination of facility and priority. A Linux kernel has a concept of a
  3611. message “level,” which corresponds both to a Syslog priority and to a
  3612. Syslog facility/priority (It can be both because the facility code for
  3613. the kernel is zero, and that makes priority and facility/priority the
  3614. same value).
  3615. The GNU C Library provides functions to submit messages to Syslog.
  3616. They do it by writing to the ‘/dev/log’ socket. *Note Submitting Syslog
  3617. Messages::.
  3618. The GNU C Library functions only work to submit messages to the
  3619. Syslog facility on the same system. To submit a message to the Syslog
  3620. facility on another system, use the socket I/O functions to write a UDP
  3621. datagram to the ‘syslog’ UDP port on that system. *Note Sockets::.
  3622. 
  3623. File: libc.info, Node: Submitting Syslog Messages, Prev: Overview of Syslog, Up: Syslog
  3624. 18.2 Submitting Syslog Messages
  3625. ===============================
  3626. The GNU C Library provides functions to submit messages to the Syslog
  3627. facility:
  3628. * Menu:
  3629. * openlog:: Open connection to Syslog
  3630. * syslog; vsyslog:: Submit message to Syslog
  3631. * closelog:: Close connection to Syslog
  3632. * setlogmask:: Cause certain messages to be ignored
  3633. * Syslog Example:: Example of all of the above
  3634. These functions only work to submit messages to the Syslog facility
  3635. on the same system. To submit a message to the Syslog facility on
  3636. another system, use the socket I/O functions to write a UDP datagram to
  3637. the ‘syslog’ UDP port on that system. *Note Sockets::.
  3638. 
  3639. File: libc.info, Node: openlog, Next: syslog; vsyslog, Up: Submitting Syslog Messages
  3640. 18.2.1 openlog
  3641. --------------
  3642. The symbols referred to in this section are declared in the file
  3643. ‘syslog.h’.
  3644. -- Function: void openlog (const char *IDENT, int OPTION, int FACILITY)
  3645. Preliminary: | MT-Safe | AS-Unsafe lock | AC-Unsafe lock fd | *Note
  3646. POSIX Safety Concepts::.
  3647. ‘openlog’ opens or reopens a connection to Syslog in preparation
  3648. for submitting messages.
  3649. IDENT is an arbitrary identification string which future ‘syslog’
  3650. invocations will prefix to each message. This is intended to
  3651. identify the source of the message, and people conventionally set
  3652. it to the name of the program that will submit the messages.
  3653. If IDENT is NULL, or if ‘openlog’ is not called, the default
  3654. identification string used in Syslog messages will be the program
  3655. name, taken from argv[0].
  3656. Please note that the string pointer IDENT will be retained
  3657. internally by the Syslog routines. You must not free the memory
  3658. that IDENT points to. It is also dangerous to pass a reference to
  3659. an automatic variable since leaving the scope would mean ending the
  3660. lifetime of the variable. If you want to change the IDENT string,
  3661. you must call ‘openlog’ again; overwriting the string pointed to by
  3662. IDENT is not thread-safe.
  3663. You can cause the Syslog routines to drop the reference to IDENT
  3664. and go back to the default string (the program name taken from
  3665. argv[0]), by calling ‘closelog’: *Note closelog::.
  3666. In particular, if you are writing code for a shared library that
  3667. might get loaded and then unloaded (e.g. a PAM module), and you
  3668. use ‘openlog’, you must call ‘closelog’ before any point where your
  3669. library might get unloaded, as in this example:
  3670. #include <syslog.h>
  3671. void
  3672. shared_library_function (void)
  3673. {
  3674. openlog ("mylibrary", option, priority);
  3675. syslog (LOG_INFO, "shared library has been invoked");
  3676. closelog ();
  3677. }
  3678. Without the call to ‘closelog’, future invocations of ‘syslog’ by
  3679. the program using the shared library may crash, if the library gets
  3680. unloaded and the memory containing the string ‘"mylibrary"’ becomes
  3681. unmapped. This is a limitation of the BSD syslog interface.
  3682. ‘openlog’ may or may not open the ‘/dev/log’ socket, depending on
  3683. OPTION. If it does, it tries to open it and connect it as a stream
  3684. socket. If that doesn’t work, it tries to open it and connect it
  3685. as a datagram socket. The socket has the “Close on Exec”
  3686. attribute, so the kernel will close it if the process performs an
  3687. exec.
  3688. You don’t have to use ‘openlog’. If you call ‘syslog’ without
  3689. having called ‘openlog’, ‘syslog’ just opens the connection
  3690. implicitly and uses defaults for the information in IDENT and
  3691. OPTIONS.
  3692. OPTIONS is a bit string, with the bits as defined by the following
  3693. single bit masks:
  3694. ‘LOG_PERROR’
  3695. If on, ‘openlog’ sets up the connection so that any ‘syslog’
  3696. on this connection writes its message to the calling process’
  3697. Standard Error stream in addition to submitting it to Syslog.
  3698. If off, ‘syslog’ does not write the message to Standard Error.
  3699. ‘LOG_CONS’
  3700. If on, ‘openlog’ sets up the connection so that a ‘syslog’ on
  3701. this connection that fails to submit a message to Syslog
  3702. writes the message instead to system console. If off,
  3703. ‘syslog’ does not write to the system console (but of course
  3704. Syslog may write messages it receives to the console).
  3705. ‘LOG_PID’
  3706. When on, ‘openlog’ sets up the connection so that a ‘syslog’
  3707. on this connection inserts the calling process’ Process ID
  3708. (PID) into the message. When off, ‘openlog’ does not insert
  3709. the PID.
  3710. ‘LOG_NDELAY’
  3711. When on, ‘openlog’ opens and connects the ‘/dev/log’ socket.
  3712. When off, a future ‘syslog’ call must open and connect the
  3713. socket.
  3714. *Portability note:* In early systems, the sense of this bit
  3715. was exactly the opposite.
  3716. ‘LOG_ODELAY’
  3717. This bit does nothing. It exists for backward compatibility.
  3718. If any other bit in OPTIONS is on, the result is undefined.
  3719. FACILITY is the default facility code for this connection. A
  3720. ‘syslog’ on this connection that specifies default facility causes
  3721. this facility to be associated with the message. See ‘syslog’ for
  3722. possible values. A value of zero means the default, which is
  3723. ‘LOG_USER’.
  3724. If a Syslog connection is already open when you call ‘openlog’,
  3725. ‘openlog’ “reopens” the connection. Reopening is like opening
  3726. except that if you specify zero for the default facility code, the
  3727. default facility code simply remains unchanged and if you specify
  3728. LOG_NDELAY and the socket is already open and connected, ‘openlog’
  3729. just leaves it that way.
  3730. 
  3731. File: libc.info, Node: syslog; vsyslog, Next: closelog, Prev: openlog, Up: Submitting Syslog Messages
  3732. 18.2.2 syslog, vsyslog
  3733. ----------------------
  3734. The symbols referred to in this section are declared in the file
  3735. ‘syslog.h’.
  3736. -- Function: void syslog (int FACILITY_PRIORITY, const char *FORMAT,
  3737. ...)
  3738. Preliminary: | MT-Safe env locale | AS-Unsafe corrupt heap lock
  3739. dlopen | AC-Unsafe corrupt lock mem fd | *Note POSIX Safety
  3740. Concepts::.
  3741. ‘syslog’ submits a message to the Syslog facility. It does this by
  3742. writing to the Unix domain socket ‘/dev/log’.
  3743. ‘syslog’ submits the message with the facility and priority
  3744. indicated by FACILITY_PRIORITY. The macro ‘LOG_MAKEPRI’ generates
  3745. a facility/priority from a facility and a priority, as in the
  3746. following example:
  3747. LOG_MAKEPRI(LOG_USER, LOG_WARNING)
  3748. The possible values for the facility code are (macros):
  3749. ‘LOG_USER’
  3750. A miscellaneous user process
  3751. ‘LOG_MAIL’
  3752. Mail
  3753. ‘LOG_DAEMON’
  3754. A miscellaneous system daemon
  3755. ‘LOG_AUTH’
  3756. Security (authorization)
  3757. ‘LOG_SYSLOG’
  3758. Syslog
  3759. ‘LOG_LPR’
  3760. Central printer
  3761. ‘LOG_NEWS’
  3762. Network news (e.g. Usenet)
  3763. ‘LOG_UUCP’
  3764. UUCP
  3765. ‘LOG_CRON’
  3766. Cron and At
  3767. ‘LOG_AUTHPRIV’
  3768. Private security (authorization)
  3769. ‘LOG_FTP’
  3770. Ftp server
  3771. ‘LOG_LOCAL0’
  3772. Locally defined
  3773. ‘LOG_LOCAL1’
  3774. Locally defined
  3775. ‘LOG_LOCAL2’
  3776. Locally defined
  3777. ‘LOG_LOCAL3’
  3778. Locally defined
  3779. ‘LOG_LOCAL4’
  3780. Locally defined
  3781. ‘LOG_LOCAL5’
  3782. Locally defined
  3783. ‘LOG_LOCAL6’
  3784. Locally defined
  3785. ‘LOG_LOCAL7’
  3786. Locally defined
  3787. Results are undefined if the facility code is anything else.
  3788. *NB:* ‘syslog’ recognizes one other facility code: that of the
  3789. kernel. But you can’t specify that facility code with these
  3790. functions. If you try, it looks the same to ‘syslog’ as if you are
  3791. requesting the default facility. But you wouldn’t want to anyway,
  3792. because any program that uses the GNU C Library is not the kernel.
  3793. You can use just a priority code as FACILITY_PRIORITY. In that
  3794. case, ‘syslog’ assumes the default facility established when the
  3795. Syslog connection was opened. *Note Syslog Example::.
  3796. The possible values for the priority code are (macros):
  3797. ‘LOG_EMERG’
  3798. The message says the system is unusable.
  3799. ‘LOG_ALERT’
  3800. Action on the message must be taken immediately.
  3801. ‘LOG_CRIT’
  3802. The message states a critical condition.
  3803. ‘LOG_ERR’
  3804. The message describes an error.
  3805. ‘LOG_WARNING’
  3806. The message is a warning.
  3807. ‘LOG_NOTICE’
  3808. The message describes a normal but important event.
  3809. ‘LOG_INFO’
  3810. The message is purely informational.
  3811. ‘LOG_DEBUG’
  3812. The message is only for debugging purposes.
  3813. Results are undefined if the priority code is anything else.
  3814. If the process does not presently have a Syslog connection open
  3815. (i.e., it did not call ‘openlog’), ‘syslog’ implicitly opens the
  3816. connection the same as ‘openlog’ would, with the following defaults
  3817. for information that would otherwise be included in an ‘openlog’
  3818. call: The default identification string is the program name. The
  3819. default default facility is ‘LOG_USER’. The default for all the
  3820. connection options in OPTIONS is as if those bits were off.
  3821. ‘syslog’ leaves the Syslog connection open.
  3822. If the ‘/dev/log’ socket is not open and connected, ‘syslog’ opens
  3823. and connects it, the same as ‘openlog’ with the ‘LOG_NDELAY’ option
  3824. would.
  3825. ‘syslog’ leaves ‘/dev/log’ open and connected unless its attempt to
  3826. send the message failed, in which case ‘syslog’ closes it (with the
  3827. hope that a future implicit open will restore the Syslog connection
  3828. to a usable state).
  3829. Example:
  3830. #include <syslog.h>
  3831. syslog (LOG_MAKEPRI(LOG_LOCAL1, LOG_ERROR),
  3832. "Unable to make network connection to %s. Error=%m", host);
  3833. -- Function: void vsyslog (int FACILITY_PRIORITY, const char *FORMAT,
  3834. va_list ARGLIST)
  3835. Preliminary: | MT-Safe env locale | AS-Unsafe corrupt heap lock
  3836. dlopen | AC-Unsafe corrupt lock mem fd | *Note POSIX Safety
  3837. Concepts::.
  3838. This is functionally identical to ‘syslog’, with the BSD style
  3839. variable length argument.
  3840. 
  3841. File: libc.info, Node: closelog, Next: setlogmask, Prev: syslog; vsyslog, Up: Submitting Syslog Messages
  3842. 18.2.3 closelog
  3843. ---------------
  3844. The symbols referred to in this section are declared in the file
  3845. ‘syslog.h’.
  3846. -- Function: void closelog (void)
  3847. Preliminary: | MT-Safe | AS-Unsafe lock | AC-Unsafe lock fd | *Note
  3848. POSIX Safety Concepts::.
  3849. ‘closelog’ closes the current Syslog connection, if there is one.
  3850. This includes closing the ‘/dev/log’ socket, if it is open.
  3851. ‘closelog’ also sets the identification string for Syslog messages
  3852. back to the default, if ‘openlog’ was called with a non-NULL
  3853. argument to IDENT. The default identification string is the
  3854. program name taken from argv[0].
  3855. If you are writing shared library code that uses ‘openlog’ to
  3856. generate custom syslog output, you should use ‘closelog’ to drop
  3857. the GNU C Library’s internal reference to the IDENT pointer when
  3858. you are done. Please read the section on ‘openlog’ for more
  3859. information: *Note openlog::.
  3860. ‘closelog’ does not flush any buffers. You do not have to call
  3861. ‘closelog’ before re-opening a Syslog connection with ‘openlog’.
  3862. Syslog connections are automatically closed on exec or exit.
  3863. 
  3864. File: libc.info, Node: setlogmask, Next: Syslog Example, Prev: closelog, Up: Submitting Syslog Messages
  3865. 18.2.4 setlogmask
  3866. -----------------
  3867. The symbols referred to in this section are declared in the file
  3868. ‘syslog.h’.
  3869. -- Function: int setlogmask (int MASK)
  3870. Preliminary: | MT-Unsafe race:LogMask | AS-Unsafe | AC-Safe | *Note
  3871. POSIX Safety Concepts::.
  3872. ‘setlogmask’ sets a mask (the “logmask”) that determines which
  3873. future ‘syslog’ calls shall be ignored. If a program has not
  3874. called ‘setlogmask’, ‘syslog’ doesn’t ignore any calls. You can
  3875. use ‘setlogmask’ to specify that messages of particular priorities
  3876. shall be ignored in the future.
  3877. A ‘setlogmask’ call overrides any previous ‘setlogmask’ call.
  3878. Note that the logmask exists entirely independently of opening and
  3879. closing of Syslog connections.
  3880. Setting the logmask has a similar effect to, but is not the same
  3881. as, configuring Syslog. The Syslog configuration may cause Syslog
  3882. to discard certain messages it receives, but the logmask causes
  3883. certain messages never to get submitted to Syslog in the first
  3884. place.
  3885. MASK is a bit string with one bit corresponding to each of the
  3886. possible message priorities. If the bit is on, ‘syslog’ handles
  3887. messages of that priority normally. If it is off, ‘syslog’
  3888. discards messages of that priority. Use the message priority
  3889. macros described in *note syslog; vsyslog:: and the ‘LOG_MASK’ to
  3890. construct an appropriate MASK value, as in this example:
  3891. LOG_MASK(LOG_EMERG) | LOG_MASK(LOG_ERROR)
  3892. or
  3893. ~(LOG_MASK(LOG_INFO))
  3894. There is also a ‘LOG_UPTO’ macro, which generates a mask with the
  3895. bits on for a certain priority and all priorities above it:
  3896. LOG_UPTO(LOG_ERROR)
  3897. The unfortunate naming of the macro is due to the fact that
  3898. internally, higher numbers are used for lower message priorities.
  3899. 
  3900. File: libc.info, Node: Syslog Example, Prev: setlogmask, Up: Submitting Syslog Messages
  3901. 18.2.5 Syslog Example
  3902. ---------------------
  3903. Here is an example of ‘openlog’, ‘syslog’, and ‘closelog’:
  3904. This example sets the logmask so that debug and informational
  3905. messages get discarded without ever reaching Syslog. So the second
  3906. ‘syslog’ in the example does nothing.
  3907. #include <syslog.h>
  3908. setlogmask (LOG_UPTO (LOG_NOTICE));
  3909. openlog ("exampleprog", LOG_CONS | LOG_PID | LOG_NDELAY, LOG_LOCAL1);
  3910. syslog (LOG_NOTICE, "Program started by User %d", getuid ());
  3911. syslog (LOG_INFO, "A tree falls in a forest");
  3912. closelog ();
  3913. 
  3914. File: libc.info, Node: Mathematics, Next: Arithmetic, Prev: Syslog, Up: Top
  3915. 19 Mathematics
  3916. **************
  3917. This chapter contains information about functions for performing
  3918. mathematical computations, such as trigonometric functions. Most of
  3919. these functions have prototypes declared in the header file ‘math.h’.
  3920. The complex-valued functions are defined in ‘complex.h’.
  3921. All mathematical functions which take a floating-point argument have
  3922. three variants, one each for ‘double’, ‘float’, and ‘long double’
  3923. arguments. The ‘double’ versions are mostly defined in ISO C89. The
  3924. ‘float’ and ‘long double’ versions are from the numeric extensions to C
  3925. included in ISO C99.
  3926. Which of the three versions of a function should be used depends on
  3927. the situation. For most calculations, the ‘float’ functions are the
  3928. fastest. On the other hand, the ‘long double’ functions have the
  3929. highest precision. ‘double’ is somewhere in between. It is usually
  3930. wise to pick the narrowest type that can accommodate your data. Not all
  3931. machines have a distinct ‘long double’ type; it may be the same as
  3932. ‘double’.
  3933. The GNU C Library also provides ‘_FloatN’ and ‘_FloatNx’ types.
  3934. These types are defined in ISO/IEC TS 18661-3, which extends ISO C and
  3935. defines floating-point types that are not machine-dependent. When such
  3936. a type, such as ‘_Float128’, is supported by the GNU C Library, extra
  3937. variants for most of the mathematical functions provided for ‘double’,
  3938. ‘float’, and ‘long double’ are also provided for the supported type.
  3939. Throughout this manual, the ‘_FloatN’ and ‘_FloatNx’ variants of these
  3940. functions are described along with the ‘double’, ‘float’, and ‘long
  3941. double’ variants and they come from ISO/IEC TS 18661-3, unless
  3942. explicitly stated otherwise.
  3943. Support for ‘_FloatN’ or ‘_FloatNx’ types is provided for ‘_Float32’,
  3944. ‘_Float64’ and ‘_Float32x’ on all platforms. It is also provided for
  3945. ‘_Float128’ and ‘_Float64x’ on powerpc64le (PowerPC 64-bits
  3946. little-endian), x86_64, x86, ia64, aarch64, alpha, mips64, riscv, s390
  3947. and sparc.
  3948. * Menu:
  3949. * Mathematical Constants:: Precise numeric values for often-used
  3950. constants.
  3951. * Trig Functions:: Sine, cosine, tangent, and friends.
  3952. * Inverse Trig Functions:: Arcsine, arccosine, etc.
  3953. * Exponents and Logarithms:: Also pow and sqrt.
  3954. * Hyperbolic Functions:: sinh, cosh, tanh, etc.
  3955. * Special Functions:: Bessel, gamma, erf.
  3956. * Errors in Math Functions:: Known Maximum Errors in Math Functions.
  3957. * Pseudo-Random Numbers:: Functions for generating pseudo-random
  3958. numbers.
  3959. * FP Function Optimizations:: Fast code or small code.
  3960. 
  3961. File: libc.info, Node: Mathematical Constants, Next: Trig Functions, Up: Mathematics
  3962. 19.1 Predefined Mathematical Constants
  3963. ======================================
  3964. The header ‘math.h’ defines several useful mathematical constants. All
  3965. values are defined as preprocessor macros starting with ‘M_’. The
  3966. values provided are:
  3967. ‘M_E’
  3968. The base of natural logarithms.
  3969. ‘M_LOG2E’
  3970. The logarithm to base ‘2’ of ‘M_E’.
  3971. ‘M_LOG10E’
  3972. The logarithm to base ‘10’ of ‘M_E’.
  3973. ‘M_LN2’
  3974. The natural logarithm of ‘2’.
  3975. ‘M_LN10’
  3976. The natural logarithm of ‘10’.
  3977. ‘M_PI’
  3978. Pi, the ratio of a circle’s circumference to its diameter.
  3979. ‘M_PI_2’
  3980. Pi divided by two.
  3981. ‘M_PI_4’
  3982. Pi divided by four.
  3983. ‘M_1_PI’
  3984. The reciprocal of pi (1/pi)
  3985. ‘M_2_PI’
  3986. Two times the reciprocal of pi.
  3987. ‘M_2_SQRTPI’
  3988. Two times the reciprocal of the square root of pi.
  3989. ‘M_SQRT2’
  3990. The square root of two.
  3991. ‘M_SQRT1_2’
  3992. The reciprocal of the square root of two (also the square root of
  3993. 1/2).
  3994. These constants come from the Unix98 standard and were also available
  3995. in 4.4BSD; therefore they are only defined if ‘_XOPEN_SOURCE=500’, or a
  3996. more general feature select macro, is defined. The default set of
  3997. features includes these constants. *Note Feature Test Macros::.
  3998. All values are of type ‘double’. As an extension, the GNU C Library
  3999. also defines these constants with type ‘long double’. The ‘long double’
  4000. macros have a lowercase ‘l’ appended to their names: ‘M_El’, ‘M_PIl’,
  4001. and so forth. These are only available if ‘_GNU_SOURCE’ is defined.
  4002. Likewise, the GNU C Library also defines these constants with the
  4003. types ‘_FloatN’ and ‘_FloatNx’ for the machines that have support for
  4004. such types enabled (*note Mathematics::) and if ‘_GNU_SOURCE’ is
  4005. defined. When available, the macros names are appended with ‘fN’ or
  4006. ‘fNx’, such as ‘f128’ for the type ‘_Float128’.
  4007. _Note:_ Some programs use a constant named ‘PI’ which has the same
  4008. value as ‘M_PI’. This constant is not standard; it may have appeared in
  4009. some old AT&T headers, and is mentioned in Stroustrup’s book on C++. It
  4010. infringes on the user’s name space, so the GNU C Library does not define
  4011. it. Fixing programs written to expect it is simple: replace ‘PI’ with
  4012. ‘M_PI’ throughout, or put ‘-DPI=M_PI’ on the compiler command line.
  4013. 
  4014. File: libc.info, Node: Trig Functions, Next: Inverse Trig Functions, Prev: Mathematical Constants, Up: Mathematics
  4015. 19.2 Trigonometric Functions
  4016. ============================
  4017. These are the familiar ‘sin’, ‘cos’, and ‘tan’ functions. The arguments
  4018. to all of these functions are in units of radians; recall that pi
  4019. radians equals 180 degrees.
  4020. The math library normally defines ‘M_PI’ to a ‘double’ approximation
  4021. of pi. If strict ISO and/or POSIX compliance are requested this
  4022. constant is not defined, but you can easily define it yourself:
  4023. #define M_PI 3.14159265358979323846264338327
  4024. You can also compute the value of pi with the expression ‘acos (-1.0)’.
  4025. -- Function: double sin (double X)
  4026. -- Function: float sinf (float X)
  4027. -- Function: long double sinl (long double X)
  4028. -- Function: _FloatN sinfN (_FloatN X)
  4029. -- Function: _FloatNx sinfNx (_FloatNx X)
  4030. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4031. Concepts::.
  4032. These functions return the sine of X, where X is given in radians.
  4033. The return value is in the range ‘-1’ to ‘1’.
  4034. -- Function: double cos (double X)
  4035. -- Function: float cosf (float X)
  4036. -- Function: long double cosl (long double X)
  4037. -- Function: _FloatN cosfN (_FloatN X)
  4038. -- Function: _FloatNx cosfNx (_FloatNx X)
  4039. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4040. Concepts::.
  4041. These functions return the cosine of X, where X is given in
  4042. radians. The return value is in the range ‘-1’ to ‘1’.
  4043. -- Function: double tan (double X)
  4044. -- Function: float tanf (float X)
  4045. -- Function: long double tanl (long double X)
  4046. -- Function: _FloatN tanfN (_FloatN X)
  4047. -- Function: _FloatNx tanfNx (_FloatNx X)
  4048. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4049. Concepts::.
  4050. These functions return the tangent of X, where X is given in
  4051. radians.
  4052. Mathematically, the tangent function has singularities at odd
  4053. multiples of pi/2. If the argument X is too close to one of these
  4054. singularities, ‘tan’ will signal overflow.
  4055. In many applications where ‘sin’ and ‘cos’ are used, the sine and
  4056. cosine of the same angle are needed at the same time. It is more
  4057. efficient to compute them simultaneously, so the library provides a
  4058. function to do that.
  4059. -- Function: void sincos (double X, double *SINX, double *COSX)
  4060. -- Function: void sincosf (float X, float *SINX, float *COSX)
  4061. -- Function: void sincosl (long double X, long double *SINX, long
  4062. double *COSX)
  4063. -- Function: _FloatN sincosfN (_FloatN X, _FloatN *SINX, _FloatN *COSX)
  4064. -- Function: _FloatNx sincosfNx (_FloatNx X, _FloatNx *SINX, _FloatNx
  4065. *COSX)
  4066. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4067. Concepts::.
  4068. These functions return the sine of X in ‘*SINX’ and the cosine of X
  4069. in ‘*COSX’, where X is given in radians. Both values, ‘*SINX’ and
  4070. ‘*COSX’, are in the range of ‘-1’ to ‘1’.
  4071. All these functions, including the ‘_FloatN’ and ‘_FloatNx’
  4072. variants, are GNU extensions. Portable programs should be prepared
  4073. to cope with their absence.
  4074. ISO C99 defines variants of the trig functions which work on complex
  4075. numbers. The GNU C Library provides these functions, but they are only
  4076. useful if your compiler supports the new complex types defined by the
  4077. standard. (As of this writing GCC supports complex numbers, but there
  4078. are bugs in the implementation.)
  4079. -- Function: complex double csin (complex double Z)
  4080. -- Function: complex float csinf (complex float Z)
  4081. -- Function: complex long double csinl (complex long double Z)
  4082. -- Function: complex _FloatN csinfN (complex _FloatN Z)
  4083. -- Function: complex _FloatNx csinfNx (complex _FloatNx Z)
  4084. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4085. Concepts::.
  4086. These functions return the complex sine of Z. The mathematical
  4087. definition of the complex sine is
  4088. sin (z) = 1/(2*i) * (exp (z*i) - exp (-z*i)).
  4089. -- Function: complex double ccos (complex double Z)
  4090. -- Function: complex float ccosf (complex float Z)
  4091. -- Function: complex long double ccosl (complex long double Z)
  4092. -- Function: complex _FloatN ccosfN (complex _FloatN Z)
  4093. -- Function: complex _FloatNx ccosfNx (complex _FloatNx Z)
  4094. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4095. Concepts::.
  4096. These functions return the complex cosine of Z. The mathematical
  4097. definition of the complex cosine is
  4098. cos (z) = 1/2 * (exp (z*i) + exp (-z*i))
  4099. -- Function: complex double ctan (complex double Z)
  4100. -- Function: complex float ctanf (complex float Z)
  4101. -- Function: complex long double ctanl (complex long double Z)
  4102. -- Function: complex _FloatN ctanfN (complex _FloatN Z)
  4103. -- Function: complex _FloatNx ctanfNx (complex _FloatNx Z)
  4104. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4105. Concepts::.
  4106. These functions return the complex tangent of Z. The mathematical
  4107. definition of the complex tangent is
  4108. tan (z) = -i * (exp (z*i) - exp (-z*i)) / (exp (z*i) + exp (-z*i))
  4109. The complex tangent has poles at pi/2 + 2n, where n is an integer.
  4110. ‘ctan’ may signal overflow if Z is too close to a pole.
  4111. 
  4112. File: libc.info, Node: Inverse Trig Functions, Next: Exponents and Logarithms, Prev: Trig Functions, Up: Mathematics
  4113. 19.3 Inverse Trigonometric Functions
  4114. ====================================
  4115. These are the usual arcsine, arccosine and arctangent functions, which
  4116. are the inverses of the sine, cosine and tangent functions respectively.
  4117. -- Function: double asin (double X)
  4118. -- Function: float asinf (float X)
  4119. -- Function: long double asinl (long double X)
  4120. -- Function: _FloatN asinfN (_FloatN X)
  4121. -- Function: _FloatNx asinfNx (_FloatNx X)
  4122. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4123. Concepts::.
  4124. These functions compute the arcsine of X—that is, the value whose
  4125. sine is X. The value is in units of radians. Mathematically,
  4126. there are infinitely many such values; the one actually returned is
  4127. the one between ‘-pi/2’ and ‘pi/2’ (inclusive).
  4128. The arcsine function is defined mathematically only over the domain
  4129. ‘-1’ to ‘1’. If X is outside the domain, ‘asin’ signals a domain
  4130. error.
  4131. -- Function: double acos (double X)
  4132. -- Function: float acosf (float X)
  4133. -- Function: long double acosl (long double X)
  4134. -- Function: _FloatN acosfN (_FloatN X)
  4135. -- Function: _FloatNx acosfNx (_FloatNx X)
  4136. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4137. Concepts::.
  4138. These functions compute the arccosine of X—that is, the value whose
  4139. cosine is X. The value is in units of radians. Mathematically,
  4140. there are infinitely many such values; the one actually returned is
  4141. the one between ‘0’ and ‘pi’ (inclusive).
  4142. The arccosine function is defined mathematically only over the
  4143. domain ‘-1’ to ‘1’. If X is outside the domain, ‘acos’ signals a
  4144. domain error.
  4145. -- Function: double atan (double X)
  4146. -- Function: float atanf (float X)
  4147. -- Function: long double atanl (long double X)
  4148. -- Function: _FloatN atanfN (_FloatN X)
  4149. -- Function: _FloatNx atanfNx (_FloatNx X)
  4150. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4151. Concepts::.
  4152. These functions compute the arctangent of X—that is, the value
  4153. whose tangent is X. The value is in units of radians.
  4154. Mathematically, there are infinitely many such values; the one
  4155. actually returned is the one between ‘-pi/2’ and ‘pi/2’
  4156. (inclusive).
  4157. -- Function: double atan2 (double Y, double X)
  4158. -- Function: float atan2f (float Y, float X)
  4159. -- Function: long double atan2l (long double Y, long double X)
  4160. -- Function: _FloatN atan2fN (_FloatN Y, _FloatN X)
  4161. -- Function: _FloatNx atan2fNx (_FloatNx Y, _FloatNx X)
  4162. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4163. Concepts::.
  4164. This function computes the arctangent of Y/X, but the signs of both
  4165. arguments are used to determine the quadrant of the result, and X
  4166. is permitted to be zero. The return value is given in radians and
  4167. is in the range ‘-pi’ to ‘pi’, inclusive.
  4168. If X and Y are coordinates of a point in the plane, ‘atan2’ returns
  4169. the signed angle between the line from the origin to that point and
  4170. the x-axis. Thus, ‘atan2’ is useful for converting Cartesian
  4171. coordinates to polar coordinates. (To compute the radial
  4172. coordinate, use ‘hypot’; see *note Exponents and Logarithms::.)
  4173. If both X and Y are zero, ‘atan2’ returns zero.
  4174. ISO C99 defines complex versions of the inverse trig functions.
  4175. -- Function: complex double casin (complex double Z)
  4176. -- Function: complex float casinf (complex float Z)
  4177. -- Function: complex long double casinl (complex long double Z)
  4178. -- Function: complex _FloatN casinfN (complex _FloatN Z)
  4179. -- Function: complex _FloatNx casinfNx (complex _FloatNx Z)
  4180. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4181. Concepts::.
  4182. These functions compute the complex arcsine of Z—that is, the value
  4183. whose sine is Z. The value returned is in radians.
  4184. Unlike the real-valued functions, ‘casin’ is defined for all values
  4185. of Z.
  4186. -- Function: complex double cacos (complex double Z)
  4187. -- Function: complex float cacosf (complex float Z)
  4188. -- Function: complex long double cacosl (complex long double Z)
  4189. -- Function: complex _FloatN cacosfN (complex _FloatN Z)
  4190. -- Function: complex _FloatNx cacosfNx (complex _FloatNx Z)
  4191. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4192. Concepts::.
  4193. These functions compute the complex arccosine of Z—that is, the
  4194. value whose cosine is Z. The value returned is in radians.
  4195. Unlike the real-valued functions, ‘cacos’ is defined for all values
  4196. of Z.
  4197. -- Function: complex double catan (complex double Z)
  4198. -- Function: complex float catanf (complex float Z)
  4199. -- Function: complex long double catanl (complex long double Z)
  4200. -- Function: complex _FloatN catanfN (complex _FloatN Z)
  4201. -- Function: complex _FloatNx catanfNx (complex _FloatNx Z)
  4202. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4203. Concepts::.
  4204. These functions compute the complex arctangent of Z—that is, the
  4205. value whose tangent is Z. The value is in units of radians.
  4206. 
  4207. File: libc.info, Node: Exponents and Logarithms, Next: Hyperbolic Functions, Prev: Inverse Trig Functions, Up: Mathematics
  4208. 19.4 Exponentiation and Logarithms
  4209. ==================================
  4210. -- Function: double exp (double X)
  4211. -- Function: float expf (float X)
  4212. -- Function: long double expl (long double X)
  4213. -- Function: _FloatN expfN (_FloatN X)
  4214. -- Function: _FloatNx expfNx (_FloatNx X)
  4215. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4216. Concepts::.
  4217. These functions compute ‘e’ (the base of natural logarithms) raised
  4218. to the power X.
  4219. If the magnitude of the result is too large to be representable,
  4220. ‘exp’ signals overflow.
  4221. -- Function: double exp2 (double X)
  4222. -- Function: float exp2f (float X)
  4223. -- Function: long double exp2l (long double X)
  4224. -- Function: _FloatN exp2fN (_FloatN X)
  4225. -- Function: _FloatNx exp2fNx (_FloatNx X)
  4226. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4227. Concepts::.
  4228. These functions compute ‘2’ raised to the power X. Mathematically,
  4229. ‘exp2 (x)’ is the same as ‘exp (x * log (2))’.
  4230. -- Function: double exp10 (double X)
  4231. -- Function: float exp10f (float X)
  4232. -- Function: long double exp10l (long double X)
  4233. -- Function: _FloatN exp10fN (_FloatN X)
  4234. -- Function: _FloatNx exp10fNx (_FloatNx X)
  4235. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4236. Concepts::.
  4237. These functions compute ‘10’ raised to the power X.
  4238. Mathematically, ‘exp10 (x)’ is the same as ‘exp (x * log (10))’.
  4239. The ‘exp10’ functions are from TS 18661-4:2015.
  4240. -- Function: double log (double X)
  4241. -- Function: float logf (float X)
  4242. -- Function: long double logl (long double X)
  4243. -- Function: _FloatN logfN (_FloatN X)
  4244. -- Function: _FloatNx logfNx (_FloatNx X)
  4245. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4246. Concepts::.
  4247. These functions compute the natural logarithm of X. ‘exp (log
  4248. (X))’ equals X, exactly in mathematics and approximately in C.
  4249. If X is negative, ‘log’ signals a domain error. If X is zero, it
  4250. returns negative infinity; if X is too close to zero, it may signal
  4251. overflow.
  4252. -- Function: double log10 (double X)
  4253. -- Function: float log10f (float X)
  4254. -- Function: long double log10l (long double X)
  4255. -- Function: _FloatN log10fN (_FloatN X)
  4256. -- Function: _FloatNx log10fNx (_FloatNx X)
  4257. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4258. Concepts::.
  4259. These functions return the base-10 logarithm of X. ‘log10 (X)’
  4260. equals ‘log (X) / log (10)’.
  4261. -- Function: double log2 (double X)
  4262. -- Function: float log2f (float X)
  4263. -- Function: long double log2l (long double X)
  4264. -- Function: _FloatN log2fN (_FloatN X)
  4265. -- Function: _FloatNx log2fNx (_FloatNx X)
  4266. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4267. Concepts::.
  4268. These functions return the base-2 logarithm of X. ‘log2 (X)’
  4269. equals ‘log (X) / log (2)’.
  4270. -- Function: double logb (double X)
  4271. -- Function: float logbf (float X)
  4272. -- Function: long double logbl (long double X)
  4273. -- Function: _FloatN logbfN (_FloatN X)
  4274. -- Function: _FloatNx logbfNx (_FloatNx X)
  4275. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4276. Concepts::.
  4277. These functions extract the exponent of X and return it as a
  4278. floating-point value. If ‘FLT_RADIX’ is two, ‘logb’ is equal to
  4279. ‘floor (log2 (x))’, except it’s probably faster.
  4280. If X is de-normalized, ‘logb’ returns the exponent X would have if
  4281. it were normalized. If X is infinity (positive or negative),
  4282. ‘logb’ returns oo. If X is zero, ‘logb’ returns oo. It does not
  4283. signal.
  4284. -- Function: int ilogb (double X)
  4285. -- Function: int ilogbf (float X)
  4286. -- Function: int ilogbl (long double X)
  4287. -- Function: int ilogbfN (_FloatN X)
  4288. -- Function: int ilogbfNx (_FloatNx X)
  4289. -- Function: long int llogb (double X)
  4290. -- Function: long int llogbf (float X)
  4291. -- Function: long int llogbl (long double X)
  4292. -- Function: long int llogbfN (_FloatN X)
  4293. -- Function: long int llogbfNx (_FloatNx X)
  4294. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4295. Concepts::.
  4296. These functions are equivalent to the corresponding ‘logb’
  4297. functions except that they return signed integer values. The
  4298. ‘ilogb’, ‘ilogbf’, and ‘ilogbl’ functions are from ISO C99; the
  4299. ‘llogb’, ‘llogbf’, ‘llogbl’ functions are from TS 18661-1:2014; the
  4300. ‘ilogbfN’, ‘ilogbfNx’, ‘llogbfN’, and ‘llogbfNx’ functions are from
  4301. TS 18661-3:2015.
  4302. Since integers cannot represent infinity and NaN, ‘ilogb’ instead
  4303. returns an integer that can’t be the exponent of a normal floating-point
  4304. number. ‘math.h’ defines constants so you can check for this.
  4305. -- Macro: int FP_ILOGB0
  4306. ‘ilogb’ returns this value if its argument is ‘0’. The numeric
  4307. value is either ‘INT_MIN’ or ‘-INT_MAX’.
  4308. This macro is defined in ISO C99.
  4309. -- Macro: long int FP_LLOGB0
  4310. ‘llogb’ returns this value if its argument is ‘0’. The numeric
  4311. value is either ‘LONG_MIN’ or ‘-LONG_MAX’.
  4312. This macro is defined in TS 18661-1:2014.
  4313. -- Macro: int FP_ILOGBNAN
  4314. ‘ilogb’ returns this value if its argument is ‘NaN’. The numeric
  4315. value is either ‘INT_MIN’ or ‘INT_MAX’.
  4316. This macro is defined in ISO C99.
  4317. -- Macro: long int FP_LLOGBNAN
  4318. ‘llogb’ returns this value if its argument is ‘NaN’. The numeric
  4319. value is either ‘LONG_MIN’ or ‘LONG_MAX’.
  4320. This macro is defined in TS 18661-1:2014.
  4321. These values are system specific. They might even be the same. The
  4322. proper way to test the result of ‘ilogb’ is as follows:
  4323. i = ilogb (f);
  4324. if (i == FP_ILOGB0 || i == FP_ILOGBNAN)
  4325. {
  4326. if (isnan (f))
  4327. {
  4328. /* Handle NaN. */
  4329. }
  4330. else if (f == 0.0)
  4331. {
  4332. /* Handle 0.0. */
  4333. }
  4334. else
  4335. {
  4336. /* Some other value with large exponent,
  4337. perhaps +Inf. */
  4338. }
  4339. }
  4340. -- Function: double pow (double BASE, double POWER)
  4341. -- Function: float powf (float BASE, float POWER)
  4342. -- Function: long double powl (long double BASE, long double POWER)
  4343. -- Function: _FloatN powfN (_FloatN BASE, _FloatN POWER)
  4344. -- Function: _FloatNx powfNx (_FloatNx BASE, _FloatNx POWER)
  4345. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4346. Concepts::.
  4347. These are general exponentiation functions, returning BASE raised
  4348. to POWER.
  4349. Mathematically, ‘pow’ would return a complex number when BASE is
  4350. negative and POWER is not an integral value. ‘pow’ can’t do that,
  4351. so instead it signals a domain error. ‘pow’ may also underflow or
  4352. overflow the destination type.
  4353. -- Function: double sqrt (double X)
  4354. -- Function: float sqrtf (float X)
  4355. -- Function: long double sqrtl (long double X)
  4356. -- Function: _FloatN sqrtfN (_FloatN X)
  4357. -- Function: _FloatNx sqrtfNx (_FloatNx X)
  4358. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4359. Concepts::.
  4360. These functions return the nonnegative square root of X.
  4361. If X is negative, ‘sqrt’ signals a domain error. Mathematically,
  4362. it should return a complex number.
  4363. -- Function: double cbrt (double X)
  4364. -- Function: float cbrtf (float X)
  4365. -- Function: long double cbrtl (long double X)
  4366. -- Function: _FloatN cbrtfN (_FloatN X)
  4367. -- Function: _FloatNx cbrtfNx (_FloatNx X)
  4368. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4369. Concepts::.
  4370. These functions return the cube root of X. They cannot fail; every
  4371. representable real value has a representable real cube root.
  4372. -- Function: double hypot (double X, double Y)
  4373. -- Function: float hypotf (float X, float Y)
  4374. -- Function: long double hypotl (long double X, long double Y)
  4375. -- Function: _FloatN hypotfN (_FloatN X, _FloatN Y)
  4376. -- Function: _FloatNx hypotfNx (_FloatNx X, _FloatNx Y)
  4377. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4378. Concepts::.
  4379. These functions return ‘sqrt (X*X + Y*Y)’. This is the length of
  4380. the hypotenuse of a right triangle with sides of length X and Y, or
  4381. the distance of the point (X, Y) from the origin. Using this
  4382. function instead of the direct formula is wise, since the error is
  4383. much smaller. See also the function ‘cabs’ in *note Absolute
  4384. Value::.
  4385. -- Function: double expm1 (double X)
  4386. -- Function: float expm1f (float X)
  4387. -- Function: long double expm1l (long double X)
  4388. -- Function: _FloatN expm1fN (_FloatN X)
  4389. -- Function: _FloatNx expm1fNx (_FloatNx X)
  4390. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4391. Concepts::.
  4392. These functions return a value equivalent to ‘exp (X) - 1’. They
  4393. are computed in a way that is accurate even if X is near zero—a
  4394. case where ‘exp (X) - 1’ would be inaccurate owing to subtraction
  4395. of two numbers that are nearly equal.
  4396. -- Function: double log1p (double X)
  4397. -- Function: float log1pf (float X)
  4398. -- Function: long double log1pl (long double X)
  4399. -- Function: _FloatN log1pfN (_FloatN X)
  4400. -- Function: _FloatNx log1pfNx (_FloatNx X)
  4401. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4402. Concepts::.
  4403. These functions return a value equivalent to ‘log (1 + X)’. They
  4404. are computed in a way that is accurate even if X is near zero.
  4405. ISO C99 defines complex variants of some of the exponentiation and
  4406. logarithm functions.
  4407. -- Function: complex double cexp (complex double Z)
  4408. -- Function: complex float cexpf (complex float Z)
  4409. -- Function: complex long double cexpl (complex long double Z)
  4410. -- Function: complex _FloatN cexpfN (complex _FloatN Z)
  4411. -- Function: complex _FloatNx cexpfNx (complex _FloatNx Z)
  4412. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4413. Concepts::.
  4414. These functions return ‘e’ (the base of natural logarithms) raised
  4415. to the power of Z. Mathematically, this corresponds to the value
  4416. exp (z) = exp (creal (z)) * (cos (cimag (z)) + I * sin (cimag (z)))
  4417. -- Function: complex double clog (complex double Z)
  4418. -- Function: complex float clogf (complex float Z)
  4419. -- Function: complex long double clogl (complex long double Z)
  4420. -- Function: complex _FloatN clogfN (complex _FloatN Z)
  4421. -- Function: complex _FloatNx clogfNx (complex _FloatNx Z)
  4422. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4423. Concepts::.
  4424. These functions return the natural logarithm of Z. Mathematically,
  4425. this corresponds to the value
  4426. log (z) = log (cabs (z)) + I * carg (z)
  4427. ‘clog’ has a pole at 0, and will signal overflow if Z equals or is
  4428. very close to 0. It is well-defined for all other values of Z.
  4429. -- Function: complex double clog10 (complex double Z)
  4430. -- Function: complex float clog10f (complex float Z)
  4431. -- Function: complex long double clog10l (complex long double Z)
  4432. -- Function: complex _FloatN clog10fN (complex _FloatN Z)
  4433. -- Function: complex _FloatNx clog10fNx (complex _FloatNx Z)
  4434. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4435. Concepts::.
  4436. These functions return the base 10 logarithm of the complex value
  4437. Z. Mathematically, this corresponds to the value
  4438. log10 (z) = log10 (cabs (z)) + I * carg (z) / log (10)
  4439. All these functions, including the ‘_FloatN’ and ‘_FloatNx’
  4440. variants, are GNU extensions.
  4441. -- Function: complex double csqrt (complex double Z)
  4442. -- Function: complex float csqrtf (complex float Z)
  4443. -- Function: complex long double csqrtl (complex long double Z)
  4444. -- Function: complex _FloatN csqrtfN (_FloatN Z)
  4445. -- Function: complex _FloatNx csqrtfNx (complex _FloatNx Z)
  4446. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4447. Concepts::.
  4448. These functions return the complex square root of the argument Z.
  4449. Unlike the real-valued functions, they are defined for all values
  4450. of Z.
  4451. -- Function: complex double cpow (complex double BASE, complex double
  4452. POWER)
  4453. -- Function: complex float cpowf (complex float BASE, complex float
  4454. POWER)
  4455. -- Function: complex long double cpowl (complex long double BASE,
  4456. complex long double POWER)
  4457. -- Function: complex _FloatN cpowfN (complex _FloatN BASE, complex
  4458. _FloatN POWER)
  4459. -- Function: complex _FloatNx cpowfNx (complex _FloatNx BASE, complex
  4460. _FloatNx POWER)
  4461. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4462. Concepts::.
  4463. These functions return BASE raised to the power of POWER. This is
  4464. equivalent to ‘cexp (y * clog (x))’
  4465. 
  4466. File: libc.info, Node: Hyperbolic Functions, Next: Special Functions, Prev: Exponents and Logarithms, Up: Mathematics
  4467. 19.5 Hyperbolic Functions
  4468. =========================
  4469. The functions in this section are related to the exponential functions;
  4470. see *note Exponents and Logarithms::.
  4471. -- Function: double sinh (double X)
  4472. -- Function: float sinhf (float X)
  4473. -- Function: long double sinhl (long double X)
  4474. -- Function: _FloatN sinhfN (_FloatN X)
  4475. -- Function: _FloatNx sinhfNx (_FloatNx X)
  4476. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4477. Concepts::.
  4478. These functions return the hyperbolic sine of X, defined
  4479. mathematically as ‘(exp (X) - exp (-X)) / 2’. They may signal
  4480. overflow if X is too large.
  4481. -- Function: double cosh (double X)
  4482. -- Function: float coshf (float X)
  4483. -- Function: long double coshl (long double X)
  4484. -- Function: _FloatN coshfN (_FloatN X)
  4485. -- Function: _FloatNx coshfNx (_FloatNx X)
  4486. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4487. Concepts::.
  4488. These functions return the hyperbolic cosine of X, defined
  4489. mathematically as ‘(exp (X) + exp (-X)) / 2’. They may signal
  4490. overflow if X is too large.
  4491. -- Function: double tanh (double X)
  4492. -- Function: float tanhf (float X)
  4493. -- Function: long double tanhl (long double X)
  4494. -- Function: _FloatN tanhfN (_FloatN X)
  4495. -- Function: _FloatNx tanhfNx (_FloatNx X)
  4496. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4497. Concepts::.
  4498. These functions return the hyperbolic tangent of X, defined
  4499. mathematically as ‘sinh (X) / cosh (X)’. They may signal overflow
  4500. if X is too large.
  4501. There are counterparts for the hyperbolic functions which take
  4502. complex arguments.
  4503. -- Function: complex double csinh (complex double Z)
  4504. -- Function: complex float csinhf (complex float Z)
  4505. -- Function: complex long double csinhl (complex long double Z)
  4506. -- Function: complex _FloatN csinhfN (complex _FloatN Z)
  4507. -- Function: complex _FloatNx csinhfNx (complex _FloatNx Z)
  4508. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4509. Concepts::.
  4510. These functions return the complex hyperbolic sine of Z, defined
  4511. mathematically as ‘(exp (Z) - exp (-Z)) / 2’.
  4512. -- Function: complex double ccosh (complex double Z)
  4513. -- Function: complex float ccoshf (complex float Z)
  4514. -- Function: complex long double ccoshl (complex long double Z)
  4515. -- Function: complex _FloatN ccoshfN (complex _FloatN Z)
  4516. -- Function: complex _FloatNx ccoshfNx (complex _FloatNx Z)
  4517. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4518. Concepts::.
  4519. These functions return the complex hyperbolic cosine of Z, defined
  4520. mathematically as ‘(exp (Z) + exp (-Z)) / 2’.
  4521. -- Function: complex double ctanh (complex double Z)
  4522. -- Function: complex float ctanhf (complex float Z)
  4523. -- Function: complex long double ctanhl (complex long double Z)
  4524. -- Function: complex _FloatN ctanhfN (complex _FloatN Z)
  4525. -- Function: complex _FloatNx ctanhfNx (complex _FloatNx Z)
  4526. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4527. Concepts::.
  4528. These functions return the complex hyperbolic tangent of Z, defined
  4529. mathematically as ‘csinh (Z) / ccosh (Z)’.
  4530. -- Function: double asinh (double X)
  4531. -- Function: float asinhf (float X)
  4532. -- Function: long double asinhl (long double X)
  4533. -- Function: _FloatN asinhfN (_FloatN X)
  4534. -- Function: _FloatNx asinhfNx (_FloatNx X)
  4535. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4536. Concepts::.
  4537. These functions return the inverse hyperbolic sine of X—the value
  4538. whose hyperbolic sine is X.
  4539. -- Function: double acosh (double X)
  4540. -- Function: float acoshf (float X)
  4541. -- Function: long double acoshl (long double X)
  4542. -- Function: _FloatN acoshfN (_FloatN X)
  4543. -- Function: _FloatNx acoshfNx (_FloatNx X)
  4544. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4545. Concepts::.
  4546. These functions return the inverse hyperbolic cosine of X—the value
  4547. whose hyperbolic cosine is X. If X is less than ‘1’, ‘acosh’
  4548. signals a domain error.
  4549. -- Function: double atanh (double X)
  4550. -- Function: float atanhf (float X)
  4551. -- Function: long double atanhl (long double X)
  4552. -- Function: _FloatN atanhfN (_FloatN X)
  4553. -- Function: _FloatNx atanhfNx (_FloatNx X)
  4554. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4555. Concepts::.
  4556. These functions return the inverse hyperbolic tangent of X—the
  4557. value whose hyperbolic tangent is X. If the absolute value of X is
  4558. greater than ‘1’, ‘atanh’ signals a domain error; if it is equal to
  4559. 1, ‘atanh’ returns infinity.
  4560. -- Function: complex double casinh (complex double Z)
  4561. -- Function: complex float casinhf (complex float Z)
  4562. -- Function: complex long double casinhl (complex long double Z)
  4563. -- Function: complex _FloatN casinhfN (complex _FloatN Z)
  4564. -- Function: complex _FloatNx casinhfNx (complex _FloatNx Z)
  4565. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4566. Concepts::.
  4567. These functions return the inverse complex hyperbolic sine of Z—the
  4568. value whose complex hyperbolic sine is Z.
  4569. -- Function: complex double cacosh (complex double Z)
  4570. -- Function: complex float cacoshf (complex float Z)
  4571. -- Function: complex long double cacoshl (complex long double Z)
  4572. -- Function: complex _FloatN cacoshfN (complex _FloatN Z)
  4573. -- Function: complex _FloatNx cacoshfNx (complex _FloatNx Z)
  4574. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4575. Concepts::.
  4576. These functions return the inverse complex hyperbolic cosine of
  4577. Z—the value whose complex hyperbolic cosine is Z. Unlike the
  4578. real-valued functions, there are no restrictions on the value of Z.
  4579. -- Function: complex double catanh (complex double Z)
  4580. -- Function: complex float catanhf (complex float Z)
  4581. -- Function: complex long double catanhl (complex long double Z)
  4582. -- Function: complex _FloatN catanhfN (complex _FloatN Z)
  4583. -- Function: complex _FloatNx catanhfNx (complex _FloatNx Z)
  4584. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4585. Concepts::.
  4586. These functions return the inverse complex hyperbolic tangent of
  4587. Z—the value whose complex hyperbolic tangent is Z. Unlike the
  4588. real-valued functions, there are no restrictions on the value of Z.
  4589. 
  4590. File: libc.info, Node: Special Functions, Next: Errors in Math Functions, Prev: Hyperbolic Functions, Up: Mathematics
  4591. 19.6 Special Functions
  4592. ======================
  4593. These are some more exotic mathematical functions which are sometimes
  4594. useful. Currently they only have real-valued versions.
  4595. -- Function: double erf (double X)
  4596. -- Function: float erff (float X)
  4597. -- Function: long double erfl (long double X)
  4598. -- Function: _FloatN erffN (_FloatN X)
  4599. -- Function: _FloatNx erffNx (_FloatNx X)
  4600. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4601. Concepts::.
  4602. ‘erf’ returns the error function of X. The error function is
  4603. defined as
  4604. erf (x) = 2/sqrt(pi) * integral from 0 to x of exp(-t^2) dt
  4605. -- Function: double erfc (double X)
  4606. -- Function: float erfcf (float X)
  4607. -- Function: long double erfcl (long double X)
  4608. -- Function: _FloatN erfcfN (_FloatN X)
  4609. -- Function: _FloatNx erfcfNx (_FloatNx X)
  4610. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4611. Concepts::.
  4612. ‘erfc’ returns ‘1.0 - erf(X)’, but computed in a fashion that
  4613. avoids round-off error when X is large.
  4614. -- Function: double lgamma (double X)
  4615. -- Function: float lgammaf (float X)
  4616. -- Function: long double lgammal (long double X)
  4617. -- Function: _FloatN lgammafN (_FloatN X)
  4618. -- Function: _FloatNx lgammafNx (_FloatNx X)
  4619. Preliminary: | MT-Unsafe race:signgam | AS-Unsafe | AC-Safe | *Note
  4620. POSIX Safety Concepts::.
  4621. ‘lgamma’ returns the natural logarithm of the absolute value of the
  4622. gamma function of X. The gamma function is defined as
  4623. gamma (x) = integral from 0 to oo of t^(x-1) e^-t dt
  4624. The sign of the gamma function is stored in the global variable
  4625. SIGNGAM, which is declared in ‘math.h’. It is ‘1’ if the
  4626. intermediate result was positive or zero, or ‘-1’ if it was
  4627. negative.
  4628. To compute the real gamma function you can use the ‘tgamma’
  4629. function or you can compute the values as follows:
  4630. lgam = lgamma(x);
  4631. gam = signgam*exp(lgam);
  4632. The gamma function has singularities at the non-positive integers.
  4633. ‘lgamma’ will raise the zero divide exception if evaluated at a
  4634. singularity.
  4635. -- Function: double lgamma_r (double X, int *SIGNP)
  4636. -- Function: float lgammaf_r (float X, int *SIGNP)
  4637. -- Function: long double lgammal_r (long double X, int *SIGNP)
  4638. -- Function: _FloatN lgammafN_r (_FloatN X, int *SIGNP)
  4639. -- Function: _FloatNx lgammafNx_r (_FloatNx X, int *SIGNP)
  4640. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4641. Concepts::.
  4642. ‘lgamma_r’ is just like ‘lgamma’, but it stores the sign of the
  4643. intermediate result in the variable pointed to by SIGNP instead of
  4644. in the SIGNGAM global. This means it is reentrant.
  4645. The ‘lgammafN_r’ and ‘lgammafNx_r’ functions are GNU extensions.
  4646. -- Function: double gamma (double X)
  4647. -- Function: float gammaf (float X)
  4648. -- Function: long double gammal (long double X)
  4649. Preliminary: | MT-Unsafe race:signgam | AS-Unsafe | AC-Safe | *Note
  4650. POSIX Safety Concepts::.
  4651. These functions exist for compatibility reasons. They are
  4652. equivalent to ‘lgamma’ etc. It is better to use ‘lgamma’ since for
  4653. one the name reflects better the actual computation, and moreover
  4654. ‘lgamma’ is standardized in ISO C99 while ‘gamma’ is not.
  4655. -- Function: double tgamma (double X)
  4656. -- Function: float tgammaf (float X)
  4657. -- Function: long double tgammal (long double X)
  4658. -- Function: _FloatN tgammafN (_FloatN X)
  4659. -- Function: _FloatNx tgammafNx (_FloatNx X)
  4660. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4661. Concepts::.
  4662. ‘tgamma’ applies the gamma function to X. The gamma function is
  4663. defined as
  4664. gamma (x) = integral from 0 to oo of t^(x-1) e^-t dt
  4665. This function was introduced in ISO C99. The ‘_FloatN’ and
  4666. ‘_FloatNx’ variants were introduced in ISO/IEC TS 18661-3.
  4667. -- Function: double j0 (double X)
  4668. -- Function: float j0f (float X)
  4669. -- Function: long double j0l (long double X)
  4670. -- Function: _FloatN j0fN (_FloatN X)
  4671. -- Function: _FloatNx j0fNx (_FloatNx X)
  4672. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4673. Concepts::.
  4674. ‘j0’ returns the Bessel function of the first kind of order 0 of X.
  4675. It may signal underflow if X is too large.
  4676. The ‘_FloatN’ and ‘_FloatNx’ variants are GNU extensions.
  4677. -- Function: double j1 (double X)
  4678. -- Function: float j1f (float X)
  4679. -- Function: long double j1l (long double X)
  4680. -- Function: _FloatN j1fN (_FloatN X)
  4681. -- Function: _FloatNx j1fNx (_FloatNx X)
  4682. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4683. Concepts::.
  4684. ‘j1’ returns the Bessel function of the first kind of order 1 of X.
  4685. It may signal underflow if X is too large.
  4686. The ‘_FloatN’ and ‘_FloatNx’ variants are GNU extensions.
  4687. -- Function: double jn (int N, double X)
  4688. -- Function: float jnf (int N, float X)
  4689. -- Function: long double jnl (int N, long double X)
  4690. -- Function: _FloatN jnfN (int N, _FloatN X)
  4691. -- Function: _FloatNx jnfNx (int N, _FloatNx X)
  4692. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4693. Concepts::.
  4694. ‘jn’ returns the Bessel function of the first kind of order N of X.
  4695. It may signal underflow if X is too large.
  4696. The ‘_FloatN’ and ‘_FloatNx’ variants are GNU extensions.
  4697. -- Function: double y0 (double X)
  4698. -- Function: float y0f (float X)
  4699. -- Function: long double y0l (long double X)
  4700. -- Function: _FloatN y0fN (_FloatN X)
  4701. -- Function: _FloatNx y0fNx (_FloatNx X)
  4702. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4703. Concepts::.
  4704. ‘y0’ returns the Bessel function of the second kind of order 0 of
  4705. X. It may signal underflow if X is too large. If X is negative,
  4706. ‘y0’ signals a domain error; if it is zero, ‘y0’ signals overflow
  4707. and returns -oo.
  4708. The ‘_FloatN’ and ‘_FloatNx’ variants are GNU extensions.
  4709. -- Function: double y1 (double X)
  4710. -- Function: float y1f (float X)
  4711. -- Function: long double y1l (long double X)
  4712. -- Function: _FloatN y1fN (_FloatN X)
  4713. -- Function: _FloatNx y1fNx (_FloatNx X)
  4714. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4715. Concepts::.
  4716. ‘y1’ returns the Bessel function of the second kind of order 1 of
  4717. X. It may signal underflow if X is too large. If X is negative,
  4718. ‘y1’ signals a domain error; if it is zero, ‘y1’ signals overflow
  4719. and returns -oo.
  4720. The ‘_FloatN’ and ‘_FloatNx’ variants are GNU extensions.
  4721. -- Function: double yn (int N, double X)
  4722. -- Function: float ynf (int N, float X)
  4723. -- Function: long double ynl (int N, long double X)
  4724. -- Function: _FloatN ynfN (int N, _FloatN X)
  4725. -- Function: _FloatNx ynfNx (int N, _FloatNx X)
  4726. Preliminary: | MT-Safe | AS-Safe | AC-Safe | *Note POSIX Safety
  4727. Concepts::.
  4728. ‘yn’ returns the Bessel function of the second kind of order N of
  4729. X. It may signal underflow if X is too large. If X is negative,
  4730. ‘yn’ signals a domain error; if it is zero, ‘yn’ signals overflow
  4731. and returns -oo.
  4732. The ‘_FloatN’ and ‘_FloatNx’ variants are GNU extensions.
  4733. 
  4734. File: libc.info, Node: Errors in Math Functions, Next: Pseudo-Random Numbers, Prev: Special Functions, Up: Mathematics
  4735. 19.7 Known Maximum Errors in Math Functions
  4736. ===========================================
  4737. This section lists the known errors of the functions in the math
  4738. library. Errors are measured in “units of the last place”. This is a
  4739. measure for the relative error. For a number z with the representation
  4740. d.d...d*2^e (we assume IEEE floating-point numbers with base 2) the ULP
  4741. is represented by
  4742. |d.d...d - (z / 2^e)| / 2^(p - 1)
  4743. where p is the number of bits in the mantissa of the floating-point
  4744. number representation. Ideally the error for all functions is always
  4745. less than 0.5ulps in round-to-nearest mode. Using rounding bits this is
  4746. also possible and normally implemented for the basic operations. Except
  4747. for certain functions such as ‘sqrt’, ‘fma’ and ‘rint’ whose results are
  4748. fully specified by reference to corresponding IEEE 754 floating-point
  4749. operations, and conversions between strings and floating point, the GNU
  4750. C Library does not aim for correctly rounded results for functions in
  4751. the math library, and does not aim for correctness in whether “inexact”
  4752. exceptions are raised. Instead, the goals for accuracy of functions
  4753. without fully specified results are as follows; some functions have bugs
  4754. meaning they do not meet these goals in all cases. In the future, the
  4755. GNU C Library may provide some other correctly rounding functions under
  4756. the names such as ‘crsin’ proposed for an extension to ISO C.
  4757. • Each function with a floating-point result behaves as if it
  4758. computes an infinite-precision result that is within a few ulp (in
  4759. both real and complex parts, for functions with complex results) of
  4760. the mathematically correct value of the function (interpreted
  4761. together with ISO C or POSIX semantics for the function in
  4762. question) at the exact value passed as the input. Exceptions are
  4763. raised appropriately for this value and in accordance with IEEE 754
  4764. / ISO C / POSIX semantics, and it is then rounded according to the
  4765. current rounding direction to the result that is returned to the
  4766. user. ‘errno’ may also be set (*note Math Error Reporting::).
  4767. (The “inexact” exception may be raised, or not raised, even if this
  4768. is inconsistent with the infinite-precision value.)
  4769. • For the IBM ‘long double’ format, as used on PowerPC GNU/Linux, the
  4770. accuracy goal is weaker for input values not exactly representable
  4771. in 106 bits of precision; it is as if the input value is some value
  4772. within 0.5ulp of the value actually passed, where “ulp” is
  4773. interpreted in terms of a fixed-precision 106-bit mantissa, but not
  4774. necessarily the exact value actually passed with discontiguous
  4775. mantissa bits.
  4776. • For the IBM ‘long double’ format, functions whose results are fully
  4777. specified by reference to corresponding IEEE 754 floating-point
  4778. operations have the same accuracy goals as other functions, but
  4779. with the error bound being the same as that for division (3ulp).
  4780. Furthermore, “inexact” and “underflow” exceptions may be raised for
  4781. all functions for any inputs, even where such exceptions are
  4782. inconsistent with the returned value, since the underlying
  4783. floating-point arithmetic has that property.
  4784. • Functions behave as if the infinite-precision result computed is
  4785. zero, infinity or NaN if and only if that is the mathematically
  4786. correct infinite-precision result. They behave as if the
  4787. infinite-precision result computed always has the same sign as the
  4788. mathematically correct result.
  4789. • If the mathematical result is more than a few ulp above the
  4790. overflow threshold for the current rounding direction, the value
  4791. returned is the appropriate overflow value for the current rounding
  4792. direction, with the overflow exception raised.
  4793. • If the mathematical result has magnitude well below half the least
  4794. subnormal magnitude, the returned value is either zero or the least
  4795. subnormal (in each case, with the correct sign), according to the
  4796. current rounding direction and with the underflow exception raised.
  4797. • Where the mathematical result underflows (before rounding) and is
  4798. not exactly representable as a floating-point value, the function
  4799. does not behave as if the computed infinite-precision result is an
  4800. exact value in the subnormal range. This means that the underflow
  4801. exception is raised other than possibly for cases where the
  4802. mathematical result is very close to the underflow threshold and
  4803. the function behaves as if it computes an infinite-precision result
  4804. that does not underflow. (So there may be spurious underflow
  4805. exceptions in cases where the underflowing result is exact, but not
  4806. missing underflow exceptions in cases where it is inexact.)
  4807. • The GNU C Library does not aim for functions to satisfy other
  4808. properties of the underlying mathematical function, such as
  4809. monotonicity, where not implied by the above goals.
  4810. • All the above applies to both real and complex parts, for complex
  4811. functions.
  4812. Therefore many of the functions in the math library have errors. The
  4813. table lists the maximum error for each function which is exposed by one
  4814. of the existing tests in the test suite. The table tries to cover as
  4815. much as possible and list the actual maximum error (or at least a
  4816. ballpark figure) but this is often not achieved due to the large search
  4817. space.
  4818. The table lists the ULP values for different architectures.
  4819. Different architectures have different results since their hardware
  4820. support for floating-point operations varies and also the existing
  4821. hardware support is different. Only the round-to-nearest rounding mode
  4822. is covered by this table, and vector versions of functions are not
  4823. covered. Functions not listed do not have known errors.
  4824. Function AArch64 ARC ARC ARM Alpha
  4825. soft-float
  4826. acosf 1 1 1 1 1
  4827. acos - 1 - - -
  4828. acosl 1 - - - 1
  4829. acosf128 - - - - -
  4830. acoshf 2 2 2 2 2
  4831. acosh 2 3 2 2 2
  4832. acoshl 2 - - - 2
  4833. acoshf128 - - - - -
  4834. add_ldoublef - - - - -
  4835. add_ldouble - - - - -
  4836. add_ldoublel - - - - -
  4837. add_ldoublef128- - - - -
  4838. asinf 1 1 1 1 1
  4839. asin - 1 - - -
  4840. asinl 1 - - - 1
  4841. asinf128 - - - - -
  4842. asinhf 2 2 2 2 2
  4843. asinh 2 3 2 2 2
  4844. asinhl 3 - - - 3
  4845. asinhf128 - - - - -
  4846. atanf 1 1 1 1 1
  4847. atan 1 1 - - -
  4848. atanl 1 - - - 1
  4849. atanf128 - - - - -
  4850. atan2f 1 2 1 1 1
  4851. atan2 - 7 - - -
  4852. atan2l 1 - - - 1
  4853. atan2f128 - - - - -
  4854. atanhf 2 2 2 2 2
  4855. atanh 2 2 2 2 2
  4856. atanhl 3 - - - 3
  4857. atanhf128 - - - - -
  4858. cabsf - 1 - - -
  4859. cabs 1 1 1 1 1
  4860. cabsl 1 - - - 1
  4861. cabsf128 - - - - -
  4862. cacosf 2 + i 2 2 + i 3 2 + i 2 2 + i 2 2 + i 2
  4863. cacos 1 + i 2 2 + i 5 1 + i 2 1 + i 2 1 + i 2
  4864. cacosl 2 + i 2 - - - 2 + i 2
  4865. cacosf128 - - - - -
  4866. cacoshf 2 + i 2 4 + i 2 2 + i 2 2 + i 2 2 + i 2
  4867. cacosh 2 + i 1 5 + i 2 2 + i 1 2 + i 1 2 + i 1
  4868. cacoshl 2 + i 2 - - - 2 + i 2
  4869. cacoshf128 - - - - -
  4870. cargf 1 2 1 1 1
  4871. carg 1 7 - - -
  4872. cargl 2 - - - 2
  4873. cargf128 - - - - -
  4874. casinf 1 + i 2 1 + i 4 1 + i 2 1 + i 2 1 + i 2
  4875. casin 1 + i 2 3 + i 5 1 + i 2 1 + i 2 1 + i 2
  4876. casinl 2 + i 2 - - - 2 + i 2
  4877. casinf128 - - - - -
  4878. casinhf 2 + i 1 4 + i 2 2 + i 1 2 + i 1 2 + i 1
  4879. casinh 2 + i 1 5 + i 3 2 + i 1 2 + i 1 2 + i 1
  4880. casinhl 2 + i 2 - - - 2 + i 2
  4881. casinhf128 - - - - -
  4882. catanf 1 + i 1 1 + i 3 1 + i 1 1 + i 1 1 + i 1
  4883. catan 1 + i 1 1 + i 3 1 + i 1 1 + i 1 1 + i 1
  4884. catanl 1 + i 1 - - - 1 + i 1
  4885. catanf128 - - - - -
  4886. catanhf 1 + i 1 4 + i 2 1 + i 1 1 + i 1 1 + i 1
  4887. catanh 1 + i 1 4 + i 1 1 + i 1 1 + i 1 1 + i 1
  4888. catanhl 1 + i 1 - - - 1 + i 1
  4889. catanhf128 - - - - -
  4890. cbrtf 1 1 1 1 1
  4891. cbrt 4 4 4 4 4
  4892. cbrtl 1 - - - 1
  4893. cbrtf128 - - - - -
  4894. ccosf 1 + i 1 3 + i 3 1 + i 1 1 + i 1 1 + i 1
  4895. ccos 1 + i 1 3 + i 3 1 + i 1 1 + i 1 1 + i 1
  4896. ccosl 1 + i 1 - - - 1 + i 1
  4897. ccosf128 - - - - -
  4898. ccoshf 1 + i 1 3 + i 3 1 + i 1 1 + i 1 1 + i 1
  4899. ccosh 1 + i 1 3 + i 3 1 + i 1 1 + i 1 1 + i 1
  4900. ccoshl 1 + i 1 - - - 1 + i 1
  4901. ccoshf128 - - - - -
  4902. cexpf 1 + i 2 3 + i 3 1 + i 2 1 + i 2 1 + i 2
  4903. cexp 2 + i 1 4 + i 4 2 + i 1 2 + i 1 2 + i 1
  4904. cexpl 1 + i 1 - - - 1 + i 1
  4905. cexpf128 - - - - -
  4906. clogf 3 + i 1 4 + i 2 3 + i 1 3 + i 1 3 + i 1
  4907. clog 3 + i 1 5 + i 7 3 + i 0 3 + i 0 3 + i 0
  4908. clogl 2 + i 1 - - - 2 + i 1
  4909. clogf128 - - - - -
  4910. clog10f 4 + i 2 5 + i 4 4 + i 2 4 + i 2 4 + i 2
  4911. clog10 3 + i 2 6 + i 8 3 + i 2 3 + i 2 3 + i 2
  4912. clog10l 2 + i 2 - - - 2 + i 2
  4913. clog10f128 - - - - -
  4914. cosf 1 1 1 1 1
  4915. cos 1 4 1 1 1
  4916. cosl 1 - - - 1
  4917. cosf128 - - - - -
  4918. coshf 2 3 2 2 2
  4919. cosh 2 3 2 2 2
  4920. coshl 1 - - - 1
  4921. coshf128 - - - - -
  4922. cpowf 5 + i 2 8 + i 6 5 + i 2 5 + i 2 5 + i 2
  4923. cpow 2 + i 0 9 + i 8 2 + i 0 2 + i 0 2 + i 0
  4924. cpowl 4 + i 1 - - - 4 + i 1
  4925. cpowf128 - - - - -
  4926. csinf 1 + i 0 3 + i 3 1 + i 0 1 + i 0 1 + i 0
  4927. csin 1 + i 0 3 + i 3 1 + i 0 1 + i 0 1 + i 0
  4928. csinl 1 + i 1 - - - 1 + i 1
  4929. csinf128 - - - - -
  4930. csinhf 1 + i 1 3 + i 3 1 + i 1 1 + i 1 1 + i 1
  4931. csinh 0 + i 1 3 + i 3 0 + i 1 0 + i 1 0 + i 1
  4932. csinhl 1 + i 1 - - - 1 + i 1
  4933. csinhf128 - - - - -
  4934. csqrtf 2 + i 2 3 + i 3 2 + i 2 2 + i 2 2 + i 2
  4935. csqrt 2 + i 2 4 + i 4 2 + i 2 2 + i 2 2 + i 2
  4936. csqrtl 2 + i 2 - - - 2 + i 2
  4937. csqrtf128 - - - - -
  4938. ctanf 1 + i 2 6 + i 2 1 + i 2 1 + i 2 1 + i 2
  4939. ctan 1 + i 2 4 + i 3 1 + i 2 1 + i 2 1 + i 2
  4940. ctanl 3 + i 3 - - - 3 + i 3
  4941. ctanf128 - - - - -
  4942. ctanhf 2 + i 1 2 + i 6 2 + i 2 2 + i 2 2 + i 2
  4943. ctanh 2 + i 2 3 + i 4 2 + i 2 2 + i 2 2 + i 2
  4944. ctanhl 3 + i 3 - - - 3 + i 3
  4945. ctanhf128 - - - - -
  4946. div_ldoublef - - - - -
  4947. div_ldouble - - - - -
  4948. div_ldoublel - - - - -
  4949. div_ldoublef128- - - - -
  4950. erff 1 1 1 1 1
  4951. erf 1 1 1 1 1
  4952. erfl 1 - - - 1
  4953. erff128 - - - - -
  4954. erfcf 2 5 3 3 3
  4955. erfc 2 5 5 5 5
  4956. erfcl 2 - - - 2
  4957. erfcf128 - - - - -
  4958. expf 1 1 1 1 1
  4959. exp 1 1 1 1 1
  4960. expl 1 - - - 1
  4961. expf128 - - - - -
  4962. exp10f 1 1 1 1 1
  4963. exp10 2 4 2 2 2
  4964. exp10l 2 - - - 2
  4965. exp10f128 - - - - -
  4966. exp2f 1 1 - 1 1
  4967. exp2 1 1 1 1 1
  4968. exp2l 1 - - - 1
  4969. exp2f128 - - - - -
  4970. expm1f 1 2 1 1 1
  4971. expm1 1 2 1 1 1
  4972. expm1l 1 - - - 1
  4973. expm1f128 - - - - -
  4974. fmaf - - - - -
  4975. fma - - - - -
  4976. fmal - - - - -
  4977. fmaf128 - - - - -
  4978. fmodf - - - - -
  4979. fmod - - - - -
  4980. fmodl - - - - -
  4981. fmodf128 - - - - -
  4982. gammaf 4 6 7 7 7
  4983. gamma 3 7 4 4 4
  4984. gammal 5 - - - 5
  4985. gammaf128 - - - - -
  4986. hypotf - 1 - - -
  4987. hypot 1 2 1 1 1
  4988. hypotl 1 - - - 1
  4989. hypotf128 - - - - -
  4990. j0f 8 6 8 8 8
  4991. j0 2 4 2 2 2
  4992. j0l 2 - - - 2
  4993. j0f128 - - - - -
  4994. j1f 8 9 9 9 9
  4995. j1 2 5 2 2 2
  4996. j1l 4 - - - 4
  4997. j1f128 - - - - -
  4998. jnf 4 8 4 4 4
  4999. jn 4 9 4 4 4
  5000. jnl 7 - - - 7
  5001. jnf128 - - - - -
  5002. lgammaf 4 6 7 7 7
  5003. lgamma 3 7 4 4 4
  5004. lgammal 5 - - - 5
  5005. lgammaf128 - - - - -
  5006. logf 1 1 - 1 1
  5007. log 1 1 - - -
  5008. logl 1 - - - 1
  5009. logf128 - - - - -
  5010. log10f 2 3 2 2 2
  5011. log10 2 2 2 2 2
  5012. log10l 1 - - - 1
  5013. log10f128 - - - - -
  5014. log1pf 1 1 1 1 1
  5015. log1p 1 1 1 1 1
  5016. log1pl 2 - - - 2
  5017. log1pf128 - - - - -
  5018. log2f 1 1 1 1 1
  5019. log2 1 2 2 2 2
  5020. log2l 2 - - - 2
  5021. log2f128 - - - - -
  5022. mul_ldoublef - - - - -
  5023. mul_ldouble - - - - -
  5024. mul_ldoublel - - - - -
  5025. mul_ldoublef128- - - - -
  5026. powf 1 1 - 1 1
  5027. pow 1 1 1 1 1
  5028. powl 2 - - - 2
  5029. powf128 - - - - -
  5030. pow10f - - - - -
  5031. pow10 - - - - -
  5032. pow10l - - - - -
  5033. pow10f128 - - - - -
  5034. sinf 1 1 1 1 1
  5035. sin 1 7 1 1 1
  5036. sinl 1 - - - 1
  5037. sinf128 - - - - -
  5038. sincosf 1 1 1 1 1
  5039. sincos 1 1 1 1 1
  5040. sincosl 1 - - - 1
  5041. sincosf128 - - - - -
  5042. sinhf 2 3 2 2 2
  5043. sinh 2 3 2 2 2
  5044. sinhl 2 - - - 2
  5045. sinhf128 - - - - -
  5046. sqrtf - - - - -
  5047. sqrt - - - - -
  5048. sqrtl - - - - -
  5049. sqrtf128 - - - - -
  5050. sub_ldoublef - - - - -
  5051. sub_ldouble - - - - -
  5052. sub_ldoublel - - - - -
  5053. sub_ldoublef128- - - - -
  5054. tanf 1 1 1 1 1
  5055. tan - 1 - - -
  5056. tanl 1 - - - 1
  5057. tanf128 - - - - -
  5058. tanhf 2 2 2 2 2
  5059. tanh 2 3 2 2 2
  5060. tanhl 2 - - - 2
  5061. tanhf128 - - - - -
  5062. tgammaf 8 9 8 8 8
  5063. tgamma 9 9 9 9 9
  5064. tgammal 4 - - - 4
  5065. tgammaf128 - - - - -
  5066. y0f 6 6 8 8 8
  5067. y0 2 3 3 3 3
  5068. y0l 3 - - - 3
  5069. y0f128 - - - - -
  5070. y1f 2 6 2 2 2
  5071. y1 3 7 3 3 3
  5072. y1l 2 - - - 2
  5073. y1f128 - - - - -
  5074. ynf 3 9 3 3 3
  5075. yn 3 9 3 3 3
  5076. ynl 5 - - - 5
  5077. ynf128 - - - - -
  5078. Function CSKY CSKY ColdFire Generic HPPA
  5079. soft-float
  5080. acosf 1 1 - - 1
  5081. acos - - - - -
  5082. acosl - - - - -
  5083. acosf128 - - - - -
  5084. acoshf 2 2 - - 2
  5085. acosh 2 2 - - 2
  5086. acoshl - - - - -
  5087. acoshf128 - - - - -
  5088. add_ldoublef - - - - -
  5089. add_ldouble - - - - -
  5090. add_ldoublel - - - - -
  5091. add_ldoublef128- - - - -
  5092. asinf 1 1 - - 1
  5093. asin - - - - -
  5094. asinl - - - - -
  5095. asinf128 - - - - -
  5096. asinhf 2 2 - - 2
  5097. asinh 2 2 - - 2
  5098. asinhl - - - - -
  5099. asinhf128 - - - - -
  5100. atanf 1 1 - - 1
  5101. atan - - - - -
  5102. atanl - - - - -
  5103. atanf128 - - - - -
  5104. atan2f 1 1 1 - 1
  5105. atan2 - - - - -
  5106. atan2l - - - - -
  5107. atan2f128 - - - - -
  5108. atanhf 2 2 1 - 2
  5109. atanh 2 2 - - 2
  5110. atanhl - - - - -
  5111. atanhf128 - - - - -
  5112. cabsf - - - - -
  5113. cabs 1 1 - - 1
  5114. cabsl - - - - -
  5115. cabsf128 - - - - -
  5116. cacosf 2 + i 2 2 + i 2 - - 2 + i 2
  5117. cacos 1 + i 2 1 + i 2 - - 1 + i 2
  5118. cacosl - - - - -
  5119. cacosf128 - - - - -
  5120. cacoshf 2 + i 2 2 + i 2 0 + i 1 - 2 + i 2
  5121. cacosh 2 + i 1 2 + i 1 - - 2 + i 1
  5122. cacoshl - - - - -
  5123. cacoshf128 - - - - -
  5124. cargf 1 1 - - 1
  5125. carg - - - - -
  5126. cargl - - - - -
  5127. cargf128 - - - - -
  5128. casinf 1 + i 2 1 + i 2 1 + i 0 - 1 + i 2
  5129. casin 1 + i 2 1 + i 2 1 + i 0 - 1 + i 2
  5130. casinl - - - - 1 + i 0
  5131. casinf128 - - - - -
  5132. casinhf 2 + i 1 2 + i 1 1 + i 6 - 2 + i 1
  5133. casinh 2 + i 1 2 + i 1 5 + i 3 - 5 + i 3
  5134. casinhl - - - - 5 + i 3
  5135. casinhf128 - - - - -
  5136. catanf 1 + i 1 1 + i 1 0 + i 1 - 1 + i 1
  5137. catan 1 + i 1 1 + i 1 0 + i 1 - 1 + i 1
  5138. catanl - - - - 0 + i 1
  5139. catanf128 - - - - -
  5140. catanhf 1 + i 1 1 + i 1 - - 1 + i 1
  5141. catanh 1 + i 1 1 + i 1 4 + i 0 - 4 + i 1
  5142. catanhl - - - - 4 + i 0
  5143. catanhf128 - - - - -
  5144. cbrtf 1 1 - - 1
  5145. cbrt 4 4 1 - 4
  5146. cbrtl - - - - 1
  5147. cbrtf128 - - - - -
  5148. ccosf 1 + i 1 1 + i 1 1 + i 1 - 1 + i 1
  5149. ccos 1 + i 1 1 + i 1 1 + i 0 - 1 + i 1
  5150. ccosl - - - - 1 + i 0
  5151. ccosf128 - - - - -
  5152. ccoshf 1 + i 1 1 + i 1 1 + i 1 - 1 + i 1
  5153. ccosh 1 + i 1 1 + i 1 1 + i 0 - 1 + i 1
  5154. ccoshl - - - - 1 + i 0
  5155. ccoshf128 - - - - -
  5156. cexpf 1 + i 2 1 + i 2 1 + i 1 - 1 + i 2
  5157. cexp 2 + i 1 2 + i 1 - - 2 + i 1
  5158. cexpl - - - - -
  5159. cexpf128 - - - - -
  5160. clogf 3 + i 1 3 + i 1 1 + i 0 - 3 + i 1
  5161. clog 3 + i 0 3 + i 0 - - 3 + i 0
  5162. clogl - - - - -
  5163. clogf128 - - - - -
  5164. clog10f 4 + i 2 4 + i 2 1 + i 1 - 4 + i 2
  5165. clog10 3 + i 2 3 + i 2 0 + i 1 - 3 + i 2
  5166. clog10l - - - - 0 + i 1
  5167. clog10f128 - - - - -
  5168. cosf 1 1 1 - 1
  5169. cos 1 1 2 - 2
  5170. cosl - - - - 2
  5171. cosf128 - - - - -
  5172. coshf 2 2 - - 2
  5173. cosh 2 2 - - 2
  5174. coshl - - - - -
  5175. coshf128 - - - - -
  5176. cpowf 5 + i 2 5 + i 2 4 + i 2 - 5 + i 2
  5177. cpow 2 + i 0 2 + i 0 2 + i 2 - 2 + i 2
  5178. cpowl - - - - 2 + i 2
  5179. cpowf128 - - - - -
  5180. csinf 1 + i 0 1 + i 0 - - 1 + i 0
  5181. csin 1 + i 0 1 + i 0 - - 1 + i 0
  5182. csinl - - - - -
  5183. csinf128 - - - - -
  5184. csinhf 1 + i 1 1 + i 1 1 + i 1 - 1 + i 1
  5185. csinh 0 + i 1 0 + i 1 0 + i 1 - 0 + i 1
  5186. csinhl - - - - 0 + i 1
  5187. csinhf128 - - - - -
  5188. csqrtf 2 + i 2 2 + i 2 1 + i 0 - 2 + i 2
  5189. csqrt 2 + i 2 2 + i 2 - - 2 + i 2
  5190. csqrtl - - - - -
  5191. csqrtf128 - - - - -
  5192. ctanf 1 + i 2 1 + i 2 - - 1 + i 2
  5193. ctan 1 + i 2 1 + i 2 0 + i 1 - 1 + i 2
  5194. ctanl - - - - 0 + i 1
  5195. ctanf128 - - - - -
  5196. ctanhf 2 + i 2 2 + i 2 2 + i 1 - 2 + i 2
  5197. ctanh 2 + i 2 2 + i 2 1 + i 0 - 2 + i 2
  5198. ctanhl - - - - 1 + i 0
  5199. ctanhf128 - - - - -
  5200. div_ldoublef - - - - -
  5201. div_ldouble - - - - -
  5202. div_ldoublel - - - - -
  5203. div_ldoublef128- - - - -
  5204. erff 1 1 - - 1
  5205. erf 1 1 1 - 1
  5206. erfl - - - - 1
  5207. erff128 - - - - -
  5208. erfcf 3 3 - - 3
  5209. erfc 5 5 1 - 5
  5210. erfcl - - - - 1
  5211. erfcf128 - - - - -
  5212. expf 1 1 - - 1
  5213. exp 1 1 - - 1
  5214. expl - - - - -
  5215. expf128 - - - - -
  5216. exp10f - - 2 - 2
  5217. exp10 2 2 6 - 6
  5218. exp10l - - - - 6
  5219. exp10f128 - - - - -
  5220. exp2f - 1 - - 1
  5221. exp2 1 1 - - 1
  5222. exp2l - - - - -
  5223. exp2f128 - - - - -
  5224. expm1f 1 1 1 - 1
  5225. expm1 1 1 1 - 1
  5226. expm1l - - - - 1
  5227. expm1f128 - - - - -
  5228. fmaf - - - - -
  5229. fma - - - - -
  5230. fmal - - - - -
  5231. fmaf128 - - - - -
  5232. fmodf - - - - -
  5233. fmod - - - - -
  5234. fmodl - - - - -
  5235. fmodf128 - - - - -
  5236. gammaf 7 7 - - 7
  5237. gamma 4 4 - - 4
  5238. gammal - - - - -
  5239. gammaf128 - - - - -
  5240. hypotf - - 1 - 1
  5241. hypot 1 1 - - 1
  5242. hypotl - - - - -
  5243. hypotf128 - - - - -
  5244. j0f 8 8 2 - 8
  5245. j0 2 2 2 - 2
  5246. j0l - - - - 2
  5247. j0f128 - - - - -
  5248. j1f 9 9 2 - 9
  5249. j1 2 2 1 - 2
  5250. j1l - - - - 1
  5251. j1f128 - - - - -
  5252. jnf 4 4 4 - 5
  5253. jn 4 4 4 - 4
  5254. jnl - - - - 4
  5255. jnf128 - - - - -
  5256. lgammaf 7 7 2 - 7
  5257. lgamma 4 4 1 - 4
  5258. lgammal - - - - 1
  5259. lgammaf128 - - - - -
  5260. logf - 1 - - 1
  5261. log - - - - -
  5262. logl - - - - -
  5263. logf128 - - - - -
  5264. log10f 2 2 2 - 2
  5265. log10 2 2 1 - 2
  5266. log10l - - - - 1
  5267. log10f128 - - - - -
  5268. log1pf 1 1 1 - 1
  5269. log1p 1 1 - - 1
  5270. log1pl - - - - -
  5271. log1pf128 - - - - -
  5272. log2f 1 1 - - 1
  5273. log2 2 2 - - 2
  5274. log2l - - - - -
  5275. log2f128 - - - - -
  5276. mul_ldoublef - - - - -
  5277. mul_ldouble - - - - -
  5278. mul_ldoublel - - - - -
  5279. mul_ldoublef128- - - - -
  5280. powf - 1 - - 1
  5281. pow 1 1 - - 1
  5282. powl - - - - -
  5283. powf128 - - - - -
  5284. pow10f - - - - -
  5285. pow10 - 2 - - -
  5286. pow10l - - - - -
  5287. pow10f128 - - - - -
  5288. sinf 1 1 - - 1
  5289. sin 1 1 - - 1
  5290. sinl - - - - -
  5291. sinf128 - - - - -
  5292. sincosf - 1 1 - 1
  5293. sincos 1 1 1 - 1
  5294. sincosl - - - - 1
  5295. sincosf128 - - - - -
  5296. sinhf 2 2 - - 2
  5297. sinh 2 2 - - 2
  5298. sinhl - - - - -
  5299. sinhf128 - - - - -
  5300. sqrtf - - - - -
  5301. sqrt - - - - -
  5302. sqrtl - - - - -
  5303. sqrtf128 - - - - -
  5304. sub_ldoublef - - - - -
  5305. sub_ldouble - - - - -
  5306. sub_ldoublel - - - - -
  5307. sub_ldoublef128- - - - -
  5308. tanf 1 1 - - 1
  5309. tan - - 1 - 1
  5310. tanl - - - - 1
  5311. tanf128 - - - - -
  5312. tanhf 2 2 - - 2
  5313. tanh 2 2 - - 2
  5314. tanhl - - - - -
  5315. tanhf128 - - - - -
  5316. tgammaf 8 8 1 - 8
  5317. tgamma 9 9 1 - 9
  5318. tgammal - - - - 1
  5319. tgammaf128 - - - - -
  5320. y0f 8 8 1 - 8
  5321. y0 3 3 2 - 3
  5322. y0l - - - - 2
  5323. y0f128 - - - - -
  5324. y1f 2 2 2 - 2
  5325. y1 3 3 3 - 3
  5326. y1l - - - - 3
  5327. y1f128 - - - - -
  5328. ynf 3 3 2 - 3
  5329. yn 3 3 3 - 3
  5330. ynl - - - - 3
  5331. ynf128 - - - - -
  5332. Function IA64 M68k MIPS 32-bit MIPS 64-bit MicroBlaze
  5333. acosf - - 1 1 1
  5334. acos 1 - - - -
  5335. acosl - - - 1 -
  5336. acosf128 1 - - - -
  5337. acoshf - 1 2 2 2
  5338. acosh 1 1 2 2 2
  5339. acoshl 1 1 - 2 -
  5340. acoshf128 2 - - - -
  5341. add_ldoublef - - - - -
  5342. add_ldouble - - - - -
  5343. add_ldoublel - - - - -
  5344. add_ldoublef128- - - - -
  5345. asinf - - 1 1 1
  5346. asin - - - - -
  5347. asinl - - - 1 -
  5348. asinf128 1 - - - -
  5349. asinhf - 1 2 2 1
  5350. asinh 1 1 2 2 1
  5351. asinhl - 1 - 3 -
  5352. asinhf128 3 - - - -
  5353. atanf - - 1 1 1
  5354. atan - - - - -
  5355. atanl - - - 1 -
  5356. atanf128 1 - - - -
  5357. atan2f - 1 1 1 1
  5358. atan2 - - - - -
  5359. atan2l - 1 - 1 -
  5360. atan2f128 1 - - - -
  5361. atanhf - - 2 2 2
  5362. atanh - - 2 2 2
  5363. atanhl - - - 3 -
  5364. atanhf128 3 - - - -
  5365. cabsf - - - - -
  5366. cabs - 1 1 1 1
  5367. cabsl - 1 - 1 -
  5368. cabsf128 1 - - - -
  5369. cacosf 2 + i 2 2 + i 1 2 + i 2 2 + i 2 2 + i 2
  5370. cacos 1 + i 2 1 + i 1 1 + i 2 1 + i 2 1 + i 2
  5371. cacosl 1 + i 2 1 + i 2 - 2 + i 2 -
  5372. cacosf128 2 + i 2 - - - -
  5373. cacoshf 2 + i 2 1 + i 2 2 + i 2 2 + i 2 2 + i 2
  5374. cacosh 2 + i 1 1 + i 1 2 + i 1 2 + i 1 2 + i 1
  5375. cacoshl 2 + i 1 2 + i 1 - 2 + i 2 -
  5376. cacoshf128 2 + i 2 - - - -
  5377. cargf - 1 1 1 1
  5378. carg - - - - -
  5379. cargl - 1 - 2 -
  5380. cargf128 2 - - - -
  5381. casinf 1 + i 2 1 + i 1 1 + i 2 1 + i 2 1 + i 2
  5382. casin 1 + i 2 1 + i 1 1 + i 2 1 + i 2 1 + i 2
  5383. casinl 1 + i 2 1 + i 2 - 2 + i 2 -
  5384. casinf128 2 + i 2 - - - -
  5385. casinhf 2 + i 1 1 + i 1 2 + i 1 2 + i 1 2 + i 1
  5386. casinh 2 + i 1 1 + i 1 2 + i 1 2 + i 1 2 + i 1
  5387. casinhl 2 + i 1 2 + i 1 - 2 + i 2 -
  5388. casinhf128 2 + i 2 - - - -
  5389. catanf 0 + i 1 0 + i 1 1 + i 1 1 + i 1 1 + i 1
  5390. catan 1 + i 1 0 + i 1 1 + i 1 1 + i 1 1 + i 1
  5391. catanl 0 + i 1 1 + i 1 - 1 + i 1 -
  5392. catanf128 1 + i 1 - - - -
  5393. catanhf 1 + i 0 1 + i 0 1 + i 1 1 + i 1 1 + i 1
  5394. catanh 1 + i 1 1 + i 0 1 + i 1 1 + i 1 1 + i 1
  5395. catanhl 1 + i 0 1 + i 1 - 1 + i 1 -
  5396. catanhf128 1 + i 1 - - - -
  5397. cbrtf - 1 1 1 1
  5398. cbrt - 1 4 4 3
  5399. cbrtl - 1 - 1 -
  5400. cbrtf128 1 - - - -
  5401. ccosf 0 + i 1 - 1 + i 1 1 + i 1 1 + i 1
  5402. ccos 1 + i 1 - 1 + i 1 1 + i 1 1 + i 1
  5403. ccosl 1 + i 1 1 + i 1 - 1 + i 1 -
  5404. ccosf128 1 + i 1 - - - -
  5405. ccoshf 1 + i 1 - 1 + i 1 1 + i 1 1 + i 1
  5406. ccosh 1 + i 1 - 1 + i 1 1 + i 1 1 + i 1
  5407. ccoshl 0 + i 1 0 + i 1 - 1 + i 1 -
  5408. ccoshf128 1 + i 1 - - - -
  5409. cexpf 1 + i 2 - 1 + i 2 1 + i 2 1 + i 2
  5410. cexp 2 + i 1 - 2 + i 1 2 + i 1 2 + i 1
  5411. cexpl 1 + i 1 1 + i 1 - 1 + i 1 -
  5412. cexpf128 1 + i 1 - - - -
  5413. clogf 3 + i 0 2 + i 1 3 + i 1 3 + i 1 3 + i 1
  5414. clog 2 + i 1 3 + i 1 3 + i 0 3 + i 0 3 + i 0
  5415. clogl 2 + i 1 3 + i 1 - 2 + i 1 -
  5416. clogf128 2 + i 1 - - - -
  5417. clog10f 4 + i 1 2 + i 1 4 + i 2 4 + i 2 4 + i 2
  5418. clog10 3 + i 2 2 + i 1 3 + i 2 3 + i 2 3 + i 2
  5419. clog10l 2 + i 1 3 + i 2 - 2 + i 2 -
  5420. clog10f128 2 + i 2 - - - -
  5421. cosf 1 - 1 1 1
  5422. cos 1 1 1 1 -
  5423. cosl - - - 1 -
  5424. cosf128 1 - - - -
  5425. coshf - - 2 2 1
  5426. cosh - - 2 2 1
  5427. coshl - - - 1 -
  5428. coshf128 1 - - - -
  5429. cpowf 5 + i 2 3 + i 5 5 + i 2 5 + i 2 4 + i 2
  5430. cpow 2 + i 0 1 + i 0 2 + i 0 2 + i 0 2 + i 0
  5431. cpowl 3 + i 4 3 + i 1 - 4 + i 1 -
  5432. cpowf128 4 + i 1 - - - -
  5433. csinf 1 + i 1 - 1 + i 0 1 + i 0 1 + i 0
  5434. csin 1 + i 0 - 1 + i 0 1 + i 0 1 + i 0
  5435. csinl 1 + i 0 1 + i 0 - 1 + i 1 -
  5436. csinf128 1 + i 1 - - - -
  5437. csinhf 1 + i 1 - 1 + i 1 1 + i 1 1 + i 1
  5438. csinh 1 + i 1 - 0 + i 1 0 + i 1 0 + i 1
  5439. csinhl 1 + i 1 1 + i 0 - 1 + i 1 -
  5440. csinhf128 1 + i 1 - - - -
  5441. csqrtf 2 + i 2 1 + i 1 2 + i 2 2 + i 2 2 + i 2
  5442. csqrt 2 + i 2 1 + i 1 2 + i 2 2 + i 2 2 + i 2
  5443. csqrtl 2 + i 2 2 + i 2 - 2 + i 2 -
  5444. csqrtf128 2 + i 2 - - - -
  5445. ctanf 1 + i 1 1 + i 1 1 + i 2 1 + i 2 1 + i 1
  5446. ctan 1 + i 2 1 + i 1 1 + i 2 1 + i 2 1 + i 2
  5447. ctanl 2 + i 2 2 + i 2 - 3 + i 3 -
  5448. ctanf128 3 + i 3 - - - -
  5449. ctanhf 1 + i 1 1 + i 2 2 + i 2 2 + i 2 1 + i 2
  5450. ctanh 2 + i 2 1 + i 1 2 + i 2 2 + i 2 2 + i 2
  5451. ctanhl 1 + i 2 2 + i 2 - 3 + i 3 -
  5452. ctanhf128 3 + i 3 - - - -
  5453. div_ldoublef - - - - -
  5454. div_ldouble - - - - -
  5455. div_ldoublel - - - - -
  5456. div_ldoublef128- - - - -
  5457. erff - 1 1 1 1
  5458. erf - - 1 1 1
  5459. erfl - 1 - 1 -
  5460. erff128 1 - - - -
  5461. erfcf - 1 3 3 2
  5462. erfc - - 5 5 3
  5463. erfcl - 2 - 2 -
  5464. erfcf128 2 - - - -
  5465. expf 1 - 1 1 1
  5466. exp - - 1 1 -
  5467. expl - - - 1 -
  5468. expf128 1 - - - -
  5469. exp10f 1 - 1 1 -
  5470. exp10 - - 2 2 2
  5471. exp10l - - - 2 -
  5472. exp10f128 2 - - - -
  5473. exp2f - - 1 1 1
  5474. exp2 1 1 1 1 1
  5475. exp2l 1 - - 1 -
  5476. exp2f128 1 - - - -
  5477. expm1f - - 1 1 1
  5478. expm1 1 - 1 1 1
  5479. expm1l 1 - - 1 -
  5480. expm1f128 1 - - - -
  5481. fmaf - - - - -
  5482. fma - - - - -
  5483. fmal - - - - -
  5484. fmaf128 - - - - -
  5485. fmodf - - - - -
  5486. fmod - - - - -
  5487. fmodl - - - - -
  5488. fmodf128 - - - - -
  5489. gammaf 1 1 7 7 4
  5490. gamma - - 4 4 4
  5491. gammal - 2 - 5 -
  5492. gammaf128 - - - - -
  5493. hypotf - - - - -
  5494. hypot - 1 1 1 1
  5495. hypotl - 1 - 1 -
  5496. hypotf128 1 - - - -
  5497. j0f 8 2 8 8 2
  5498. j0 2 1 2 2 2
  5499. j0l 2 2 - 2 -
  5500. j0f128 2 - - - -
  5501. j1f 8 2 9 9 2
  5502. j1 2 - 2 2 1
  5503. j1l 5 1 - 4 -
  5504. j1f128 4 - - - -
  5505. jnf 4 2 4 4 4
  5506. jn 4 2 4 4 4
  5507. jnl 4 4 - 7 -
  5508. jnf128 7 - - - -
  5509. lgammaf 1 1 7 7 4
  5510. lgamma - - 4 4 4
  5511. lgammal - 2 - 5 -
  5512. lgammaf128 5 - - - -
  5513. logf - - 1 1 1
  5514. log - - - - -
  5515. logl - - - 1 -
  5516. logf128 1 - - - -
  5517. log10f - - 2 2 2
  5518. log10 - - 2 2 2
  5519. log10l - - - 1 -
  5520. log10f128 1 - - - -
  5521. log1pf - - 1 1 1
  5522. log1p - - 1 1 1
  5523. log1pl - - - 2 -
  5524. log1pf128 2 - - - -
  5525. log2f - - 1 1 1
  5526. log2 - - 2 2 2
  5527. log2l - - - 2 -
  5528. log2f128 2 - - - -
  5529. mul_ldoublef - - - - -
  5530. mul_ldouble - - - - -
  5531. mul_ldoublel - - - - -
  5532. mul_ldoublef128- - - - -
  5533. powf - 7 1 1 1
  5534. pow - 1 1 1 -
  5535. powl - 9 - 2 -
  5536. powf128 2 - - - -
  5537. pow10f - - - - -
  5538. pow10 - - - - -
  5539. pow10l - - - - -
  5540. pow10f128 - - - - -
  5541. sinf - - 1 1 1
  5542. sin 1 1 1 1 -
  5543. sinl - - - 1 -
  5544. sinf128 1 - - - -
  5545. sincosf - - 1 1 1
  5546. sincos 1 - 1 1 -
  5547. sincosl - - - 1 -
  5548. sincosf128 1 - - - -
  5549. sinhf - - 2 2 2
  5550. sinh - - 2 2 2
  5551. sinhl - - - 2 -
  5552. sinhf128 2 - - - -
  5553. sqrtf - - - - -
  5554. sqrt - - - - -
  5555. sqrtl - - - - -
  5556. sqrtf128 - - - - -
  5557. sub_ldoublef - - - - -
  5558. sub_ldouble - - - - -
  5559. sub_ldoublel - - - - -
  5560. sub_ldoublef128- - - - -
  5561. tanf - - 1 1 1
  5562. tan - - - - -
  5563. tanl 1 - - 1 -
  5564. tanf128 1 - - - -
  5565. tanhf - - 2 2 2
  5566. tanh - - 2 2 2
  5567. tanhl - - - 2 -
  5568. tanhf128 2 - - - -
  5569. tgammaf - 4 8 8 4
  5570. tgamma - 1 9 9 5
  5571. tgammal 1 9 - 4 -
  5572. tgammaf128 4 - - - -
  5573. y0f 6 1 8 8 1
  5574. y0 2 1 3 3 2
  5575. y0l 1 1 - 3 -
  5576. y0f128 3 - - - -
  5577. y1f 2 3 2 2 2
  5578. y1 3 1 3 3 3
  5579. y1l 2 2 - 2 -
  5580. y1f128 2 - - - -
  5581. ynf 3 3 3 3 2
  5582. yn 3 2 3 3 3
  5583. ynl 3 4 - 5 -
  5584. ynf128 5 - - - -
  5585. Function Nios II PowerPC PowerPC RISC-V RISC-V
  5586. soft-float soft-float
  5587. acosf 1 1 1 1 1
  5588. acos - - - - -
  5589. acosl - 1 1 1 1
  5590. acosf128 - 1 - - -
  5591. acoshf 2 2 2 2 2
  5592. acosh 2 2 2 2 2
  5593. acoshl - 2 1 2 2
  5594. acoshf128 - 2 - - -
  5595. add_ldoublef - 1 1 - -
  5596. add_ldouble - 1 1 - -
  5597. add_ldoublel - - - - -
  5598. add_ldoublef128- - - - -
  5599. asinf 1 1 1 1 1
  5600. asin - - - - -
  5601. asinl - 2 2 1 1
  5602. asinf128 - 1 - - -
  5603. asinhf 2 2 2 2 1
  5604. asinh 2 2 2 1 1
  5605. asinhl - 2 2 3 3
  5606. asinhf128 - 3 - - -
  5607. atanf 1 1 1 1 1
  5608. atan - 1 - - -
  5609. atanl - 1 1 1 1
  5610. atanf128 - 1 - - -
  5611. atan2f 1 1 1 1 1
  5612. atan2 - - - - -
  5613. atan2l - 2 2 1 1
  5614. atan2f128 - 1 - - -
  5615. atanhf 2 2 2 2 2
  5616. atanh 2 2 2 2 2
  5617. atanhl - 2 2 3 3
  5618. atanhf128 - 3 - - -
  5619. cabsf - - - - -
  5620. cabs 1 1 1 1 1
  5621. cabsl - 1 1 1 1
  5622. cabsf128 - 1 - - -
  5623. cacosf 2 + i 2 2 + i 2 2 + i 2 2 + i 2 2 + i 2
  5624. cacos 1 + i 2 1 + i 2 1 + i 2 1 + i 2 1 + i 2
  5625. cacosl - 1 + i 2 2 + i 1 2 + i 2 2 + i 2
  5626. cacosf128 - 2 + i 2 - - -
  5627. cacoshf 2 + i 2 2 + i 2 2 + i 2 2 + i 2 2 + i 2
  5628. cacosh 2 + i 1 2 + i 1 2 + i 1 2 + i 1 2 + i 1
  5629. cacoshl - 2 + i 1 1 + i 2 2 + i 2 2 + i 2
  5630. cacoshf128 - 2 + i 2 - - -
  5631. cargf 1 1 1 1 1
  5632. carg - 1 - - -
  5633. cargl - 2 2 2 2
  5634. cargf128 - 2 - - -
  5635. casinf 1 + i 2 1 + i 2 1 + i 2 1 + i 2 1 + i 2
  5636. casin 1 + i 2 1 + i 2 1 + i 2 1 + i 2 1 + i 2
  5637. casinl - 1 + i 2 2 + i 1 2 + i 2 2 + i 2
  5638. casinf128 - 2 + i 2 - - -
  5639. casinhf 2 + i 1 2 + i 1 2 + i 1 2 + i 1 2 + i 1
  5640. casinh 2 + i 1 2 + i 1 2 + i 1 2 + i 1 2 + i 1
  5641. casinhl - 2 + i 1 1 + i 2 2 + i 2 2 + i 2
  5642. casinhf128 - 2 + i 2 - - -
  5643. catanf 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5644. catan 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5645. catanl - 3 + i 2 3 + i 2 1 + i 1 1 + i 1
  5646. catanf128 - 1 + i 1 - - -
  5647. catanhf 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5648. catanh 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5649. catanhl - 2 + i 3 2 + i 3 1 + i 1 1 + i 1
  5650. catanhf128 - 1 + i 1 - - -
  5651. cbrtf 1 1 1 1 1
  5652. cbrt 4 4 4 3 3
  5653. cbrtl - 1 1 1 1
  5654. cbrtf128 - 1 - - -
  5655. ccosf 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5656. ccos 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5657. ccosl - 1 + i 2 1 + i 2 1 + i 1 1 + i 1
  5658. ccosf128 - 1 + i 1 - - -
  5659. ccoshf 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5660. ccosh 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5661. ccoshl - 1 + i 2 1 + i 2 1 + i 1 1 + i 1
  5662. ccoshf128 - 1 + i 1 - - -
  5663. cexpf 1 + i 2 1 + i 2 1 + i 2 1 + i 2 1 + i 2
  5664. cexp 2 + i 1 2 + i 1 2 + i 1 2 + i 1 2 + i 1
  5665. cexpl - 2 + i 2 1 + i 1 1 + i 1 1 + i 1
  5666. cexpf128 - 1 + i 1 - - -
  5667. clogf 3 + i 1 3 + i 1 3 + i 1 3 + i 1 3 + i 1
  5668. clog 3 + i 0 3 + i 1 3 + i 0 3 + i 0 3 + i 0
  5669. clogl - 5 + i 2 2 + i 2 2 + i 1 2 + i 1
  5670. clogf128 - 2 + i 1 - - -
  5671. clog10f 4 + i 2 4 + i 2 4 + i 2 4 + i 2 4 + i 2
  5672. clog10 3 + i 2 3 + i 2 3 + i 2 3 + i 2 3 + i 2
  5673. clog10l - 3 + i 2 3 + i 2 2 + i 2 2 + i 2
  5674. clog10f128 - 2 + i 2 - - -
  5675. cosf 1 3 1 1 -
  5676. cos 1 1 1 1 1
  5677. cosl - 4 4 1 1
  5678. cosf128 - 1 - - -
  5679. coshf 2 2 2 2 1
  5680. cosh 2 2 2 1 1
  5681. coshl - 3 3 1 1
  5682. coshf128 - 1 - - -
  5683. cpowf 5 + i 2 5 + i 2 5 + i 2 5 + i 2 5 + i 2
  5684. cpow 2 + i 0 2 + i 0 2 + i 0 2 + i 0 2 + i 0
  5685. cpowl - 4 + i 2 4 + i 1 4 + i 1 4 + i 1
  5686. cpowf128 - 4 + i 1 - - -
  5687. csinf 1 + i 0 1 + i 0 1 + i 0 1 + i 0 1 + i 0
  5688. csin 1 + i 0 1 + i 0 1 + i 0 1 + i 0 1 + i 0
  5689. csinl - 2 + i 1 2 + i 1 1 + i 1 1 + i 1
  5690. csinf128 - 1 + i 1 - - -
  5691. csinhf 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5692. csinh 0 + i 1 0 + i 1 0 + i 1 0 + i 1 0 + i 1
  5693. csinhl - 1 + i 2 1 + i 2 1 + i 1 1 + i 1
  5694. csinhf128 - 1 + i 1 - - -
  5695. csqrtf 2 + i 2 2 + i 2 2 + i 2 2 + i 2 2 + i 2
  5696. csqrt 2 + i 2 2 + i 2 2 + i 2 2 + i 2 2 + i 2
  5697. csqrtl - 1 + i 1 1 + i 1 2 + i 2 2 + i 2
  5698. csqrtf128 - 2 + i 2 - - -
  5699. ctanf 1 + i 2 1 + i 2 1 + i 2 1 + i 2 1 + i 2
  5700. ctan 1 + i 2 1 + i 2 1 + i 2 1 + i 2 1 + i 2
  5701. ctanl - 3 + i 2 3 + i 2 3 + i 3 3 + i 3
  5702. ctanf128 - 3 + i 3 - - -
  5703. ctanhf 2 + i 2 2 + i 1 2 + i 2 2 + i 1 2 + i 2
  5704. ctanh 2 + i 2 2 + i 2 2 + i 2 2 + i 2 2 + i 2
  5705. ctanhl - 3 + i 3 2 + i 3 3 + i 3 3 + i 3
  5706. ctanhf128 - 3 + i 3 - - -
  5707. div_ldoublef - 1 1 - -
  5708. div_ldouble - - - - -
  5709. div_ldoublel - - - - -
  5710. div_ldoublef128- - - - -
  5711. erff 1 1 1 1 1
  5712. erf 1 1 1 1 1
  5713. erfl - 1 1 1 1
  5714. erff128 - 1 - - -
  5715. erfcf 3 2 3 2 2
  5716. erfc 5 2 5 2 3
  5717. erfcl - 3 3 2 2
  5718. erfcf128 - 2 - - -
  5719. expf 1 1 1 1 -
  5720. exp 1 1 1 - -
  5721. expl - 1 1 1 1
  5722. expf128 - 1 - - -
  5723. exp10f - 1 - - -
  5724. exp10 2 2 2 2 2
  5725. exp10l - 1 1 2 2
  5726. exp10f128 - 2 - - -
  5727. exp2f 1 - 1 - -
  5728. exp2 1 1 1 1 1
  5729. exp2l - 2 1 1 1
  5730. exp2f128 - 1 - - -
  5731. expm1f 1 1 1 1 1
  5732. expm1 1 1 1 1 1
  5733. expm1l - 1 1 1 1
  5734. expm1f128 - 1 - - -
  5735. fmaf - - - - -
  5736. fma - - - - -
  5737. fmal - 1 1 - -
  5738. fmaf128 - - - - -
  5739. fmodf - - - - -
  5740. fmod - - - - -
  5741. fmodl - 1 1 - -
  5742. fmodf128 - - - - -
  5743. gammaf 7 4 7 3 3
  5744. gamma 4 3 4 3 4
  5745. gammal - 3 3 5 5
  5746. gammaf128 - 5 - - -
  5747. hypotf - - - - -
  5748. hypot 1 1 1 1 1
  5749. hypotl - 1 1 1 1
  5750. hypotf128 - 1 - - -
  5751. j0f 8 8 8 8 2
  5752. j0 2 2 2 2 2
  5753. j0l - 2 2 2 2
  5754. j0f128 - 2 - - -
  5755. j1f 9 8 9 8 2
  5756. j1 2 2 2 2 1
  5757. j1l - 3 3 4 4
  5758. j1f128 - 4 - - -
  5759. jnf 4 4 4 4 4
  5760. jn 4 4 4 4 4
  5761. jnl - 4 4 7 7
  5762. jnf128 - 7 - - -
  5763. lgammaf 7 4 7 3 3
  5764. lgamma 4 3 4 3 4
  5765. lgammal - 3 3 5 5
  5766. lgammaf128 - 5 - - -
  5767. logf 1 1 1 - -
  5768. log - 1 - - -
  5769. logl - 1 1 1 1
  5770. logf128 - 1 - - -
  5771. log10f 2 2 2 2 2
  5772. log10 2 2 2 2 2
  5773. log10l - 1 1 1 1
  5774. log10f128 - 1 - - -
  5775. log1pf 1 1 1 1 1
  5776. log1p 1 1 1 1 1
  5777. log1pl - 2 2 2 2
  5778. log1pf128 - 2 - - -
  5779. log2f 1 1 1 1 1
  5780. log2 2 1 2 1 2
  5781. log2l - 1 1 2 2
  5782. log2f128 - 2 - - -
  5783. mul_ldoublef - 1 1 - -
  5784. mul_ldouble - 1 1 - -
  5785. mul_ldoublel - - - - -
  5786. mul_ldoublef128- - - - -
  5787. powf 3 1 1 - -
  5788. pow 1 1 1 1 1
  5789. powl - 1 1 2 2
  5790. powf128 - 2 - - -
  5791. pow10f - - - - -
  5792. pow10 - - - - -
  5793. pow10l - - - - -
  5794. pow10f128 - - - - -
  5795. sinf 1 1 1 1 -
  5796. sin 1 1 1 1 1
  5797. sinl - 1 1 1 1
  5798. sinf128 - 1 - - -
  5799. sincosf 1 1 1 - -
  5800. sincos 1 1 1 1 1
  5801. sincosl - 1 1 1 1
  5802. sincosf128 - 1 - - -
  5803. sinhf 2 2 2 2 2
  5804. sinh 2 2 2 2 2
  5805. sinhl - 3 3 2 2
  5806. sinhf128 - 2 - - -
  5807. sqrtf - - - - -
  5808. sqrt - - - - -
  5809. sqrtl - 1 1 - -
  5810. sqrtf128 - - - - -
  5811. sub_ldoublef - 1 1 - -
  5812. sub_ldouble - 1 1 - -
  5813. sub_ldoublel - - - - -
  5814. sub_ldoublef128- - - - -
  5815. tanf 1 3 1 1 1
  5816. tan - - - - -
  5817. tanl - 2 2 1 1
  5818. tanf128 - 1 - - -
  5819. tanhf 2 2 2 2 2
  5820. tanh 2 2 2 2 2
  5821. tanhl - 1 1 2 2
  5822. tanhf128 - 2 - - -
  5823. tgammaf 8 8 8 8 4
  5824. tgamma 9 9 9 5 5
  5825. tgammal - 5 4 4 4
  5826. tgammaf128 - 4 - - -
  5827. y0f 8 6 8 6 1
  5828. y0 3 2 3 2 2
  5829. y0l - 1 2 3 3
  5830. y0f128 - 3 - - -
  5831. y1f 2 2 2 2 2
  5832. y1 3 3 3 3 3
  5833. y1l - 2 2 2 2
  5834. y1f128 - 2 - - -
  5835. ynf 3 3 3 3 3
  5836. yn 3 3 3 3 3
  5837. ynl - 2 2 5 5
  5838. ynf128 - 5 - - -
  5839. Function S/390 SH Sparc i686 ix86
  5840. acosf 1 1 1 - -
  5841. acos - - - 1 1
  5842. acosl 1 - 1 1 1
  5843. acosf128 - - - 1 1
  5844. acoshf 2 2 2 - -
  5845. acosh 2 2 2 1 1
  5846. acoshl 2 - 2 2 2
  5847. acoshf128 - - - 2 2
  5848. add_ldoublef - - - - -
  5849. add_ldouble - - - - -
  5850. add_ldoublel - - - - -
  5851. add_ldoublef128- - - - -
  5852. asinf 1 1 1 - -
  5853. asin - - - 1 1
  5854. asinl 1 - 1 1 1
  5855. asinf128 - - - 1 1
  5856. asinhf 2 2 2 - -
  5857. asinh 2 2 2 1 1
  5858. asinhl 3 - 3 3 3
  5859. asinhf128 - - - 3 3
  5860. atanf 1 1 1 - -
  5861. atan - - - 1 1
  5862. atanl 1 - 1 1 1
  5863. atanf128 - - - 1 1
  5864. atan2f 1 1 1 - -
  5865. atan2 - - - 1 1
  5866. atan2l 1 - 1 1 1
  5867. atan2f128 - - - 1 1
  5868. atanhf 2 2 2 - -
  5869. atanh 2 2 2 1 1
  5870. atanhl 3 - 3 3 3
  5871. atanhf128 - - - 3 3
  5872. cabsf - - - - -
  5873. cabs 1 1 1 1 1
  5874. cabsl 1 - 1 1 1
  5875. cabsf128 - - - 1 1
  5876. cacosf 2 + i 2 2 + i 2 2 + i 2 2 + i 2 2 + i 2
  5877. cacos 1 + i 2 1 + i 2 1 + i 2 1 + i 2 1 + i 2
  5878. cacosl 2 + i 2 - 2 + i 2 1 + i 2 1 + i 2
  5879. cacosf128 - - - 2 + i 2 2 + i 2
  5880. cacoshf 2 + i 2 2 + i 2 2 + i 2 2 + i 2 2 + i 2
  5881. cacosh 2 + i 1 2 + i 1 2 + i 1 2 + i 1 2 + i 1
  5882. cacoshl 2 + i 2 - 2 + i 2 2 + i 1 2 + i 1
  5883. cacoshf128 - - - 2 + i 2 2 + i 2
  5884. cargf 1 1 1 - -
  5885. carg - - - 1 1
  5886. cargl 2 - 2 1 1
  5887. cargf128 - - - 2 2
  5888. casinf 1 + i 2 1 + i 2 1 + i 2 1 + i 2 1 + i 2
  5889. casin 1 + i 2 1 + i 2 1 + i 2 1 + i 2 1 + i 2
  5890. casinl 2 + i 2 - 2 + i 2 1 + i 2 1 + i 2
  5891. casinf128 - - - 2 + i 2 2 + i 2
  5892. casinhf 2 + i 1 2 + i 1 2 + i 1 2 + i 1 2 + i 1
  5893. casinh 2 + i 1 2 + i 1 2 + i 1 2 + i 1 2 + i 1
  5894. casinhl 2 + i 2 - 2 + i 2 2 + i 1 2 + i 1
  5895. casinhf128 - - - 2 + i 2 2 + i 2
  5896. catanf 1 + i 1 1 + i 1 1 + i 1 0 + i 1 0 + i 1
  5897. catan 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5898. catanl 1 + i 1 - 1 + i 1 1 + i 1 1 + i 1
  5899. catanf128 - - - 1 + i 1 1 + i 1
  5900. catanhf 1 + i 1 1 + i 1 1 + i 1 1 + i 0 1 + i 0
  5901. catanh 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5902. catanhl 1 + i 1 - 1 + i 1 1 + i 1 1 + i 1
  5903. catanhf128 - - - 1 + i 1 1 + i 1
  5904. cbrtf 1 1 1 1 1
  5905. cbrt 4 4 4 1 1
  5906. cbrtl 1 - 1 3 3
  5907. cbrtf128 - - - 1 1
  5908. ccosf 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5909. ccos 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5910. ccosl 1 + i 1 - 1 + i 1 1 + i 1 1 + i 1
  5911. ccosf128 - - - 1 + i 1 1 + i 1
  5912. ccoshf 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5913. ccosh 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5914. ccoshl 1 + i 1 - 1 + i 1 1 + i 1 1 + i 1
  5915. ccoshf128 - - - 1 + i 1 1 + i 1
  5916. cexpf 1 + i 2 1 + i 2 1 + i 2 1 + i 2 1 + i 2
  5917. cexp 2 + i 1 2 + i 1 2 + i 1 2 + i 1 2 + i 1
  5918. cexpl 1 + i 1 - 1 + i 1 1 + i 1 1 + i 1
  5919. cexpf128 - - - 1 + i 1 1 + i 1
  5920. clogf 3 + i 1 3 + i 1 3 + i 1 3 + i 0 3 + i 0
  5921. clog 3 + i 0 3 + i 0 3 + i 0 2 + i 1 2 + i 1
  5922. clogl 2 + i 1 - 4 + i 1 3 + i 1 3 + i 1
  5923. clogf128 - - - 2 + i 1 2 + i 1
  5924. clog10f 4 + i 2 4 + i 2 4 + i 2 4 + i 1 4 + i 1
  5925. clog10 3 + i 2 3 + i 2 3 + i 2 3 + i 2 3 + i 2
  5926. clog10l 2 + i 2 - 4 + i 2 4 + i 2 4 + i 2
  5927. clog10f128 - - - 2 + i 2 2 + i 2
  5928. cosf 1 1 1 - 1
  5929. cos 1 1 1 1 1
  5930. cosl 1 - 1 1 1
  5931. cosf128 - - - 1 1
  5932. coshf 2 2 2 2 2
  5933. cosh 2 2 2 1 1
  5934. coshl 1 - 1 2 2
  5935. coshf128 - - - 1 1
  5936. cpowf 5 + i 2 5 + i 2 5 + i 2 5 + i 2 5 + i 2
  5937. cpow 2 + i 0 2 + i 0 2 + i 0 2 + i 1 2 + i 0
  5938. cpowl 4 + i 1 - 4 + i 1 3 + i 4 3 + i 4
  5939. cpowf128 - - - 4 + i 1 4 + i 1
  5940. csinf 1 + i 0 1 + i 0 1 + i 0 1 + i 1 1 + i 1
  5941. csin 1 + i 0 1 + i 0 1 + i 0 1 + i 1 1 + i 0
  5942. csinl 1 + i 1 - 1 + i 1 1 + i 0 1 + i 0
  5943. csinf128 - - - 1 + i 1 1 + i 1
  5944. csinhf 1 + i 1 1 + i 1 1 + i 1 1 + i 1 1 + i 1
  5945. csinh 0 + i 1 0 + i 1 0 + i 1 1 + i 1 0 + i 1
  5946. csinhl 1 + i 1 - 1 + i 1 1 + i 1 1 + i 1
  5947. csinhf128 - - - 1 + i 1 1 + i 1
  5948. csqrtf 2 + i 2 2 + i 2 2 + i 2 2 + i 2 2 + i 2
  5949. csqrt 2 + i 2 2 + i 2 2 + i 2 2 + i 2 2 + i 2
  5950. csqrtl 2 + i 2 - 2 + i 2 2 + i 2 2 + i 2
  5951. csqrtf128 - - - 2 + i 2 2 + i 2
  5952. ctanf 1 + i 2 1 + i 2 1 + i 2 1 + i 2 1 + i 2
  5953. ctan 1 + i 2 1 + i 2 1 + i 2 1 + i 2 1 + i 2
  5954. ctanl 3 + i 3 - 3 + i 3 2 + i 1 2 + i 1
  5955. ctanf128 - - - 3 + i 3 3 + i 3
  5956. ctanhf 2 + i 1 2 + i 2 2 + i 2 2 + i 2 2 + i 2
  5957. ctanh 2 + i 2 2 + i 2 2 + i 2 2 + i 2 2 + i 2
  5958. ctanhl 3 + i 3 - 3 + i 3 1 + i 2 1 + i 2
  5959. ctanhf128 - - - 3 + i 3 3 + i 3
  5960. div_ldoublef - - - - -
  5961. div_ldouble - - - - -
  5962. div_ldoublel - - - - -
  5963. div_ldoublef128- - - - -
  5964. erff 1 1 1 1 1
  5965. erf 1 1 1 1 1
  5966. erfl 1 - 1 1 1
  5967. erff128 - - - 1 1
  5968. erfcf 2 2 3 2 3
  5969. erfc 2 5 5 3 3
  5970. erfcl 2 - 2 3 3
  5971. erfcf128 - - - 2 2
  5972. expf 1 1 1 1 1
  5973. exp 1 1 1 1 1
  5974. expl 1 - 1 1 1
  5975. expf128 - - - 1 1
  5976. exp10f 1 - 1 - -
  5977. exp10 2 2 2 1 1
  5978. exp10l 2 - 2 1 1
  5979. exp10f128 - - - 2 2
  5980. exp2f - - 1 - -
  5981. exp2 1 1 1 1 1
  5982. exp2l 1 - 1 1 1
  5983. exp2f128 - - - 1 1
  5984. expm1f 1 1 1 - -
  5985. expm1 1 1 1 1 1
  5986. expm1l 1 - 1 2 2
  5987. expm1f128 - - - 1 1
  5988. fmaf - - - - -
  5989. fma - - - - -
  5990. fmal - - - - -
  5991. fmaf128 - - - - -
  5992. fmodf - - - - -
  5993. fmod - - - - -
  5994. fmodl - - - - -
  5995. fmodf128 - - - - -
  5996. gammaf 3 3 7 3 5
  5997. gamma 3 4 4 4 4
  5998. gammal 5 - 5 4 4
  5999. gammaf128 - - - - -
  6000. hypotf - - - - -
  6001. hypot 1 1 1 1 1
  6002. hypotl 1 - 1 1 1
  6003. hypotf128 - - - 1 1
  6004. j0f 8 8 8 5 8
  6005. j0 2 2 2 2 2
  6006. j0l 2 - 2 2 2
  6007. j0f128 - - - 2 2
  6008. j1f 8 8 9 5 9
  6009. j1 2 2 2 2 2
  6010. j1l 4 - 4 5 5
  6011. j1f128 - - - 4 4
  6012. jnf 4 4 4 4 4
  6013. jn 4 4 4 4 4
  6014. jnl 7 - 7 4 4
  6015. jnf128 - - - 7 7
  6016. lgammaf 3 3 7 3 5
  6017. lgamma 3 4 4 4 4
  6018. lgammal 5 - 5 4 4
  6019. lgammaf128 - - - 5 5
  6020. logf - 1 1 - -
  6021. log 1 - - 1 1
  6022. logl 1 - 1 1 1
  6023. logf128 - - - 1 1
  6024. log10f 2 2 2 - -
  6025. log10 2 2 2 1 1
  6026. log10l 1 - 1 1 1
  6027. log10f128 - - - 1 1
  6028. log1pf 1 1 1 - -
  6029. log1p 1 1 1 1 1
  6030. log1pl 2 - 2 2 2
  6031. log1pf128 - - - 2 2
  6032. log2f 1 1 1 1 1
  6033. log2 - 2 2 1 1
  6034. log2l 2 - 2 1 1
  6035. log2f128 - - - 2 2
  6036. mul_ldoublef - - - - -
  6037. mul_ldouble - - - - -
  6038. mul_ldoublel - - - - -
  6039. mul_ldoublef128- - - - -
  6040. powf - 1 3 - -
  6041. pow 1 1 1 1 1
  6042. powl 2 - 2 1 1
  6043. powf128 - - - 2 2
  6044. pow10f - - - - -
  6045. pow10 - - - - -
  6046. pow10l - - - - -
  6047. pow10f128 - - - - -
  6048. sinf 1 1 1 - 1
  6049. sin 1 1 1 1 1
  6050. sinl 1 - 1 1 1
  6051. sinf128 - - - 1 1
  6052. sincosf - 1 1 - 1
  6053. sincos 1 1 1 1 1
  6054. sincosl 1 - 1 1 1
  6055. sincosf128 - - - 1 1
  6056. sinhf 2 2 2 2 2
  6057. sinh 2 2 2 2 2
  6058. sinhl 2 - 2 2 2
  6059. sinhf128 - - - 2 2
  6060. sqrtf - - - - -
  6061. sqrt - - - - -
  6062. sqrtl - - - - -
  6063. sqrtf128 - - - - -
  6064. sub_ldoublef - - - - -
  6065. sub_ldouble - - - - -
  6066. sub_ldoublel - - - - -
  6067. sub_ldoublef128- - - - -
  6068. tanf 1 1 1 1 1
  6069. tan - - - - -
  6070. tanl 1 - 1 2 2
  6071. tanf128 - - - 1 1
  6072. tanhf 2 2 2 2 2
  6073. tanh 2 2 2 2 2
  6074. tanhl 2 - 2 3 3
  6075. tanhf128 - - - 2 2
  6076. tgammaf 8 8 8 4 8
  6077. tgamma 9 9 9 6 6
  6078. tgammal 4 - 4 5 5
  6079. tgammaf128 - - - 4 4
  6080. y0f 6 6 8 1 8
  6081. y0 2 3 3 2 3
  6082. y0l 3 - 3 1 1
  6083. y0f128 - - - 3 3
  6084. y1f 2 2 2 2 2
  6085. y1 3 3 3 3 3
  6086. y1l 2 - 2 3 2
  6087. y1f128 - - - 5 2
  6088. ynf 3 3 3 3 3
  6089. yn 3 3 3 3 3
  6090. ynl 5 - 5 4 4
  6091. ynf128 - - - 5 5
  6092. Function x86_64
  6093. acosf 1
  6094. acos -
  6095. acosl 1
  6096. acosf128 1
  6097. acoshf 2
  6098. acosh 2
  6099. acoshl 2
  6100. acoshf128 2
  6101. add_ldoublef -
  6102. add_ldouble -
  6103. add_ldoublel -
  6104. add_ldoublef128-
  6105. asinf 1
  6106. asin -
  6107. asinl 1
  6108. asinf128 1
  6109. asinhf 2
  6110. asinh 2
  6111. asinhl 3
  6112. asinhf128 3
  6113. atanf 1
  6114. atan -
  6115. atanl 1
  6116. atanf128 1
  6117. atan2f 1
  6118. atan2 -
  6119. atan2l 1
  6120. atan2f128 1
  6121. atanhf 2
  6122. atanh 2
  6123. atanhl 3
  6124. atanhf128 3
  6125. cabsf -
  6126. cabs 1
  6127. cabsl 1
  6128. cabsf128 1
  6129. cacosf 2 + i 2
  6130. cacos 1 + i 2
  6131. cacosl 1 + i 2
  6132. cacosf128 2 + i 2
  6133. cacoshf 2 + i 2
  6134. cacosh 2 + i 1
  6135. cacoshl 2 + i 1
  6136. cacoshf128 2 + i 2
  6137. cargf 1
  6138. carg -
  6139. cargl 1
  6140. cargf128 2
  6141. casinf 1 + i 2
  6142. casin 1 + i 2
  6143. casinl 1 + i 2
  6144. casinf128 2 + i 2
  6145. casinhf 2 + i 1
  6146. casinh 2 + i 1
  6147. casinhl 2 + i 1
  6148. casinhf128 2 + i 2
  6149. catanf 1 + i 1
  6150. catan 1 + i 1
  6151. catanl 1 + i 1
  6152. catanf128 1 + i 1
  6153. catanhf 1 + i 1
  6154. catanh 1 + i 1
  6155. catanhl 1 + i 1
  6156. catanhf128 1 + i 1
  6157. cbrtf 1
  6158. cbrt 4
  6159. cbrtl 1
  6160. cbrtf128 1
  6161. ccosf 1 + i 1
  6162. ccos 1 + i 1
  6163. ccosl 1 + i 1
  6164. ccosf128 1 + i 1
  6165. ccoshf 1 + i 1
  6166. ccosh 1 + i 1
  6167. ccoshl 1 + i 1
  6168. ccoshf128 1 + i 1
  6169. cexpf 1 + i 2
  6170. cexp 2 + i 1
  6171. cexpl 1 + i 1
  6172. cexpf128 1 + i 1
  6173. clogf 3 + i 1
  6174. clog 3 + i 0
  6175. clogl 3 + i 1
  6176. clogf128 2 + i 1
  6177. clog10f 4 + i 2
  6178. clog10 3 + i 2
  6179. clog10l 4 + i 2
  6180. clog10f128 2 + i 2
  6181. cosf 1
  6182. cos 1
  6183. cosl 1
  6184. cosf128 1
  6185. coshf 2
  6186. cosh 2
  6187. coshl 2
  6188. coshf128 1
  6189. cpowf 5 + i 2
  6190. cpow 2 + i 0
  6191. cpowl 3 + i 4
  6192. cpowf128 4 + i 1
  6193. csinf 1 + i 0
  6194. csin 1 + i 0
  6195. csinl 1 + i 0
  6196. csinf128 1 + i 1
  6197. csinhf 1 + i 1
  6198. csinh 0 + i 1
  6199. csinhl 1 + i 1
  6200. csinhf128 1 + i 1
  6201. csqrtf 2 + i 2
  6202. csqrt 2 + i 2
  6203. csqrtl 2 + i 2
  6204. csqrtf128 2 + i 2
  6205. ctanf 1 + i 2
  6206. ctan 1 + i 2
  6207. ctanl 2 + i 1
  6208. ctanf128 3 + i 3
  6209. ctanhf 2 + i 2
  6210. ctanh 2 + i 2
  6211. ctanhl 1 + i 2
  6212. ctanhf128 3 + i 3
  6213. div_ldoublef -
  6214. div_ldouble -
  6215. div_ldoublel -
  6216. div_ldoublef128-
  6217. erff 1
  6218. erf 1
  6219. erfl 1
  6220. erff128 1
  6221. erfcf 3
  6222. erfc 5
  6223. erfcl 3
  6224. erfcf128 2
  6225. expf 1
  6226. exp 1
  6227. expl 1
  6228. expf128 1
  6229. exp10f 1
  6230. exp10 2
  6231. exp10l 1
  6232. exp10f128 2
  6233. exp2f 1
  6234. exp2 1
  6235. exp2l 1
  6236. exp2f128 1
  6237. expm1f 1
  6238. expm1 1
  6239. expm1l 2
  6240. expm1f128 1
  6241. fmaf -
  6242. fma -
  6243. fmal -
  6244. fmaf128 -
  6245. fmodf -
  6246. fmod -
  6247. fmodl -
  6248. fmodf128 -
  6249. gammaf 7
  6250. gamma 4
  6251. gammal 4
  6252. gammaf128 -
  6253. hypotf -
  6254. hypot 1
  6255. hypotl 1
  6256. hypotf128 1
  6257. j0f 8
  6258. j0 2
  6259. j0l 2
  6260. j0f128 2
  6261. j1f 9
  6262. j1 2
  6263. j1l 5
  6264. j1f128 4
  6265. jnf 4
  6266. jn 4
  6267. jnl 4
  6268. jnf128 7
  6269. lgammaf 7
  6270. lgamma 4
  6271. lgammal 4
  6272. lgammaf128 5
  6273. logf 1
  6274. log 1
  6275. logl 1
  6276. logf128 1
  6277. log10f 2
  6278. log10 2
  6279. log10l 1
  6280. log10f128 1
  6281. log1pf 1
  6282. log1p 1
  6283. log1pl 2
  6284. log1pf128 2
  6285. log2f 1
  6286. log2 2
  6287. log2l 1
  6288. log2f128 2
  6289. mul_ldoublef -
  6290. mul_ldouble -
  6291. mul_ldoublel -
  6292. mul_ldoublef128-
  6293. powf 1
  6294. pow 1
  6295. powl 1
  6296. powf128 2
  6297. pow10f -
  6298. pow10 -
  6299. pow10l -
  6300. pow10f128 -
  6301. sinf 1
  6302. sin 1
  6303. sinl 1
  6304. sinf128 1
  6305. sincosf -
  6306. sincos 1
  6307. sincosl 1
  6308. sincosf128 1
  6309. sinhf 2
  6310. sinh 2
  6311. sinhl 2
  6312. sinhf128 2
  6313. sqrtf -
  6314. sqrt -
  6315. sqrtl -
  6316. sqrtf128 -
  6317. sub_ldoublef -
  6318. sub_ldouble -
  6319. sub_ldoublel -
  6320. sub_ldoublef128-
  6321. tanf 1
  6322. tan -
  6323. tanl 2
  6324. tanf128 1
  6325. tanhf 2
  6326. tanh 2
  6327. tanhl 3
  6328. tanhf128 2
  6329. tgammaf 8
  6330. tgamma 9
  6331. tgammal 5
  6332. tgammaf128 4
  6333. y0f 8
  6334. y0 3
  6335. y0l 1
  6336. y0f128 3
  6337. y1f 9
  6338. y1 6
  6339. y1l 3
  6340. y1f128 5
  6341. ynf 3
  6342. yn 3
  6343. ynl 4
  6344. ynf128 5