| intro, 0intro | introduction to library functions |
| Fid, File, Req, Srv, Tree, allocmap, allocfid, allocfidpool, allocreq, allocreqpool, caninsertkey, closefid, deletekey, fcreate, freefid, freemap, freereq, fremove, fwalk, mktree, fdirread, insertkey, lookupfid, lookupkey, lookupreq, srv, postmountsrv, readbuf, readstr, respond, threadpostmountsrv, _lib9p_emalloc, _lib9p_erealloc, _lib9p_estrdup, 9p | 9P file server functions |
| abort | generate a fault |
| labs, abs | integer absolute values |
| access | determine accessibility of file |
| subpt, mulpt, divpt, rectaddpt, rectsubpt, insetrect, canonrect, eqpt, eqrect, ptinrect, rectinrect, rectXrect, rectclip, combinerect, Dx, Dy, Pt, Rect, Rpt, addpt | arithmetic on points and rectangles |
| allocimagemix, freeimage, nameimage, namedimage, setalpha, loadimage, cloadimage, unloadimage, readimage, writeimage, bytesperline, wordsperline, allocimage | allocating, freeing, reading, writing images |
| ARGBEGIN, ARGEND, ARGC, ARGF, EARGF, arginit, argopt, arg | process option letters from argv |
| 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, arith3 | operations on 3-d points and planes |
| assert | check program invariants |
| atoi, atol, atoll, charstod, strtod, strtol, strtoll, strtoul, strtoull, atof | convert text to numbers |
| amount, srvauth, authnonce, srvauthnonce, authenticate, getchal, chalreply, vncchal, vncreply, apopchal, apopreply, cramchal, cramreply, newns, addns, authdial, passtokey, nvcsum, convT2M, convM2T, convTR2M, convM2TR, convA2M, convM2A, convPR2M, convM2PR, login, httpauth, noworld, auth | network authentication |
| binalloc, bingrow, binfree, bin | grouped memory allocation |
| mount, unmount, bind | change name space |
| Bopen, Binit, Binits, Brdline, Bgetc, Bgetrune, Bgetd, Bungetc, Bungetrune, Bread, Bseek, Boffset, Bfildes, Blinelen, Bputc, Bputrune, Bprint, Bwrite, Bflush, Bterm, Bbuffered, bio | buffered input/output |
| sbrk, brk | change memory allocation |
| agefont, loadchar, Subfont, Fontchar, Font, cachechars | font utilities |
| chdir | change working directory |
| cleanname | clean a path name |
| cmap2rgb, cmap2rgba, rgb2cmap, color | colors and color maps |
| Control, Controlset, activate, closecontrol, closecontrolset, controlcalled, controlwire, createbox, createbutton, createentry, createkeyboard, createlabel, createradiobutton, createscribble, createslider, createtext, createtextbutton, ctlerror, ctlmalloc, ctlrealloc, ctlstrdup, deactivate, freectlfont, freectlimage, initcontrols, namectlfont, namectlimage, newcontrolset, printctl, resizecontrolset, control | interactive graphical controls |
| times, cputime | cpu time in this process and children |
| localtime, gmtime, asctime, tm2sec, timezone, ctime | convert date and time |
| isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toascii, _toupper, _tolower, toupper, tolower, ctype | ASCII character classification |
| cisctrace, risctrace, ciscframe, riscframe, localaddr, symoff, fpformat, beieee80ftos, beieeesftos, beieeedftos, leieee80ftos, leieeesftos, leieeedftos, ieeesftos, ieeedftos, debugger | machine-independent debugger functions |
| showleak, malloc, mallocz, free, realloc, calloc, msize, setmalloctag, setrealloctag, getmalloctag, getrealloctag, malloctopoolblock, debugmalloc | debugging memory allocator |
| hangup, announce, listen, accept, reject, netmkaddr, setnetmtpt, dial | make and break network connections |
| dirread | read directory |
| opendisk, biosfake, disk | generic disk device interface |
| Image, 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, draw | graphics functions |
| dup | duplicate an open file descriptor |
| decrypt, netcrypt, encrypt | DES encryption |
| werrstr, errstr | description of last system call error |
| einit, estart, estartfn, etimer, eread, emouse, ekbd, ecanread, ecanmouse, ecankbd, ereadmouse, eatomouse, eresized, egetrect, edrawgetrect, emenuhit, emoveto, esetcursor, Event, Mouse, Menu, event | graphics events |
| execl, _clock, _privates, _nprivates, exec | execute a file |
| _exits, atexit, atexitdont, terminate, exits | terminate process, process cleanup |
| log, log10, pow, pow10, sqrt, exp | exponential, logarithm, power, square root |
| Fcall, convS2M, convD2M, convM2S, convM2D, getS, fcallconv, dirconv, dirmodeconv, fcall | interface to Plan 9 File protocol |
| fd2path | return file name associated with file descriptor |
| getc, getchar, fputc, putc, putchar, ungetc, fgets, gets, fputs, puts, fread, fwrite, fgetc | Stdio input and output |
| deflateinit, deflate, deflatezlib, deflateblock, deflatezlibblock, inflateinit, inflate, inflatezlib, inflateblock, inflatezlibblock, flateerr, mkcrctab, blockcrc, adler32, flate | deflate compression |
| fabs, fmod, ceil, floor | absolute value, remainder, floor, ceiling functions |
| freopen, fdopen, fileno, fclose, sopenr, sopenw, sclose, fflush, setvbuf, setbuf, fgetpos, ftell, fsetpos, fseek, rewind, feof, ferror, clearerr, fopen | standard buffered input/output package |
| rfork, fork | manipulate process resources |
| printf, sprintf, snprintf, vfprintf, vprintf, vsprintf, vsnprintf, fprintf | print formatted output |
| frinit, frsetrects, frinittick, frclear, frcharofpt, frptofchar, frinsert, frdelete, frselect, frtick, frselectpaint, frdrawsel, frdrawsel0, frgetmouse, frame | frames of text |
| ldexp, modf, frexp | split into mantissa and exponent |
| scanf, sscanf, vfscanf, fscanf | scan formatted input |
| fauth, fsession | set up authentication on a file descriptor to a file server |
| getcallerpc | fetch return PC of current function |
| putenv, getenv | access environment variables |
| setfcr, getfsr, setfsr, getfcr | control floating point |
| tokenize, getfields | break a string into fields |
| getppid, getpid | get process ids |
| sysname, getuser | get user or system name |
| getwd | get current directory |
| Display, Point, Rectangle, Cursor, initdraw, geninitdraw, drawerror, initdisplay, closedisplay, getdefont, getwindow, gengetwindow, flushimage, bufimage, lockdisplay, unlockdisplay, cursorswitch, cursorset, openfont, buildfont, freefont, Pconv, Rconv, strtochan, chantostr, chantodepth, graphics | interactive graphics |
| hypot | Euclidean distance |
| eipconv, parseip, parseipmask, v4parseip, v4parsecidr, parseether, myipaddr, myetheraddr, maskip, equivip, defmask, isv4, v4tov6, v6tov4, nhgetl, nhgets, hnputl, hnputs, readipifc, ip | Internet protocol |
| islowerrune, isspacerune, istitlerune, isupperrune, tolowerrune, totitlerune, toupperrune, isalpharune | Unicode character classes and cases |
| initkeyboard, ctlkeyboard, closekeyboard, keyboard | keyboard control |
| setupDESstate, des_key_setup, block_cipher, desCBCencrypt, desCBCdecrypt, desECBencrypt, desECBdecrypt, des3CBCencrypt, des3CBCdecrypt, des3ECBencrypt, des3ECBdecrypt, key_setup, des56to64, des64to56, setupDES3state, triple_block_cipher, md4, md5, sha1, hmac_md5, hmac_sha1, dec64, enc64, dec32, enc32, genrandom, prng, genprime, gensafeprime, genstrongprime, DSAprimes, probably_prime, smallprimetest, setupRC4state, rc4, rc4skip, rc4back, crtpre, crtin, crtout, crtprefree, crtresfree, rsagen, rsaencrypt, rsadecrypt, rsaalloc, rsafree, rsapuballoc, rsapubfree, rsaprivalloc, rsaprivfree, rsaprivtopub, X509toRSApub, eggen, egencrypt, egdecrypt, egsign, egverify, egalloc, egfree, egpuballoc, egpubfree, egprivalloc, egprivfree, egsigalloc, egsigfree, egprivtopub, libsec | cryptographic security library |
| canlock, unlock, qlock, canqlock, qunlock, rlock, runlock, wlock, wunlock, incref, decref, lock | shared memory spin locks, rendez-vous locks, reader-writer locks, and atomic increment and decrement |
| crackhdr, machbytype, machbyname, newmap, setmap, findseg, unusemap, loadmap, attachproc, get1, get2, get4, get8, put1, put2, put4, put8, beswab, beswal, beswav, leswab, leswal, leswav, mach | machine-independent access to executable files |
| mallocz, free, realloc, calloc, msize, setmalloctag, setrealloctag, getmalloctag, getrealloctag, malloctopoolblock, malloc | memory allocator |
| ident, matmul, matmulr, determinant, adjoint, invertmat, xformpoint, xformpointd, xformplane, pushmat, popmat, rot, qrot, scale, move, xform, ixform, persp, look, viewport, matrix | Geometric transformations |
| 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, memdraw | drawing routines for memory-resident images |
| memdraw, memlalloc, memldelete, memlexpose, memlfree, memlhide, memline, memlnorefresh, memload, memunload, memlorigin, memlsetrefresh, memltofront, memltofrontn, memltorear, memltorearn, memlayer | windows of memory-resident images |
| memccpy, memchr, memcmp, memcpy, memmove, memset, memory | memory operations |
| mktemp | make a unique file name |
| initmouse, readmouse, closemouse, moveto, cursorswitch, getrect, drawgetrect, menuhit, setcursor, mouse | mouse control |
| mpsetminbits, mpnew, mpfree, mpbits, mpnorm, mpcopy, mpassign, mprand, strtomp, mpconv, 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, mp | extended precision arithmetic |
| umuldiv, muldiv | high-precision multiplication and division |
| NaN, Inf, isNaN, isInf, nan | not-a-number and infinity functions |
| ndbopen, ndbcat, ndbclose, ndbreopen, ndbsearch, ndbsnext, ndbgetval, ndbfree, ipattr, ndbipinfo, csipinfo, ndbhash, ndbparse, csgetval, ndblookval, dnsquery, ndb | network database |
| noted, atnotify, notify | handle asynchronous process notification |
| objtype, readobj, objtraverse, isar, nextar, readar, object | object file interpretation functions |
| create, close, open | open a file for reading or writing, create file |
| syslog, sysfatal, perror | system error messages |
| pipe | create an interprocess channel |
| eplumb, plumbfree, plumbopen, plumbsend, plumblookup, plumbpack, plumbpackattr, plumbaddattr, plumbdelattr, plumbrecv, plumbunpack, plumbunpackpartial, plumbunpackattr, Plumbmsg, plumb | plumb messages |
| poolalloc, poolfree, poolmsize, poolrealloc, poolcompact, poolcheck, poolblockcheck, pooldump, pool | general memory management routines |
| postnote | send a note to a process or process group |
| fprint, sprint, snprint, seprint, fmtinstall, strconv, Strconv, numbconv, fltconv, doprint, print | print formatted output |
| privfree, privalloc | per-process private storage management |
| rdproto, proto | parse and process a proto file listing |
| pushssl | attach SSL version 2 encryption to a communication channel |
| qball | 3-d rotation controller |
| qsort | quicker sort |
| qtom, mtoq, qadd, qsub, qneg, qmul, qdiv, qunit, qinv, qlen, slerp, qmid, qsqrt, quaternion | Quaternion arithmetic |
| quotestrdup, quoterunestrdup, unquotestrdup, unquoterunestrdup, quotestrconv, quoterunestrconv, quotefmtinstall, doquote, quote | quoted character strings |
| lrand, frand, nrand, lnrand, srand, truerand, n_truerand, fastrand, rand | random number generator |
| readn, write, pread, pwrite, read9p, write9p, read | read or write file |
| RGB, writecolmap, readcolmap | access display color map |
| regcomp, regcomplit, regcompnl, regexec, regsub, rregexec, rregsub, regerror, regexp | regular expression |
| remove | remove a file |
| rendezvous | user level process synchronization |
| runetochar, chartorune, runelen, runenlen, fullrune, utflen, utfnlen, utfrune, utfrrune, utfutf, rune | rune/UTF conversion |
| runestrncat, runestrcmp, runestrncmp, runestrcpy, runestrncpy, runestrecpy, runestrlen, runestrchr, runestrrchr, runestrdup, runestrstr, runestrcat | rune string operations |
| scribblealloc, recognize, scribble | character recognition |
| openscsi, scsiready, scsicmd, scsierror, scsi | SCSI device operations |
| seek | change file offset |
| segdetach, segfree, segattach | map/unmap a segment in virtual memory |
| segbrk | change memory allocation |
| segflush | flush instruction and data caches |
| longjmp, notejmp, setjmp | non-local goto |
| cos, tan, asin, acos, atan, atan2, sin | trigonometric functions |
| cosh, tanh, sinh | hyperbolic functions |
| alarm, sleep | delay, ask for delayed note |
| fstat, wstat, fwstat, dirstat, dirfstat, dirwstat, dirfwstat, stat | get and put file status |
| strncat, strcmp, strncmp, cistrcmp, cistrncmp, strcpy, strncpy, strecpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok, strdup, strstr, cistrstr, strcat | string operations |
| 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, string | extensible strings |
| stringwidth, stringnwidth, runestringsize, runestringwidth, runestringnwidth, stringsize | graphical size of strings |
| allocsubfont, freesubfont, installsubfont, lookupsubfont, uninstallsubfont, subfontname, readsubfont, readsubfonti, writesubfont, stringsubfont, strsubfontwidth, mkfont, subfont | subfont manipulation |
| syminit, getsym, symbase, pc2sp, pc2line, textseg, line2addr, lookup, findlocal, getauto, findsym, localsym, globalsym, textsym, file2pc, fileelem, filesym, fileline, fnbound, symbol | symbol table access functions |
| alt, chancreate, chanfree, chaninit, proccreate, procdata, procexec, procexecl, procrfork, recv, recvp, recvul, send, sendp, sendul, nbrecv, nbrecvp, nbrecvul, nbsend, nbsendp, nbsendul, threadchdir, threadcreate, threaddata, threadexits, threadexitsall, threadgetgrp, threadgetname, threadkill, threadkillgrp, threadmain, threadnonotes, threadpid, threadprint, threadsetgrp, threadsetname, threadwaitchan, yield, thread | thread and proc management |
| nsec, time | time in seconds and nanoseconds since epoch |
| tmpnam, tmpfile | Stdio temporary files |
| wait | wait for a process to exit |
| Screen, allocscreen, publicscreen, freescreen, allocwindow, bottomwindow, bottomnwindows, topwindow, topnwindows, originwindow, window | window management |