123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585 |
- <HEAD>
- <TITLE>plan 9 man section 2</TITLE>
- </HEAD>
- <BODY>
- <B>[<A HREF="/sys/man/index.html">manual index</A>]</B>
- <H2>Plan 9 from Bell Labs - Section 2 - System and Library Calls</H2>
- <HR>
- <DL>
- <DT><A HREF="/magic/man2html/2/0intro">0intro</A>
- - introduction to library functions
- <DD><TT> intro</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/9p">9p</A>
- - 9P file service
- <DD><TT> Srv, dirread9p, emalloc9p, erealloc9p, estrdup9p, listensrv, postfd, postmountsrv, readbuf, readstr, respond, responderror, threadlistensrv, threadpostmountsrv, srv</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/9pcmdbuf">9pcmdbuf</A>
- - control message parsing
- <DD><TT> Cmdbuf, parsecmd, respondcmderror, lookupcmd</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/9pfid">9pfid</A>
- - 9P fid, request tracking
- <DD><TT> Fid, Fidpool, allocfidpool, freefidpool, allocfid, closefid, lookupfid, removefid, Req, Reqpool, allocreqpool, freereqpool, allocreq, closereq, lookupreq, removereq</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/9pfile">9pfile</A>
- - in-memory file hierarchy
- <DD><TT> Tree, alloctree, freetree, File, createfile, closefile, removefile, walkfile, opendirfile, readdirfile, closedirfile, hasperm</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/abort">abort</A>
- - generate a fault
- <DD><TT> abort</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/abs">abs</A>
- - integer absolute values
- <DD><TT> abs, labs</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/access">access</A>
- - determine accessibility of file
- <DD><TT> access</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/addpt">addpt</A>
- - arithmetic on points and rectangles
- <DD><TT> addpt, subpt, mulpt, divpt, rectaddpt, rectsubpt, insetrect, canonrect, eqpt, eqrect, ptinrect, rectinrect, rectXrect, rectclip, combinerect, Dx, Dy, Pt, Rect, Rpt</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/aes">aes</A>
- - advanced encryption standard (rijndael)
- <DD><TT> setupAESstate, aesCBCencrypt, aesCBCdecrypt</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/allocimage">allocimage</A>
- - allocating, freeing, reading, writing images
- <DD><TT> allocimage, allocimagemix, freeimage, nameimage, namedimage, setalpha, loadimage, cloadimage, unloadimage, readimage, writeimage, bytesperline, wordsperline</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/arg">arg</A>
- - process option letters from argv
- <DD><TT> ARGBEGIN, ARGEND, ARGC, ARGF, EARGF, arginit, argopt</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/arith3">arith3</A>
- - operations on 3-d points and planes
- <DD><TT> add3, sub3, neg3, div3, mul3, eqpt3, closept3, dot3, cross3, len3, dist3, unit3, midpt3, lerp3, reflect3, nearseg3, pldist3, vdiv3, vrem3, pn2f3, ppp2f3, fff2p3, pdiv4, add4, sub4</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/assert">assert</A>
- - check program invariants
- <DD><TT> assert</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/atof">atof</A>
- - convert text to numbers
- <DD><TT> atof, atoi, atol, atoll, charstod, strtod, strtol, strtoll, strtoul, strtoull</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/auth">auth</A>
- - routines for authenticating users
- <DD><TT> amount, newns, addns, login, noworld, auth_proxy, fauth_proxy, auth_allocrpc, auth_freerpc, auth_rpc, auth_getkey, amount_getkey, auth_freeAI, auth_chuid, auth_challenge, auth_response, auth_freechal, auth_respond, auth_userpasswd, auth_getuserpasswd, auth_getinfo</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/authsrv">authsrv</A>
- - routines for communicating with authentication servers
- <DD><TT> authdial, passtokey, nvcsum, readnvram, convT2M, convM2T, convTR2M, convM2TR, convA2M, convM2A, convPR2M, convM2PR, _asgetticket, _asrdresp</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/bin">bin</A>
- - grouped memory allocation
- <DD><TT> binalloc, bingrow, binfree</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/bind">bind</A>
- - change name space
- <DD><TT> bind, mount, unmount</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/bio">bio</A>
- - buffered input/output
- <DD><TT> Bopen, Binit, Binits, Brdline, Brdstr, Bgetc, Bgetrune, Bgetd, Bungetc, Bungetrune, Bread, Bseek, Boffset, Bfildes, Blinelen, Bputc, Bputrune, Bprint, Bvprint, Bwrite, Bflush, Bterm, Bbuffered</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/blowfish">blowfish</A>
- - blowfish encryption
- <DD><TT> setupBFstate, bfCBCencrypt, bfCBCdecrypt, bfECBencrypt, bfECBdecrypt</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/brk">brk</A>
- - change memory allocation
- <DD><TT> brk, sbrk</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/cachechars">cachechars</A>
- - font utilities
- <DD><TT> cachechars, agefont, loadchar, Subfont, Fontchar, Font</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/chdir">chdir</A>
- - change working directory
- <DD><TT> chdir</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/cleanname">cleanname</A>
- - clean a path name
- <DD><TT> cleanname</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/color">color</A>
- - colors and color maps
- <DD><TT> cmap2rgb, cmap2rgba, rgb2cmap</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/complete">complete</A>
- - file name completion
- <DD><TT> complete</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/control">control</A>
- - interactive graphical controls
- <DD><TT> Control, Controlset, activate, closecontrol, closecontrolset, controlcalled, controlwire, createbox, createboxbox, createbutton, createcolumn, createentry, createkeyboard, createlabel, createmenu, createradiobutton, createrow, createscribble, createslider, createstack, createtab, createtext, createtextbutton, ctlerror, ctlmalloc, ctlrealloc, ctlstrdup, ctlprint, deactivate, freectlfont, freectlimage, initcontrols, namectlfont, namectlimage, newcontrolset, resizecontrolset</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/cputime">cputime</A>
- - cpu time in this process and children
- <DD><TT> cputime, times</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/ctime">ctime</A>
- - convert date and time
- <DD><TT> ctime, localtime, gmtime, asctime, tm2sec, timezone</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/ctype">ctype</A>
- - ASCII character classification
- <DD><TT> isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toascii, _toupper, _tolower, toupper, tolower</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/debugger">debugger</A>
- - machine-independent debugger functions
- <DD><TT> cisctrace, risctrace, ciscframe, riscframe, localaddr, symoff, fpformat, beieee80ftos, beieeesftos, beieeedftos, leieee80ftos, leieeesftos, leieeedftos, ieeesftos, ieeedftos</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/des">des</A>
- - single and triple digital encryption standard
- <DD><TT> setupDESstate, des_key_setup, block_cipher, desCBCencrypt, desCBCdecrypt, desECBencrypt, desECBdecrypt, des3CBCencrypt, des3CBCdecrypt, des3ECBencrypt, des3ECBdecrypt, key_setup, des56to64, des64to56, setupDES3state, triple_block_cipher,</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/dial">dial</A>
- - make and break network connections
- <DD><TT> dial, hangup, announce, listen, accept, reject, netmkaddr, setnetmtpt, getnetconninfo, freenetconninfo</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/dirread">dirread</A>
- - read directory
- <DD><TT> dirread, dirreadall</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/disk">disk</A>
- - generic disk device interface
- <DD><TT> opendisk, Disk</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/draw">draw</A>
- - graphics functions PB L
- <DD><TT> Image, draw, gendraw, drawreplxy, drawrepl, replclipr, line, poly, fillpoly, bezier, bezspline, fillbezier, fillbezspline, ellipse, fillellipse, arc, fillarc, icossin, icossin2, border, string, stringn, runestring, runestringn, stringbg, stringnbg, runestringbg, runestringnbg, _string, ARROW, drawsetdebug</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/dsa">dsa</A>
- - digital signature algorithm
- <DD><TT> dsagen, dsasign, dsaverify, dsapuballoc, dsapubfree, dsaprivalloc, dsaprivfree, dsasigalloc, dsasigfree, dsaprivtopub</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/dup">dup</A>
- - duplicate an open file descriptor
- <DD><TT> dup</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/elgamal">elgamal</A>
- - elgamal encryption
- <DD><TT> eggen, egencrypt, egdecrypt, egsign, egverify, egpuballoc, egpubfree, egprivalloc, egprivfree, egsigalloc, egsigfree, egprivtopub</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/encode">encode</A>
- - encoding byte arrays as strings
- <DD><TT> dec64, enc64, dec32, enc32, dec16, enc16, encodefmt</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/encrypt">encrypt</A>
- - DES encryption
- <DD><TT> encrypt, decrypt, netcrypt</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/errstr">errstr</A>
- - description of last system call error
- <DD><TT> errstr, rerrstr, werrstr</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/event">event</A>
- - graphics events
- <DD><TT> event, einit, estart, estartfn, etimer, eread, emouse, ekbd, ecanread, ecanmouse, ecankbd, ereadmouse, eatomouse, eresized, egetrect, edrawgetrect, emenuhit, emoveto, esetcursor, Event, Mouse, Menu</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/exec">exec</A>
- - execute a file
- <DD><TT> exec, execl, _privates, _nprivates, _tos</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/exits">exits</A>
- - terminate process, process cleanup
- <DD><TT> exits, _exits, atexit, atexitdont, terminate</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/exp">exp</A>
- - exponential, logarithm, power, square root
- <DD><TT> exp, log, log10, pow, pow10, sqrt</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/fauth">fauth</A>
- - set up authentication on a file descriptor to a file server
- <DD><TT> fauth</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/fcall">fcall</A>
- - interface to Plan 9 File protocol
- <DD><TT> Fcall, convS2M, convD2M, convM2S, convM2D, fcallfmt, dirfmt, dirmodefmt, read9pmsg, statcheck, sizeS2M, sizeD2M</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/fd2path">fd2path</A>
- - return file name associated with file descriptor
- <DD><TT> fd2path</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/fgetc">fgetc</A>
- - Stdio input and output
- <DD><TT> fgetc, getc, getchar, fputc, putc, putchar, ungetc, fgets, gets, fputs, puts, fread, fwrite</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/flate">flate</A>
- - deflate compression
- <DD><TT> deflateinit, deflate, deflatezlib, deflateblock, deflatezlibblock, inflateinit, inflate, inflatezlib, inflateblock, inflatezlibblock, flateerr, mkcrctab, blockcrc, adler32</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/floor">floor</A>
- - absolute value, remainder, floor, ceiling functions
- <DD><TT> fabs, fmod, floor, ceil</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/fmtinstall">fmtinstall</A>
- - support for user-defined print formats and output routines
- <DD><TT> fmtinstall, dofmt, dorfmt, fmtprint, fmtvprint, fmtrune, fmtstrcpy, fmtrunestrcpy, fmtfdinit, fmtfdflush, fmtstrinit, fmtstrflush, runefmtstrinit, runefmtstrflush, errfmt</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/fopen">fopen</A>
- - standard buffered input/output package
- <DD><TT> fopen, freopen, fdopen, fileno, fclose, sopenr, sopenw, sclose, fflush, setvbuf, setbuf, fgetpos, ftell, fsetpos, fseek, rewind, feof, ferror, clearerr</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/fork">fork</A>
- - manipulate process resources
- <DD><TT> fork, rfork</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/fprintf">fprintf</A>
- - print formatted output
- <DD><TT> fprintf, printf, sprintf, snprintf, vfprintf, vprintf, vsprintf, vsnprintf</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/frame">frame</A>
- - frames of text
- <DD><TT> frinit, frsetrects, frinittick, frclear, frcharofpt, frptofchar, frinsert, frdelete, frselect, frtick, frselectpaint, frdrawsel, frdrawsel0, frgetmouse</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/frexp">frexp</A>
- - split into mantissa and exponent
- <DD><TT> frexp, ldexp, modf</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/fscanf">fscanf</A>
- - scan formatted input
- <DD><TT> fscanf, scanf, sscanf, vfscanf</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/fversion">fversion</A>
- - initialize 9P connection and negotiate version
- <DD><TT> fversion</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/genrandom">genrandom</A>
- - random number generation
- <DD><TT> genrandom, prng</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/getcallerpc">getcallerpc</A>
- - fetch return PC of current function
- <DD><TT> getcallerpc</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/getenv">getenv</A>
- - access environment variables
- <DD><TT> getenv, putenv</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/getfcr">getfcr</A>
- - control floating point
- <DD><TT> getfcr, setfcr, getfsr, setfsr</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/getfields">getfields</A>
- - break a string into fields
- <DD><TT> getfields, gettokens, tokenize</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/getpid">getpid</A>
- - get process ids
- <DD><TT> getpid, getppid</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/getuser">getuser</A>
- - get user or system name
- <DD><TT> getuser, sysname</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/getwd">getwd</A>
- - get current directory
- <DD><TT> getwd</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/graphics">graphics</A>
- - interactive graphics
- <DD><TT> Display, Point, Rectangle, Cursor, initdraw, geninitdraw, drawerror, initdisplay, closedisplay, getdefont, getwindow, gengetwindow, flushimage, bufimage, lockdisplay, unlockdisplay, openfont, buildfont, freefont, Pfmt, Rfmt, strtochan, chantostr, chantodepth</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/html">html</A>
- - HTML parser
- <DD><TT> parsehtml, printitems, validitems, freeitems, freedocinfo, dimenkind, dimenspec, targetid, targetname, fromStr, toStr</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/httpd">httpd</A>
- - routines for creating an http server
- <DD><TT> HConnect, HContent, HContents, HETag, HFields, Hio, Htmlesc, HttpHead, HttpReq, HRange, HSPairs, hmydomain, hversion, htmlesc, halloc, hbodypush, hbuflen, hcheckcontent, hclose, hdate2sec, hdatefmt, hfail, hflush, hgetc, hgethead, hinit, hiserror, hload, hlower, hmkcontent, hmkhfields, hmkmimeboundary, hmkspairs, hmoved, hokheaders, hparseheaders, hparsequery, hparsereq, hprint, hputc, hreadbuf, hredirected, hreqcleanup, hrevhfields, hrevspairs, hstrdup, http11, httpfmt, httpunesc, hunallowed, hungetc, hunload, hurlfmt, hurlunesc, hvprint, hwrite, hxferenc,</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/hypot">hypot</A>
- - Euclidean distance
- <DD><TT> hypot</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/intmap">intmap</A>
- - integer to data structure maps
- <DD><TT> Intmap, allocmap, freemap, insertkey, caninsertkey, lookupkey, deletekey</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/ioproc">ioproc</A>
- - slave I/O processes for threaded programs
- <DD><TT> closeioproc, iocall, ioclose, iointerrupt, iodial, ioopen, ioproc, ioread, ioreadn, iowrite</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/iounit">iounit</A>
- - return size of atomic I/O unit for file descriptor
- <DD><TT> iounit</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/ip">ip</A>
- - Internet protocol
- <DD><TT> eipfmt, parseip, parseipmask, v4parseip, v4parsecidr, parseether, myipaddr, myetheraddr, maskip, equivip4, equivip6, defmask, isv4, v4tov6, v6tov4, nhgetv, nhgetl, nhgets, hnputv, hnputl, hnputs, ptclbsum, readipifc</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/isalpharune">isalpharune</A>
- - Unicode character classes and cases
- <DD><TT> isalpharune, islowerrune, isspacerune, istitlerune, isupperrune, tolowerrune, totitlerune, toupperrune</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/keyboard">keyboard</A>
- - keyboard control
- <DD><TT> initkeyboard, ctlkeyboard, closekeyboard</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/lock">lock</A>
- - spin locks, queueing rendezvous locks, reader-writer locks, rendezvous points, and reference counts
- <DD><TT> lock, canlock, unlock, qlock, canqlock, qunlock, rlock, canrlock, runlock, wlock, canwlock, wunlock, rsleep, rwakeup, rwakeupall, incref, decref</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/mach">mach</A>
- - machine-independent access to executable files
- <DD><TT> crackhdr, machbytype, machbyname, newmap, setmap, findseg, unusemap, loadmap, attachproc, get1, get2, get4, get8, put1, put2, put4, put8, beswab, beswal, beswav, leswab, leswal, leswav</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/malloc">malloc</A>
- - memory allocator
- <DD><TT> malloc, mallocalign, mallocz, free, realloc, calloc, msize, setmalloctag, setrealloctag, getmalloctag, getrealloctag, malloctopoolblock</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/matrix">matrix</A>
- - Geometric transformations
- <DD><TT> ident, matmul, matmulr, determinant, adjoint, invertmat, xformpoint, xformpointd, xformplane, pushmat, popmat, rot, qrot, scale, move, xform, ixform, persp, look, viewport</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/memdraw">memdraw</A>
- - drawing routines for memory-resident images
- <DD><TT> Memimage, Memdata, Memdrawparam, memimageinit, wordaddr, byteaddr, memimagemove, allocmemimage, allocmemimaged, readmemimage, creadmemimage, writememimage, freememimage, memsetchan, loadmemimage, cloadmemimage, unloadmemimage, memfillcolor, memarc, mempoly, memellipse, memfillpoly, memimageline, memimagedraw, drawclip, memlinebbox, memlineendsize, allocmemsubfont, openmemsubfont, freememsubfont, memsubfontwidth, getmemdefont, memimagestring, iprint, hwdraw</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/memlayer">memlayer</A>
- - windows of memory-resident images
- <DD><TT> memdraw, memlalloc, memldelete, memlexpose, memlfree, memlhide, memline, memlnorefresh, memload, memunload, memlorigin, memlsetrefresh, memltofront, memltofrontn, memltorear, memltorearn</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/memory">memory</A>
- - memory operations
- <DD><TT> memccpy, memchr, memcmp, memcpy, memmove, memset</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/mktemp">mktemp</A>
- - make a unique file name
- <DD><TT> mktemp</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/mouse">mouse</A>
- - mouse control
- <DD><TT> initmouse, readmouse, closemouse, moveto, getrect, drawgetrect, menuhit, setcursor</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/mp">mp</A>
- - extended precision arithmetic
- <DD><TT> mpsetminbits, mpnew, mpfree, mpbits, mpnorm, mpcopy, mpassign, mprand, strtomp, mpfmt,mptoa, betomp, mptobe, letomp, mptole, mptoui, uitomp, mptoi, itomp, uvtomp, mptouv, vtomp, mptov, mpdigdiv, mpadd, mpsub, mpleft, mpright, mpmul, mpexp, mpmod, mpdiv, mpcmp, mpextendedgcd, mpinvert, mpsignif, mplowbits0, mpvecdigmuladd, mpvecdigmulsub, mpvecadd, mpvecsub, mpveccmp, mpvecmul, mpmagcmp, mpmagadd, mpmagsub, crtpre, crtin, crtout, crtprefree, crtresfree</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/muldiv">muldiv</A>
- - high-precision multiplication and division
- <DD><TT> muldiv, umuldiv</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/nan">nan</A>
- - not-a-number and infinity functions
- <DD><TT> NaN, Inf, isNaN, isInf</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/ndb">ndb</A>
- - network database
- <DD><TT> ndbopen, ndbcat, ndbchanged, ndbclose, ndbreopen, ndbsearch, ndbsnext, ndbgetvalue, ndbfree, ipattr, ndbgetipaddr, ndbipinfo, csipinfo, ndbhash, ndbparse, csgetvalue, ndbfindattr, dnsquery, ndbdiscard, ndbconcatenate, ndbreorder, ndbsubstitute, ndbgetval, csgetval, ndblookval</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/notify">notify</A>
- - handle asynchronous process notification
- <DD><TT> notify, noted, atnotify</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/object">object</A>
- - object file interpretation functions
- <DD><TT> objtype, readobj, objtraverse, isar, nextar, readar</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/open">open</A>
- - open a file for reading or writing, create file
- <DD><TT> open, create, close</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/perror">perror</A>
- - system error messages
- <DD><TT> perror, syslog, sysfatal</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/pipe">pipe</A>
- - create an interprocess channel
- <DD><TT> pipe</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/plumb">plumb</A>
- - plumb messages
- <DD><TT> eplumb, plumbfree, plumbopen, plumbsend, plumbsendtext, plumblookup, plumbpack, plumbpackattr, plumbaddattr, plumbdelattr, plumbrecv, plumbunpack, plumbunpackpartial, plumbunpackattr, Plumbmsg</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/pool">pool</A>
- - general memory management routines
- <DD><TT> poolalloc, poolallocalignspan, poolfree, poolmsize, poolrealloc, poolcompact, poolcheck, poolblockcheck, pooldump</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/postnote">postnote</A>
- - send a note to a process or process group
- <DD><TT> postnote</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/prime">prime</A>
- - prime number generation
- <DD><TT> genprime, gensafeprime, genstrongprime, DSAprimes, probably_prime, smallprimetest</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/print">print</A>
- - print formatted output
- <DD><TT> print, fprint, sprint, snprint, seprint, smprint, runesprint, runesnprint, runeseprint, runesmprint, vfprint, vsnprint, vseprint, vsmprint, runevsnprint, runevseprint, runevsmprint</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/privalloc">privalloc</A>
- - per-process private storage management
- <DD><TT> privalloc, privfree</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/proto">proto</A>
- - parse and process a proto file listing
- <DD><TT> rdproto</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/pushssl">pushssl</A>
- - attach SSL version 2 encryption to a communication channel
- <DD><TT> pushssl</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/pushtls">pushtls</A>
- - attach TLS1 or SSL3 encryption to a communication channel
- <DD><TT> pushtls, tlsClient, tlsServer, initThumbprints, freeThumbprints, okThumbprint, readcert, readcertchain</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/qball">qball</A>
- - 3-d rotation controller
- <DD><TT> qball</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/qsort">qsort</A>
- - quicker sort
- <DD><TT> qsort</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/quaternion">quaternion</A>
- - Quaternion arithmetic
- <DD><TT> qtom, mtoq, qadd, qsub, qneg, qmul, qdiv, qunit, qinv, qlen, slerp, qmid, qsqrt</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/quote">quote</A>
- - quoted character strings
- <DD><TT> quotestrdup, quoterunestrdup, unquotestrdup, unquoterunestrdup, quotestrfmt, quoterunestrfmt, quotefmtinstall, doquote, needsrcquote</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/rand">rand</A>
- - random number generator
- <DD><TT> rand, lrand, frand, nrand, lnrand, srand, truerand, ntruerand, fastrand, nfastrand</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/rc4">rc4</A>
- - alleged rc4 encryption
- <DD><TT> setupRC4state, rc4, rc4skip, rc4back</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/read">read</A>
- - read or write file
- <DD><TT> read, readn, write, pread, pwrite</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/readcolmap">readcolmap</A>
- - access display color map
- <DD><TT> RGB, readcolmap, writecolmap</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/readv">readv</A>
- - scatter/gather read and write
- <DD><TT> readv, writev, preadv, pwritev</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/regexp">regexp</A>
- - regular expression
- <DD><TT> regcomp, regcomplit, regcompnl, regexec, regsub, rregexec, rregsub, regerror</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/remove">remove</A>
- - remove a file
- <DD><TT> remove</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/rendezvous">rendezvous</A>
- - user level process synchronization
- <DD><TT> rendezvous</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/rsa">rsa</A>
- - RSA encryption algorithm
- <DD><TT> asn1dump, asn1toRSApriv, decodePEM, rsadecrypt, rsaencrypt, rsagen, rsaprivalloc, rsaprivfree, rsaprivtopub, rsapuballoc, rsapubfree, X509toRSApub, X509gen, X509verify</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/rune">rune</A>
- - rune/UTF conversion
- <DD><TT> runetochar, chartorune, runelen, runenlen, fullrune, utfecpy, utflen, utfnlen, utfrune, utfrrune, utfutf</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/runestrcat">runestrcat</A>
- - rune string operations
- <DD><TT> runestrcat, runestrncat, runestrcmp, runestrncmp, runestrcpy, runestrncpy, runestrecpy, runestrlen, runestrchr, runestrrchr, runestrdup, runestrstr</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/scribble">scribble</A>
- - character recognition
- <DD><TT> scribblealloc, recognize</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/scsi">scsi</A>
- - SCSI device operations
- <DD><TT> openscsi, closescsi, scsiready, scsi, scsicmd, scsierror</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/sechash">sechash</A>
- - cryptographically secure hashes
- <DD><TT> md4, md5, sha1, hmac_md5, hmac_sha1, md5pickle, md5unpickle, sha1pickle, sha1unpickle</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/seek">seek</A>
- - change file offset
- <DD><TT> seek</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/segattach">segattach</A>
- - map/unmap a segment in virtual memory
- <DD><TT> segattach, segdetach, segfree</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/segbrk">segbrk</A>
- - change memory allocation
- <DD><TT> segbrk</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/segflush">segflush</A>
- - flush instruction and data caches
- <DD><TT> segflush</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/semacquire">semacquire</A>
- - user level semaphores
- <DD><TT> semacquire, semrelease</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/setjmp">setjmp</A>
- - non-local goto
- <DD><TT> setjmp, longjmp, notejmp</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/sin">sin</A>
- - trigonometric functions
- <DD><TT> sin, cos, tan, asin, acos, atan, atan2</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/sinh">sinh</A>
- - hyperbolic functions
- <DD><TT> sinh, cosh, tanh</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/sleep">sleep</A>
- - delay, ask for delayed note
- <DD><TT> sleep, alarm</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/stat">stat</A>
- - get and put file status
- <DD><TT> stat, fstat, wstat, fwstat, dirstat, dirfstat, dirwstat, dirfwstat, nulldir</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/strcat">strcat</A>
- - string operations
- <DD><TT> strcat, strncat, strcmp, strncmp, cistrcmp, cistrncmp, strcpy, strncpy, strecpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok, strdup, strstr, cistrstr</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/string">string</A>
- - extensible strings
- <DD><TT> s_alloc, s_append, s_array, s_copy, s_error, s_free, s_incref, s_memappend, s_nappend, s_new, s_newalloc, s_parse, s_reset, s_restart, s_terminate, s_tolower, s_putc, s_unique, s_grow, s_read, s_read_line, s_getline</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/stringsize">stringsize</A>
- - graphical size of strings
- <DD><TT> stringsize, stringwidth, stringnwidth, runestringsize, runestringwidth, runestringnwidth</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/subfont">subfont</A>
- - subfont manipulation
- <DD><TT> allocsubfont, freesubfont, installsubfont, lookupsubfont, uninstallsubfont, subfontname, readsubfont, readsubfonti, writesubfont, stringsubfont, strsubfontwidth, mkfont</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/symbol">symbol</A>
- - symbol table access functions
- <DD><TT> syminit, getsym, symbase, pc2sp, pc2line, textseg, line2addr, lookup, findlocal, getauto, findsym, localsym, globalsym, textsym, file2pc, fileelem, filesym, fileline, fnbound</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/thread">thread</A>
- - thread and proc management
- <DD><TT> alt, chancreate, chanfree, chaninit, chanprint, mainstacksize, proccreate, procdata, procexec, procexecl, procrfork, recv, recvp, recvul, send, sendp, sendul, nbrecv, nbrecvp, nbrecvul, nbsend, nbsendp, nbsendul, threadcreate, threaddata, threadexits, threadexitsall, threadgetgrp, threadgetname, threadint, threadintgrp, threadkill, threadkillgrp, threadmain, threadnotify, threadid, threadpid, threadsetgrp, threadsetname, threadwaitchan, yield</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/time">time</A>
- - time in seconds and nanoseconds since epoch
- <DD><TT> time, nsec</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/tmpfile">tmpfile</A>
- - Stdio temporary files
- <DD><TT> tmpfile, tmpnam</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/wait">wait</A>
- - wait for a process to exit
- <DD><TT> await, wait, waitpid</TT>
- </DT>
- <DT><A HREF="/magic/man2html/2/window">window</A>
- - window management
- <DD><TT> Screen, allocscreen, publicscreen, freescreen, allocwindow, bottomwindow, bottomnwindows, topwindow, topnwindows, originwindow</TT>
- </DT>
- </DL>
|