1
0

INDEX.html 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565
  1. <HEAD>
  2. <TITLE>plan 9 man section 2</TITLE>
  3. </HEAD>
  4. <BODY>
  5. <B>[<A HREF="/sys/man/index.html">manual index</A>]</B>
  6. <H2>Plan 9 from Bell Labs - Section 2 - System and Library Calls</H2>
  7. <HR>
  8. <DL>
  9. <DT><A HREF="/magic/man2html/2/0intro">0intro</A>
  10. - introduction to library functions
  11. <DD><TT> intro</TT>
  12. </DT>
  13. <DT><A HREF="/magic/man2html/2/9p">9p</A>
  14. - 9P file service
  15. <DD><TT> Srv, dirread9p, emalloc9p, erealloc9p, estrdup9p, postfd, postmountsrv, readbuf, readstr, respond, threadpostmountsrv, srv</TT>
  16. </DT>
  17. <DT><A HREF="/magic/man2html/2/9pfid">9pfid</A>
  18. - 9P fid, request tracking
  19. <DD><TT> Fid, Fidpool, allocfidpool, freefidpool, allocfid, closefid, lookupfid, removefid, Req, Reqpool, allocreqpool, freereqpool, allocreq, closereq, lookupreq, removereq</TT>
  20. </DT>
  21. <DT><A HREF="/magic/man2html/2/9pfile">9pfile</A>
  22. - in-memory file hierarchy
  23. <DD><TT> Tree, alloctree, freetree, File, createfile, closefile, removefile, walkfile, opendirfile, readdirfile, closedirfile, hasperm</TT>
  24. </DT>
  25. <DT><A HREF="/magic/man2html/2/abort">abort</A>
  26. - generate a fault
  27. <DD><TT> abort</TT>
  28. </DT>
  29. <DT><A HREF="/magic/man2html/2/abs">abs</A>
  30. - integer absolute values
  31. <DD><TT> abs, labs</TT>
  32. </DT>
  33. <DT><A HREF="/magic/man2html/2/access">access</A>
  34. - determine accessibility of file
  35. <DD><TT> access</TT>
  36. </DT>
  37. <DT><A HREF="/magic/man2html/2/addpt">addpt</A>
  38. - arithmetic on points and rectangles
  39. <DD><TT> addpt, subpt, mulpt, divpt, rectaddpt, rectsubpt, insetrect, canonrect, eqpt, eqrect, ptinrect, rectinrect, rectXrect, rectclip, combinerect, Dx, Dy, Pt, Rect, Rpt</TT>
  40. </DT>
  41. <DT><A HREF="/magic/man2html/2/aes">aes</A>
  42. - advanced encryption standard (rijndael)
  43. <DD><TT> setupAESstate, aesCBCencrypt, aesCBCdecrypt</TT>
  44. </DT>
  45. <DT><A HREF="/magic/man2html/2/allocimage">allocimage</A>
  46. - allocating, freeing, reading, writing images
  47. <DD><TT> allocimage, allocimagemix, freeimage, nameimage, namedimage, setalpha, loadimage, cloadimage, unloadimage, readimage, writeimage, bytesperline, wordsperline</TT>
  48. </DT>
  49. <DT><A HREF="/magic/man2html/2/arg">arg</A>
  50. - process option letters from argv
  51. <DD><TT> ARGBEGIN, ARGEND, ARGC, ARGF, EARGF, arginit, argopt</TT>
  52. </DT>
  53. <DT><A HREF="/magic/man2html/2/arith3">arith3</A>
  54. - operations on 3-d points and planes
  55. <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>
  56. </DT>
  57. <DT><A HREF="/magic/man2html/2/assert">assert</A>
  58. - check program invariants
  59. <DD><TT> assert</TT>
  60. </DT>
  61. <DT><A HREF="/magic/man2html/2/atof">atof</A>
  62. - convert text to numbers
  63. <DD><TT> atof, atoi, atol, atoll, charstod, strtod, strtol, strtoll, strtoul, strtoull</TT>
  64. </DT>
  65. <DT><A HREF="/magic/man2html/2/auth">auth</A>
  66. -
  67. <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\- routines for authenticating users</TT>
  68. </DT>
  69. <DT><A HREF="/magic/man2html/2/authsrv">authsrv</A>
  70. - routines for communicating with authentication servers
  71. <DD><TT> authdial, passtokey, nvcsum, readnvram, convT2M, convM2T, convTR2M, convM2TR, convA2M, convM2A, convPR2M, convM2PR, _asgetticket, _asrdresp</TT>
  72. </DT>
  73. <DT><A HREF="/magic/man2html/2/bin">bin</A>
  74. - grouped memory allocation
  75. <DD><TT> binalloc, bingrow, binfree</TT>
  76. </DT>
  77. <DT><A HREF="/magic/man2html/2/bind">bind</A>
  78. - change name space
  79. <DD><TT> bind, mount, unmount</TT>
  80. </DT>
  81. <DT><A HREF="/magic/man2html/2/bio">bio</A>
  82. - buffered input/output
  83. <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>
  84. </DT>
  85. <DT><A HREF="/magic/man2html/2/blowfish">blowfish</A>
  86. - blowfish encryption
  87. <DD><TT> setupBFstate, bfCBCencrypt, bfCBCdecrypt, bfECBencrypt, bfECBdecrypt</TT>
  88. </DT>
  89. <DT><A HREF="/magic/man2html/2/brk">brk</A>
  90. - change memory allocation
  91. <DD><TT> brk, sbrk</TT>
  92. </DT>
  93. <DT><A HREF="/magic/man2html/2/cachechars">cachechars</A>
  94. - font utilities
  95. <DD><TT> cachechars, agefont, loadchar, Subfont, Fontchar, Font</TT>
  96. </DT>
  97. <DT><A HREF="/magic/man2html/2/chdir">chdir</A>
  98. - change working directory
  99. <DD><TT> chdir</TT>
  100. </DT>
  101. <DT><A HREF="/magic/man2html/2/cleanname">cleanname</A>
  102. - clean a path name
  103. <DD><TT> cleanname</TT>
  104. </DT>
  105. <DT><A HREF="/magic/man2html/2/color">color</A>
  106. - colors and color maps
  107. <DD><TT> cmap2rgb, cmap2rgba, rgb2cmap</TT>
  108. </DT>
  109. <DT><A HREF="/magic/man2html/2/control">control</A>
  110. - interactive graphical controls
  111. <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>
  112. </DT>
  113. <DT><A HREF="/magic/man2html/2/cputime">cputime</A>
  114. - cpu time in this process and children
  115. <DD><TT> cputime, times</TT>
  116. </DT>
  117. <DT><A HREF="/magic/man2html/2/ctime">ctime</A>
  118. - convert date and time
  119. <DD><TT> ctime, localtime, gmtime, asctime, tm2sec, timezone</TT>
  120. </DT>
  121. <DT><A HREF="/magic/man2html/2/ctype">ctype</A>
  122. - ASCII character classification
  123. <DD><TT> isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toascii, _toupper, _tolower, toupper, tolower</TT>
  124. </DT>
  125. <DT><A HREF="/magic/man2html/2/debugger">debugger</A>
  126. - machine-independent debugger functions
  127. <DD><TT> cisctrace, risctrace, ciscframe, riscframe, localaddr, symoff, fpformat, beieee80ftos, beieeesftos, beieeedftos, leieee80ftos, leieeesftos, leieeedftos, ieeesftos, ieeedftos</TT>
  128. </DT>
  129. <DT><A HREF="/magic/man2html/2/des">des</A>
  130. - single and triple digital encryption standard
  131. <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>
  132. </DT>
  133. <DT><A HREF="/magic/man2html/2/dial">dial</A>
  134. - make and break network connections
  135. <DD><TT> dial, hangup, announce, listen, accept, reject, netmkaddr, setnetmtpt, getnetconninfo, freenetconninfo</TT>
  136. </DT>
  137. <DT><A HREF="/magic/man2html/2/dirread">dirread</A>
  138. - read directory
  139. <DD><TT> dirread, dirreadall</TT>
  140. </DT>
  141. <DT><A HREF="/magic/man2html/2/disk">disk</A>
  142. - generic disk device interface
  143. <DD><TT> opendisk, Disk</TT>
  144. </DT>
  145. <DT><A HREF="/magic/man2html/2/draw">draw</A>
  146. - graphics functions
  147. <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>
  148. </DT>
  149. <DT><A HREF="/magic/man2html/2/dup">dup</A>
  150. - duplicate an open file descriptor
  151. <DD><TT> dup</TT>
  152. </DT>
  153. <DT><A HREF="/magic/man2html/2/elgamal">elgamal</A>
  154. - elgamal encryption
  155. <DD><TT> eggen, egencrypt, egdecrypt, egsign, egverify, egalloc, egfree, egpuballoc, egpubfree, egprivalloc, egprivfree, egsigalloc, egsigfree, egprivtopub</TT>
  156. </DT>
  157. <DT><A HREF="/magic/man2html/2/encode">encode</A>
  158. - encoding byte arrays as strings
  159. <DD><TT> dec64, enc64, dec32, enc32, dec16, enc16, encodefmt</TT>
  160. </DT>
  161. <DT><A HREF="/magic/man2html/2/encrypt">encrypt</A>
  162. - DES encryption
  163. <DD><TT> encrypt, decrypt, netcrypt</TT>
  164. </DT>
  165. <DT><A HREF="/magic/man2html/2/errstr">errstr</A>
  166. - description of last system call error
  167. <DD><TT> errstr, rerrstr, werrstr</TT>
  168. </DT>
  169. <DT><A HREF="/magic/man2html/2/event">event</A>
  170. - graphics events
  171. <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>
  172. </DT>
  173. <DT><A HREF="/magic/man2html/2/exec">exec</A>
  174. - execute a file
  175. <DD><TT> exec, execl, _clock, _privates, _nprivates</TT>
  176. </DT>
  177. <DT><A HREF="/magic/man2html/2/exits">exits</A>
  178. - terminate process, process cleanup
  179. <DD><TT> exits, _exits, atexit, atexitdont, terminate</TT>
  180. </DT>
  181. <DT><A HREF="/magic/man2html/2/exp">exp</A>
  182. - exponential, logarithm, power, square root
  183. <DD><TT> exp, log, log10, pow, pow10, sqrt</TT>
  184. </DT>
  185. <DT><A HREF="/magic/man2html/2/fauth">fauth</A>
  186. - set up authentication on a file descriptor to a file server
  187. <DD><TT> fauth</TT>
  188. </DT>
  189. <DT><A HREF="/magic/man2html/2/fcall">fcall</A>
  190. - interface to Plan 9 File protocol
  191. <DD><TT> Fcall, convS2M, convD2M, convM2S, convM2D, fcallfmt, dirfmt, dirmodefmt, read9pmsg, statcheck, sizeD2M</TT>
  192. </DT>
  193. <DT><A HREF="/magic/man2html/2/fd2path">fd2path</A>
  194. - return file name associated with file descriptor
  195. <DD><TT> fd2path</TT>
  196. </DT>
  197. <DT><A HREF="/magic/man2html/2/fgetc">fgetc</A>
  198. - Stdio input and output
  199. <DD><TT> fgetc, getc, getchar, fputc, putc, putchar, ungetc, fgets, gets, fputs, puts, fread, fwrite</TT>
  200. </DT>
  201. <DT><A HREF="/magic/man2html/2/flate">flate</A>
  202. - deflate compression
  203. <DD><TT> deflateinit, deflate, deflatezlib, deflateblock, deflatezlibblock, inflateinit, inflate, inflatezlib, inflateblock, inflatezlibblock, flateerr, mkcrctab, blockcrc, adler32</TT>
  204. </DT>
  205. <DT><A HREF="/magic/man2html/2/floor">floor</A>
  206. - absolute value, remainder, floor, ceiling functions
  207. <DD><TT> fabs, fmod, floor, ceil</TT>
  208. </DT>
  209. <DT><A HREF="/magic/man2html/2/fmtinstall">fmtinstall</A>
  210. - support for user-defined print formats and output routines
  211. <DD><TT> fmtinstall, dofmt, dorfmt, fmtprint, fmtvprint, fmtrune, fmtstrcpy, fmtrunestrcpy, fmtfdinit, fmtfdflush, fmtstrinit, fmtstrflush, runefmtstrinit, runefmtstrflush, errfmt</TT>
  212. </DT>
  213. <DT><A HREF="/magic/man2html/2/fopen">fopen</A>
  214. - standard buffered input/output package
  215. <DD><TT> fopen, freopen, fdopen, fileno, fclose, sopenr, sopenw, sclose, fflush, setvbuf, setbuf, fgetpos, ftell, fsetpos, fseek, rewind, feof, ferror, clearerr</TT>
  216. </DT>
  217. <DT><A HREF="/magic/man2html/2/fork">fork</A>
  218. - manipulate process resources
  219. <DD><TT> fork, rfork</TT>
  220. </DT>
  221. <DT><A HREF="/magic/man2html/2/fprintf">fprintf</A>
  222. - print formatted output
  223. <DD><TT> fprintf, printf, sprintf, snprintf, vfprintf, vprintf, vsprintf, vsnprintf</TT>
  224. </DT>
  225. <DT><A HREF="/magic/man2html/2/frame">frame</A>
  226. - frames of text
  227. <DD><TT> frinit, frsetrects, frinittick, frclear, frcharofpt, frptofchar, frinsert, frdelete, frselect, frtick, frselectpaint, frdrawsel, frdrawsel0, frgetmouse</TT>
  228. </DT>
  229. <DT><A HREF="/magic/man2html/2/frexp">frexp</A>
  230. - split into mantissa and exponent
  231. <DD><TT> frexp, ldexp, modf</TT>
  232. </DT>
  233. <DT><A HREF="/magic/man2html/2/fscanf">fscanf</A>
  234. - scan formatted input
  235. <DD><TT> fscanf, scanf, sscanf, vfscanf</TT>
  236. </DT>
  237. <DT><A HREF="/magic/man2html/2/fversion">fversion</A>
  238. - initialize 9P connection and negotiate version
  239. <DD><TT> fversion</TT>
  240. </DT>
  241. <DT><A HREF="/magic/man2html/2/genrandom">genrandom</A>
  242. - random number generation
  243. <DD><TT> genrandom, prng</TT>
  244. </DT>
  245. <DT><A HREF="/magic/man2html/2/getcallerpc">getcallerpc</A>
  246. - fetch return PC of current function
  247. <DD><TT> getcallerpc</TT>
  248. </DT>
  249. <DT><A HREF="/magic/man2html/2/getenv">getenv</A>
  250. - access environment variables
  251. <DD><TT> getenv, putenv</TT>
  252. </DT>
  253. <DT><A HREF="/magic/man2html/2/getfcr">getfcr</A>
  254. - control floating point
  255. <DD><TT> getfcr, setfcr, getfsr, setfsr</TT>
  256. </DT>
  257. <DT><A HREF="/magic/man2html/2/getfields">getfields</A>
  258. - break a string into fields
  259. <DD><TT> getfields, gettokens, tokenize</TT>
  260. </DT>
  261. <DT><A HREF="/magic/man2html/2/getpid">getpid</A>
  262. - get process ids
  263. <DD><TT> getpid, getppid</TT>
  264. </DT>
  265. <DT><A HREF="/magic/man2html/2/getuser">getuser</A>
  266. - get user or system name
  267. <DD><TT> getuser, sysname</TT>
  268. </DT>
  269. <DT><A HREF="/magic/man2html/2/getwd">getwd</A>
  270. - get current directory
  271. <DD><TT> getwd</TT>
  272. </DT>
  273. <DT><A HREF="/magic/man2html/2/graphics">graphics</A>
  274. - interactive graphics
  275. <DD><TT> Display, Point, Rectangle, Cursor, initdraw, geninitdraw, drawerror, initdisplay, closedisplay, getdefont, getwindow, gengetwindow, flushimage, bufimage, lockdisplay, unlockdisplay, cursorswitch, cursorset, openfont, buildfont, freefont, Pfmt, Rfmt, strtochan, chantostr, chantodepth</TT>
  276. </DT>
  277. <DT><A HREF="/magic/man2html/2/html">html</A>
  278. - HTML parser
  279. <DD><TT> parsehtml, printitems, validitems, freeitems, freedocinfo, dimenkind, dimenspec, targetid, targetname, fromStr, toStr</TT>
  280. </DT>
  281. <DT><A HREF="/magic/man2html/2/httpd">httpd</A>
  282. - routines for creating an http server
  283. <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, hwrite, hxferenc,</TT>
  284. </DT>
  285. <DT><A HREF="/magic/man2html/2/hypot">hypot</A>
  286. - Euclidean distance
  287. <DD><TT> hypot</TT>
  288. </DT>
  289. <DT><A HREF="/magic/man2html/2/intmap">intmap</A>
  290. - integer to data structure maps
  291. <DD><TT> Intmap, allocmap, freemap, insertkey, caninsertkey, lookupkey, deletekey</TT>
  292. </DT>
  293. <DT><A HREF="/magic/man2html/2/iounit">iounit</A>
  294. - return size of atomic I/O unit for file descriptor
  295. <DD><TT> iounit</TT>
  296. </DT>
  297. <DT><A HREF="/magic/man2html/2/ip">ip</A>
  298. - Internet protocol
  299. <DD><TT> eipfmt, parseip, parseipmask, v4parseip, v4parsecidr, parseether, myipaddr, myetheraddr, maskip, equivip, defmask, isv4, v4tov6, v6tov4, nhgetl, nhgets, hnputl, hnputs, ptclbsum, readipifc</TT>
  300. </DT>
  301. <DT><A HREF="/magic/man2html/2/isalpharune">isalpharune</A>
  302. - Unicode character classes and cases
  303. <DD><TT> isalpharune, islowerrune, isspacerune, istitlerune, isupperrune, tolowerrune, totitlerune, toupperrune</TT>
  304. </DT>
  305. <DT><A HREF="/magic/man2html/2/keyboard">keyboard</A>
  306. - keyboard control
  307. <DD><TT> initkeyboard, ctlkeyboard, closekeyboard</TT>
  308. </DT>
  309. <DT><A HREF="/magic/man2html/2/lock">lock</A>
  310. - shared memory spin locks, rendez-vous locks, reader-writer locks, and atomic increment and decrement
  311. <DD><TT> lock, canlock, unlock, qlock, canqlock, qunlock, rlock, runlock, canrlock, wlock, wunlock, canwlock, incref, decref</TT>
  312. </DT>
  313. <DT><A HREF="/magic/man2html/2/mach">mach</A>
  314. - machine-independent access to executable files
  315. <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>
  316. </DT>
  317. <DT><A HREF="/magic/man2html/2/malloc">malloc</A>
  318. - memory allocator
  319. <DD><TT> malloc, mallocz, free, realloc, calloc, msize, setmalloctag, setrealloctag, getmalloctag, getrealloctag, malloctopoolblock</TT>
  320. </DT>
  321. <DT><A HREF="/magic/man2html/2/matrix">matrix</A>
  322. - Geometric transformations
  323. <DD><TT> ident, matmul, matmulr, determinant, adjoint, invertmat, xformpoint, xformpointd, xformplane, pushmat, popmat, rot, qrot, scale, move, xform, ixform, persp, look, viewport</TT>
  324. </DT>
  325. <DT><A HREF="/magic/man2html/2/memdraw">memdraw</A>
  326. - drawing routines for memory-resident images
  327. <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>
  328. </DT>
  329. <DT><A HREF="/magic/man2html/2/memlayer">memlayer</A>
  330. - windows of memory-resident images
  331. <DD><TT> memdraw, memlalloc, memldelete, memlexpose, memlfree, memlhide, memline, memlnorefresh, memload, memunload, memlorigin, memlsetrefresh, memltofront, memltofrontn, memltorear, memltorearn</TT>
  332. </DT>
  333. <DT><A HREF="/magic/man2html/2/memory">memory</A>
  334. - memory operations
  335. <DD><TT> memccpy, memchr, memcmp, memcpy, memmove, memset</TT>
  336. </DT>
  337. <DT><A HREF="/magic/man2html/2/mktemp">mktemp</A>
  338. - make a unique file name
  339. <DD><TT> mktemp</TT>
  340. </DT>
  341. <DT><A HREF="/magic/man2html/2/mouse">mouse</A>
  342. - mouse control
  343. <DD><TT> initmouse, readmouse, closemouse, moveto, cursorswitch, getrect, drawgetrect, menuhit, setcursor</TT>
  344. </DT>
  345. <DT><A HREF="/magic/man2html/2/mp">mp</A>
  346. - extended precision arithmetic
  347. <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>
  348. </DT>
  349. <DT><A HREF="/magic/man2html/2/muldiv">muldiv</A>
  350. - high-precision multiplication and division
  351. <DD><TT> muldiv, umuldiv</TT>
  352. </DT>
  353. <DT><A HREF="/magic/man2html/2/nan">nan</A>
  354. - not-a-number and infinity functions
  355. <DD><TT> NaN, Inf, isNaN, isInf</TT>
  356. </DT>
  357. <DT><A HREF="/magic/man2html/2/ndb">ndb</A>
  358. - network database
  359. <DD><TT> ndbopen, ndbcat, ndbclose, ndbreopen, ndbsearch, ndbsnext, ndbgetval, ndbfree, ipattr, ndbipinfo, csipinfo, ndbhash, ndbparse, csgetval, ndblookval, dnsquery</TT>
  360. </DT>
  361. <DT><A HREF="/magic/man2html/2/notify">notify</A>
  362. - handle asynchronous process notification
  363. <DD><TT> notify, noted, atnotify</TT>
  364. </DT>
  365. <DT><A HREF="/magic/man2html/2/object">object</A>
  366. - object file interpretation functions
  367. <DD><TT> objtype, readobj, objtraverse, isar, nextar, readar</TT>
  368. </DT>
  369. <DT><A HREF="/magic/man2html/2/open">open</A>
  370. - open a file for reading or writing, create file
  371. <DD><TT> open, create, close</TT>
  372. </DT>
  373. <DT><A HREF="/magic/man2html/2/perror">perror</A>
  374. - system error messages
  375. <DD><TT> perror, syslog, sysfatal</TT>
  376. </DT>
  377. <DT><A HREF="/magic/man2html/2/pipe">pipe</A>
  378. - create an interprocess channel
  379. <DD><TT> pipe</TT>
  380. </DT>
  381. <DT><A HREF="/magic/man2html/2/plumb">plumb</A>
  382. - plumb messages
  383. <DD><TT> eplumb, plumbfree, plumbopen, plumbsend, plumbsendtext, plumblookup, plumbpack, plumbpackattr, plumbaddattr, plumbdelattr, plumbrecv, plumbunpack, plumbunpackpartial, plumbunpackattr, Plumbmsg</TT>
  384. </DT>
  385. <DT><A HREF="/magic/man2html/2/pool">pool</A>
  386. - general memory management routines
  387. <DD><TT> poolalloc, poolfree, poolmsize, poolrealloc, poolcompact, poolcheck, poolblockcheck, pooldump</TT>
  388. </DT>
  389. <DT><A HREF="/magic/man2html/2/postnote">postnote</A>
  390. - send a note to a process or process group
  391. <DD><TT> postnote</TT>
  392. </DT>
  393. <DT><A HREF="/magic/man2html/2/prime">prime</A>
  394. - prime number generation
  395. <DD><TT> genprime, gensafeprime, genstrongprime, DSAprimes, probably_prime, smallprimetest</TT>
  396. </DT>
  397. <DT><A HREF="/magic/man2html/2/print">print</A>
  398. - print formatted output
  399. <DD><TT> print, fprint, sprint, snprint, seprint, smprint, runesprint, runesnprint, runeseprint, runesmprint, vfprint, vsnprint, vseprint, vsmprint, runevsnprint, runevseprint, runevsmprint</TT>
  400. </DT>
  401. <DT><A HREF="/magic/man2html/2/privalloc">privalloc</A>
  402. - per-process private storage management
  403. <DD><TT> privalloc, privfree</TT>
  404. </DT>
  405. <DT><A HREF="/magic/man2html/2/proto">proto</A>
  406. - parse and process a proto file listing
  407. <DD><TT> rdproto</TT>
  408. </DT>
  409. <DT><A HREF="/magic/man2html/2/pushssl">pushssl</A>
  410. - attach SSL version 2 encryption to a communication channel
  411. <DD><TT> pushssl</TT>
  412. </DT>
  413. <DT><A HREF="/magic/man2html/2/pushtls">pushtls</A>
  414. - attach TLS1 or SSL3 encryption to a communication channel
  415. <DD><TT> pushtls, tlsClient, tlsServer, initThumbprints, freeThumbprints, okThumbprint, readcert</TT>
  416. </DT>
  417. <DT><A HREF="/magic/man2html/2/qball">qball</A>
  418. - 3-d rotation controller
  419. <DD><TT> qball</TT>
  420. </DT>
  421. <DT><A HREF="/magic/man2html/2/qsort">qsort</A>
  422. - quicker sort
  423. <DD><TT> qsort</TT>
  424. </DT>
  425. <DT><A HREF="/magic/man2html/2/quaternion">quaternion</A>
  426. - Quaternion arithmetic
  427. <DD><TT> qtom, mtoq, qadd, qsub, qneg, qmul, qdiv, qunit, qinv, qlen, slerp, qmid, qsqrt</TT>
  428. </DT>
  429. <DT><A HREF="/magic/man2html/2/quote">quote</A>
  430. - quoted character strings
  431. <DD><TT> quotestrdup, quoterunestrdup, unquotestrdup, unquoterunestrdup, quotestrfmt, quoterunestrfmt, quotefmtinstall, doquote</TT>
  432. </DT>
  433. <DT><A HREF="/magic/man2html/2/rand">rand</A>
  434. - random number generator
  435. <DD><TT> rand, lrand, frand, nrand, lnrand, srand, truerand, ntruerand, fastrand, nfastrand</TT>
  436. </DT>
  437. <DT><A HREF="/magic/man2html/2/rc4">rc4</A>
  438. - alleged rc4 encryption
  439. <DD><TT> setupRC4state, rc4, rc4skip, rc4back</TT>
  440. </DT>
  441. <DT><A HREF="/magic/man2html/2/read">read</A>
  442. - read or write file
  443. <DD><TT> read, readn, write, pread, pwrite</TT>
  444. </DT>
  445. <DT><A HREF="/magic/man2html/2/readcolmap">readcolmap</A>
  446. - access display color map
  447. <DD><TT> RGB, readcolmap, writecolmap</TT>
  448. </DT>
  449. <DT><A HREF="/magic/man2html/2/readv">readv</A>
  450. - scatter/gather read and write
  451. <DD><TT> readv, writev, preadv, pwritev</TT>
  452. </DT>
  453. <DT><A HREF="/magic/man2html/2/regexp">regexp</A>
  454. - regular expression
  455. <DD><TT> regcomp, regcomplit, regcompnl, regexec, regsub, rregexec, rregsub, regerror</TT>
  456. </DT>
  457. <DT><A HREF="/magic/man2html/2/remove">remove</A>
  458. - remove a file
  459. <DD><TT> remove</TT>
  460. </DT>
  461. <DT><A HREF="/magic/man2html/2/rendezvous">rendezvous</A>
  462. - user level process synchronization
  463. <DD><TT> rendezvous</TT>
  464. </DT>
  465. <DT><A HREF="/magic/man2html/2/rsa">rsa</A>
  466. -
  467. <DD><TT></TT>
  468. </DT>
  469. <DT><A HREF="/magic/man2html/2/rune">rune</A>
  470. - rune/UTF conversion
  471. <DD><TT> runetochar, chartorune, runelen, runenlen, fullrune, utfecpy, utflen, utfnlen, utfrune, utfrrune, utfutf</TT>
  472. </DT>
  473. <DT><A HREF="/magic/man2html/2/runestrcat">runestrcat</A>
  474. - rune string operations
  475. <DD><TT> runestrcat, runestrncat, runestrcmp, runestrncmp, runestrcpy, runestrncpy, runestrecpy, runestrlen, runestrchr, runestrrchr, runestrdup, runestrstr</TT>
  476. </DT>
  477. <DT><A HREF="/magic/man2html/2/scribble">scribble</A>
  478. - character recognition
  479. <DD><TT> scribblealloc, recognize</TT>
  480. </DT>
  481. <DT><A HREF="/magic/man2html/2/scsi">scsi</A>
  482. - SCSI device operations
  483. <DD><TT> openscsi, scsiready, scsi, scsicmd, scsierror</TT>
  484. </DT>
  485. <DT><A HREF="/magic/man2html/2/sechash">sechash</A>
  486. - cryptographically secure hashes
  487. <DD><TT> md4, md5, sha1, hmac_md5, hmac_sha1, md5pickle, md5unpickle, sha1pickle, sha1unpickle</TT>
  488. </DT>
  489. <DT><A HREF="/magic/man2html/2/seek">seek</A>
  490. - change file offset
  491. <DD><TT> seek</TT>
  492. </DT>
  493. <DT><A HREF="/magic/man2html/2/segattach">segattach</A>
  494. - map/unmap a segment in virtual memory
  495. <DD><TT> segattach, segdetach, segfree</TT>
  496. </DT>
  497. <DT><A HREF="/magic/man2html/2/segbrk">segbrk</A>
  498. - change memory allocation
  499. <DD><TT> segbrk</TT>
  500. </DT>
  501. <DT><A HREF="/magic/man2html/2/segflush">segflush</A>
  502. - flush instruction and data caches
  503. <DD><TT> segflush</TT>
  504. </DT>
  505. <DT><A HREF="/magic/man2html/2/setjmp">setjmp</A>
  506. - non-local goto
  507. <DD><TT> setjmp, longjmp, notejmp</TT>
  508. </DT>
  509. <DT><A HREF="/magic/man2html/2/sin">sin</A>
  510. - trigonometric functions
  511. <DD><TT> sin, cos, tan, asin, acos, atan, atan2</TT>
  512. </DT>
  513. <DT><A HREF="/magic/man2html/2/sinh">sinh</A>
  514. - hyperbolic functions
  515. <DD><TT> sinh, cosh, tanh</TT>
  516. </DT>
  517. <DT><A HREF="/magic/man2html/2/sleep">sleep</A>
  518. - delay, ask for delayed note
  519. <DD><TT> sleep, alarm</TT>
  520. </DT>
  521. <DT><A HREF="/magic/man2html/2/stat">stat</A>
  522. - get and put file status
  523. <DD><TT> stat, fstat, wstat, fwstat, dirstat, dirfstat, dirwstat, dirfwstat, nulldir</TT>
  524. </DT>
  525. <DT><A HREF="/magic/man2html/2/strcat">strcat</A>
  526. - string operations
  527. <DD><TT> strcat, strncat, strcmp, strncmp, cistrcmp, cistrncmp, strcpy, strncpy, strecpy, strlen, strchr, strrchr, strpbrk, strspn, strcspn, strtok, strdup, strstr, cistrstr</TT>
  528. </DT>
  529. <DT><A HREF="/magic/man2html/2/string">string</A>
  530. - extensible strings
  531. <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>
  532. </DT>
  533. <DT><A HREF="/magic/man2html/2/stringsize">stringsize</A>
  534. - graphical size of strings
  535. <DD><TT> stringsize, stringwidth, stringnwidth, runestringsize, runestringwidth, runestringnwidth</TT>
  536. </DT>
  537. <DT><A HREF="/magic/man2html/2/subfont">subfont</A>
  538. - subfont manipulation
  539. <DD><TT> allocsubfont, freesubfont, installsubfont, lookupsubfont, uninstallsubfont, subfontname, readsubfont, readsubfonti, writesubfont, stringsubfont, strsubfontwidth, mkfont</TT>
  540. </DT>
  541. <DT><A HREF="/magic/man2html/2/symbol">symbol</A>
  542. - symbol table access functions
  543. <DD><TT> syminit, getsym, symbase, pc2sp, pc2line, textseg, line2addr, lookup, findlocal, getauto, findsym, localsym, globalsym, textsym, file2pc, fileelem, filesym, fileline, fnbound</TT>
  544. </DT>
  545. <DT><A HREF="/magic/man2html/2/thread">thread</A>
  546. - thread and proc management
  547. <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, threadprint, threadsetgrp, threadsetname, threadwaitchan, yield</TT>
  548. </DT>
  549. <DT><A HREF="/magic/man2html/2/time">time</A>
  550. - time in seconds and nanoseconds since epoch
  551. <DD><TT> time, nsec</TT>
  552. </DT>
  553. <DT><A HREF="/magic/man2html/2/tmpfile">tmpfile</A>
  554. - Stdio temporary files
  555. <DD><TT> tmpfile, tmpnam</TT>
  556. </DT>
  557. <DT><A HREF="/magic/man2html/2/wait">wait</A>
  558. - wait for a process to exit
  559. <DD><TT> await, wait, waitpid</TT>
  560. </DT>
  561. <DT><A HREF="/magic/man2html/2/window">window</A>
  562. - window management
  563. <DD><TT> Screen, allocscreen, publicscreen, freescreen, allocwindow, bottomwindow, bottomnwindows, topwindow, topnwindows, originwindow</TT>
  564. </DT>
  565. </DL>