use macro for /usr/local/plan9
This commit is contained in:
parent
dcba4bf6bd
commit
c3674de413
220 changed files with 309 additions and 302 deletions
|
|
@ -717,7 +717,7 @@ accept the
|
|||
option to increment
|
||||
.BR chatty9p .
|
||||
.SH EXAMPLES
|
||||
/usr/local/plan9/src/lib9p/ramfs.c
|
||||
\*9/src/lib9p/ramfs.c
|
||||
is an example of simple single-threaded file servers.
|
||||
On Plan 9, see
|
||||
.IR archfs ,
|
||||
|
|
@ -742,7 +742,7 @@ and
|
|||
.IR nntpfs )
|
||||
or is maintained elsewhere.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9p
|
||||
.B \*9/src/lib9p
|
||||
.SH SEE ALSO
|
||||
.IR 9pfid (3),
|
||||
.IR 9pfile (3),
|
||||
|
|
|
|||
|
|
@ -319,7 +319,7 @@ The file descriptor remains valid even after the
|
|||
.B CFsys
|
||||
is unmounted.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9pclient
|
||||
.B \*9/src/lib9pclient
|
||||
.SH SEE ALSO
|
||||
.IR intro (4),
|
||||
.IR intro (9p)
|
||||
|
|
|
|||
|
|
@ -110,9 +110,9 @@ is often simply
|
|||
This interface is not used in any distributed 9P servers.
|
||||
It was lifted from the Plan 9 kernel.
|
||||
Almost any kernel driver
|
||||
.RB ( /usr/local/plan9/src/9/*/dev*.c )
|
||||
.RB ( \*9/src/9/*/dev*.c )
|
||||
is a good example.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9p/parse.c
|
||||
.B \*9/src/lib9p/parse.c
|
||||
.SH SEE ALSO
|
||||
.IR 9p (3)
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ and
|
|||
.B Req
|
||||
structures.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9p
|
||||
.B \*9/src/lib9p
|
||||
.SH SEE ALSO
|
||||
.IR 9p (3),
|
||||
.IR 9pfile (3)
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ closefile(f);
|
|||
return nf;
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9p/file.c
|
||||
.B \*9/src/lib9p/file.c
|
||||
.SH SEE ALSO
|
||||
.IR 9p (3)
|
||||
.SH BUGS
|
||||
|
|
|
|||
|
|
@ -183,6 +183,6 @@ and
|
|||
give the width (Δx) and height (Δy) of a Rectangle.
|
||||
They are implemented as macros.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.B \*9/src/libdraw
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3)
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ of
|
|||
bytes should random enough to be unlikely to be reused but does not need to be
|
||||
cryptographically strongly unpredictable.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.B \*9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR mp (3),
|
||||
.IR blowfish (3),
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@ To allocate a single-pixel replicated image that may be used to paint a region r
|
|||
red = allocimage(display, Rect(0, 0, 1, 1), RGB24, 1, DRed);
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.B \*9/src/libdraw
|
||||
.SH "SEE ALSO"
|
||||
.IR graphics (3),
|
||||
.IR draw (3),
|
||||
|
|
|
|||
|
|
@ -121,4 +121,4 @@ prog -bffile1 -r -f file2 arg1 arg2
|
|||
prog -b -f(file1) badflag('r') -f(file2) 2 args: 'arg1' 'arg2'
|
||||
.PP
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/include/libc.h
|
||||
.B \*9/include/libc.h
|
||||
|
|
|
|||
|
|
@ -264,6 +264,6 @@ Add the coordinates of two points.
|
|||
sub4
|
||||
Subtract the coordinates of two points.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libgeometry
|
||||
.B \*9/src/libgeometry
|
||||
.SH "SEE ALSO
|
||||
.IR matrix (3)
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ Therefore, it may be necessary to back up the input stream one character
|
|||
after calling
|
||||
.IR charstod .
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9
|
||||
.B \*9/src/lib9
|
||||
.SH SEE ALSO
|
||||
.IR fscanf (3)
|
||||
.SH DIAGNOSTICS
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ The chunks are
|
|||
upon a call to
|
||||
.IR binfree .
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libbin
|
||||
.B \*9/src/libbin
|
||||
.SH SEE ALSO
|
||||
.IR malloc (3)
|
||||
.SH DIAGNOSTICS
|
||||
|
|
|
|||
|
|
@ -321,7 +321,7 @@ When reading, this is the number of bytes still available from the last
|
|||
read on the file; when writing, it is the number of bytes ready to be
|
||||
written.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libbio
|
||||
.B \*9/src/libbio
|
||||
.SH SEE ALSO
|
||||
.IR open (3),
|
||||
.IR print (3),
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ length of the key in bytes, and an initialization vector of 8 bytes
|
|||
functions take a BFstate structure, a data buffer, and a length, which
|
||||
must be a multiple of eight bytes as padding is currently unsupported.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.B \*9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR mp (3),
|
||||
.IR aes (3),
|
||||
|
|
|
|||
|
|
@ -300,7 +300,7 @@ is set to the font age at each use.
|
|||
Thus, characters or subfonts with small ages are the best candidates
|
||||
for replacement when the cache is full.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.B \*9/src/libdraw
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR allocimage (3),
|
||||
|
|
|
|||
|
|
@ -29,6 +29,6 @@ Therefore
|
|||
.I filename
|
||||
must contain room for at least two bytes.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/cleanname.c
|
||||
.B \*9/src/lib9/cleanname.c
|
||||
.SH SEE ALSO
|
||||
.IR cleanname (1)
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ and
|
|||
library routines that
|
||||
take colors as arguments.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.B \*9/src/libdraw
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR allocimage (3),
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ and
|
|||
.IR acme (1),
|
||||
file name completion is triggered by a control-F character or an Insert character.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libcomplete
|
||||
.B \*9/src/libcomplete
|
||||
.SH SEE ALSO
|
||||
.IR rio (1),
|
||||
.IR acme (1)
|
||||
|
|
|
|||
|
|
@ -25,4 +25,4 @@ returns the sum of those same times, converted to seconds.
|
|||
.I Times
|
||||
returns the elapsed real time, in milliseconds, that the process has been running.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/time.c
|
||||
.B \*9/src/lib9/time.c
|
||||
|
|
|
|||
|
|
@ -81,9 +81,9 @@ if
|
|||
is not
|
||||
.BR GMT .
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/date.c
|
||||
.B \*9/src/lib9/date.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/lib9/ctime.c
|
||||
.B \*9/src/lib9/ctime.c
|
||||
.SH "SEE ALSO"
|
||||
.IR date (1),
|
||||
.IR time (3)
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ using
|
|||
.IR key_setup .
|
||||
.PP
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.B \*9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR mp (3),
|
||||
.IR aes (3),
|
||||
|
|
|
|||
|
|
@ -299,11 +299,11 @@ bekremvax(void)
|
|||
}
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/dial.c
|
||||
.B \*9/src/lib9/dial.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/lib9/announce.c
|
||||
.B \*9/src/lib9/announce.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/lib9/_p9dialparse.c
|
||||
.B \*9/src/lib9/_p9dialparse.c
|
||||
.SH DIAGNOSTICS
|
||||
.IR Dial ,
|
||||
.IR announce ,
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ structures filled in
|
|||
.BR buf .
|
||||
The file offset is advanced by the number of bytes actually read.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/dirread.c
|
||||
.B \*9/src/lib9/dirread.c
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR open (3),
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ agree with those used by other operating
|
|||
systems; the numbers bear little or no resemblance
|
||||
to reality.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdisk/disk.c
|
||||
.B \*9/src/libdisk/disk.c
|
||||
.SH SEE ALSO
|
||||
Plan 9's
|
||||
\fIfloppy\fR(3) and \fIsd\fR(3)
|
||||
|
|
|
|||
|
|
@ -805,7 +805,7 @@ to a serial line) according to whether
|
|||
.I on
|
||||
is non-zero.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.B \*9/src/libdraw
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR stringsize (3),
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ and
|
|||
.I dsasigfree
|
||||
are provided to manage signature storage.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.B \*9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR mp (3),
|
||||
.IR aes (3),
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ for the new file descriptor
|
|||
(closing any old file associated with
|
||||
.IR newfd ).
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/dup.c
|
||||
.B \*9/src/lib9/dup.c
|
||||
.SH DIAGNOSTICS
|
||||
Sets
|
||||
.IR errstr .
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ and
|
|||
.I egsigfree
|
||||
are provided to manage signature storage.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.B \*9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR mp (3),
|
||||
.IR aes (3),
|
||||
|
|
|
|||
|
|
@ -80,6 +80,6 @@ For example, to display a 15 byte array as hex:
|
|||
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/u32.c
|
||||
.B \*9/src/lib9/u32.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/lib9/u64.c
|
||||
.B \*9/src/lib9/u64.c
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ or
|
|||
will reset
|
||||
.IR errno .
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/errstr.c
|
||||
.B \*9/src/lib9/errstr.c
|
||||
.SH DIAGNOSTICS
|
||||
.I Errstr
|
||||
always returns 0.
|
||||
|
|
|
|||
|
|
@ -375,7 +375,7 @@ If
|
|||
.B c
|
||||
is nil, it restores the image to the default arrow.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.B \*9/src/libdraw
|
||||
.SH "SEE ALSO"
|
||||
.IR rio (1),
|
||||
.IR graphics (3),
|
||||
|
|
|
|||
|
|
@ -103,9 +103,9 @@ process has no notification handlers
|
|||
(see
|
||||
.IR notify (3)).
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/exec.c
|
||||
.B \*9/src/lib9/exec.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/lib9/execl.c
|
||||
.B \*9/src/lib9/execl.c
|
||||
.SH SEE ALSO
|
||||
.IR prof (1),
|
||||
.IR intro (3),
|
||||
|
|
|
|||
|
|
@ -78,9 +78,9 @@ returns 0 if that limit has been reached.
|
|||
.I Atexitdont
|
||||
cancels a previous registration of an exit function.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/atexit.c
|
||||
.B \*9/src/lib9/atexit.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/lib9/_exits.c
|
||||
.B \*9/src/lib9/_exits.c
|
||||
.SH "SEE ALSO"
|
||||
.IR fork (2),
|
||||
.IR wait (3)
|
||||
|
|
|
|||
|
|
@ -349,7 +349,7 @@ multiple times, if necessary, to read an entire 9P message into
|
|||
The return value is 0 for end of file, or -1 for error; it does not return
|
||||
partial messages.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9
|
||||
.B \*9/src/lib9
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR 9p (3),
|
||||
|
|
|
|||
|
|
@ -204,4 +204,4 @@ The initial value of
|
|||
.I adler
|
||||
(that is, its value after seeing zero bytes) should be 1.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libflate
|
||||
.B \*9/src/libflate
|
||||
|
|
|
|||
|
|
@ -362,7 +362,7 @@ main(...)
|
|||
}
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/fmt
|
||||
.B \*9/src/lib9/fmt
|
||||
.SH SEE ALSO
|
||||
.IR print (3),
|
||||
.IR utf (7),
|
||||
|
|
|
|||
|
|
@ -355,7 +355,7 @@ to paint a region of the frame defined by the
|
|||
and
|
||||
.IR p1 .
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libframe
|
||||
.B \*9/src/libframe
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR draw (3),
|
||||
|
|
|
|||
|
|
@ -38,6 +38,6 @@ Both functions may be passed to
|
|||
(see
|
||||
.IR mp (3)).
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.B \*9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR mp (3)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ char* get9root(void)
|
|||
char* unsharp(char *path)
|
||||
.SH DESCRIPTION
|
||||
This tree of Plan 9 software is conventionally installed in
|
||||
.B /usr/local/plan9
|
||||
.B \*9
|
||||
but may be installed in other places (for example, users without
|
||||
the ability to write to
|
||||
.B /usr/local
|
||||
|
|
@ -25,7 +25,7 @@ should contain the path to the root.
|
|||
returns a static pointer to the pathname of root, first checking
|
||||
.B $PLAN9
|
||||
and defaulting to
|
||||
.BR /usr/local/plan9 .
|
||||
.BR \*9 .
|
||||
.PP
|
||||
The lack of a fixed location for the Plan 9 tree
|
||||
makes it difficult to hard-code paths
|
||||
|
|
@ -65,7 +65,7 @@ snprint(buf, sizeof buf, "#9/plumb/%s", name);
|
|||
fd = open(unsharp(buf), OREAD);
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/getns.c
|
||||
.B \*9/src/lib9/getns.c
|
||||
.SH SEE ALSO
|
||||
.IR intro (4)
|
||||
.SH BUGS
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ main(int argc, char *argv[])
|
|||
}
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/
|
||||
.B \*9/src/lib9/
|
||||
.SH BUGS
|
||||
The
|
||||
.I firstarg
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ sets the environment value associated with
|
|||
to
|
||||
.IR val .
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/getenv.c
|
||||
.B \*9/src/lib9/getenv.c
|
||||
.SH DIAGNOSTICS
|
||||
Sets
|
||||
.IR errstr .
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ with
|
|||
.I delims
|
||||
set to \f5"\et\er\en "\fP.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/tokenize.c
|
||||
.B \*9/src/lib9/tokenize.c
|
||||
.SH SEE ALSO
|
||||
.I strtok
|
||||
in
|
||||
|
|
|
|||
|
|
@ -17,6 +17,6 @@ for Plan 9's per-process name spaces; see
|
|||
.IR intro (4)
|
||||
for details.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/getns.c
|
||||
.B \*9/src/lib9/getns.c
|
||||
.SH SEE ALSO
|
||||
.IR intro (4)
|
||||
|
|
|
|||
|
|
@ -34,4 +34,4 @@ and
|
|||
.I putsnarf
|
||||
will convert as necessary.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw/x11-itrans.c
|
||||
.B \*9/src/libdraw/x11-itrans.c
|
||||
|
|
|
|||
|
|
@ -47,6 +47,6 @@ Unlike
|
|||
.I sysname
|
||||
caches the string, deriving the host name only once.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/getuser.c
|
||||
.B \*9/src/lib9/getuser.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/lib9/sysname.c
|
||||
.B \*9/src/lib9/sysname.c
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ places no more than
|
|||
.I size
|
||||
bytes in the buffer provided.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/getwd.c
|
||||
.B \*9/src/lib9/getwd.c
|
||||
.SH "SEE ALSO"
|
||||
.IR pwd (1),
|
||||
.SH DIAGNOSTICS
|
||||
|
|
|
|||
|
|
@ -617,7 +617,7 @@ if(gengetwindow(display, "/tmp/winname",
|
|||
.SH FILES
|
||||
.BR /lib/font/bit " directory of fonts
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.B \*9/src/libdraw
|
||||
.SH "SEE ALSO"
|
||||
.IR rio (1),
|
||||
.IR addpt (3),
|
||||
|
|
|
|||
|
|
@ -1409,7 +1409,7 @@ would not otherwise fit), and
|
|||
.B FRvscrollauto
|
||||
(the frame gets a vertical scrollbar only if required).
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libhtml
|
||||
.B \*9/src/libhtml
|
||||
.SH SEE ALSO
|
||||
.IR fmt (1)
|
||||
.PP
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ are used by the 9P library to implement
|
|||
and
|
||||
.BR Reqpool s.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9p/intmap.c
|
||||
.B \*9/src/lib9p/intmap.c
|
||||
.SH SEE ALSO
|
||||
.IR 9p (3),
|
||||
.IR 9pfid (3).
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ ioread(Ioproc *io, int fd, void *a, long n)
|
|||
}
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libthread
|
||||
.B \*9/src/libthread
|
||||
.SH SEE ALSO
|
||||
.IR dial (3),
|
||||
.IR open (3),
|
||||
|
|
|
|||
|
|
@ -338,6 +338,6 @@ if the network is multipoint or
|
|||
the remote address if the network is
|
||||
point to point.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libip
|
||||
.B \*9/src/libip
|
||||
.SH SEE ALSO
|
||||
.IR print (3)
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ The names are self-explanatory.
|
|||
.PP
|
||||
The case-conversion routines return the character unchanged if it has no case.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/utf/runetype.c
|
||||
.B \*9/src/lib9/utf/runetype.c
|
||||
.SH "SEE ALSO
|
||||
.IR isalpha (3) ,
|
||||
.IR "The Unicode Standard" .
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ and frees the
|
|||
structure.
|
||||
.PP
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.B \*9/src/libdraw
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR draw (3),
|
||||
|
|
|
|||
|
|
@ -193,9 +193,9 @@ atomically decrements the
|
|||
.B Ref
|
||||
and returns zero if the resulting value is zero, non-zero otherwise.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/qlock.c
|
||||
.B \*9/src/lib9/qlock.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/libthread
|
||||
.B \*9/src/libthread
|
||||
.SH BUGS
|
||||
.B Locks
|
||||
are not always spin locks.
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ executable file),
|
|||
.I attachargs
|
||||
fills them in as best it can.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.B \*9/src/libmach
|
||||
.SH "SEE ALSO
|
||||
.IR mach (3),
|
||||
.IR mach-file (3),
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ should be freed via
|
|||
.IR malloc (3))
|
||||
when no longer needed.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.B \*9/src/libmach
|
||||
.SH "SEE ALSO"
|
||||
.IR mach (3),
|
||||
.IR mach-map (3)
|
||||
|
|
|
|||
|
|
@ -395,7 +395,7 @@ and
|
|||
.I rput
|
||||
function families as necessary.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.B \*9/src/libmach
|
||||
.SH "SEE ALSO"
|
||||
.IR mach (3),
|
||||
.IR mach-file (3)
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ trace(Map *map, ulong pc, ulong callerpc,
|
|||
print("no stack frame\n");
|
||||
.RE
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.B \*9/src/libmach
|
||||
.SH SEE ALSO
|
||||
.IR mach (3)
|
||||
.SH BUGS
|
||||
|
|
|
|||
|
|
@ -112,6 +112,6 @@ expects a 64-bit floating-point value whose high 32-bits are in
|
|||
and low 32-bits are in
|
||||
.IR lo .
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.B \*9/src/libmach
|
||||
.SH "SEE ALSO"
|
||||
.IR mach (3)
|
||||
|
|
|
|||
|
|
@ -369,7 +369,7 @@ When an error occurs, a message describing it is stored
|
|||
in the system error buffer where it is available via
|
||||
.IR errstr .
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.B \*9/src/libmach
|
||||
.SH "SEE ALSO"
|
||||
.IR mach (3),
|
||||
.IR mach-file (3),
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ in a particular byte order.
|
|||
.IR Mach-symbol (3)
|
||||
describes the interface to debugging symbol information.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.B \*9/src/libmach
|
||||
.SH "SEE ALSO
|
||||
.IR mach-file (3),
|
||||
.IR mach-map (3),
|
||||
|
|
|
|||
|
|
@ -126,9 +126,9 @@ to
|
|||
to provide more useful information about
|
||||
the source of allocation.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/malloc.c
|
||||
.B \*9/src/lib9/malloc.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/lib9/malloctag.c
|
||||
.B \*9/src/lib9/malloctag.c
|
||||
.SH SEE ALSO
|
||||
.I trump
|
||||
(in
|
||||
|
|
|
|||
|
|
@ -345,6 +345,6 @@ coordinates are mapped, unchanged, into the viewport's
|
|||
.I z
|
||||
coordinates.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libgeometry/matrix.c
|
||||
.B \*9/src/libgeometry/matrix.c
|
||||
.SH "SEE ALSO
|
||||
.IR arith3 (3)
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@ In the kernel,
|
|||
.I iprint
|
||||
prints to a serial line rather than the screen, for obvious reasons.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.B \*9/src/libdraw
|
||||
.SH SEE ALSO
|
||||
.IR addpt (3),
|
||||
.IR color (3),
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ are in compressed image format
|
|||
(see
|
||||
.IR image (7)).
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.B \*9/src/libdraw
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR memdraw (3),
|
||||
|
|
|
|||
|
|
@ -105,9 +105,9 @@ It returns
|
|||
.IR s .
|
||||
.SH SOURCE
|
||||
All these routines have portable C implementations in
|
||||
.BR /usr/local/plan9/src/lib9 .
|
||||
.BR \*9/src/lib9 .
|
||||
.\" Most also have machine-dependent assembly language implementations in
|
||||
.\" .BR /usr/local/plan9/lib9/$objtype .
|
||||
.\" .BR \*9/lib9/$objtype .
|
||||
.SH SEE ALSO
|
||||
.IR strcat (3)
|
||||
.SH BUGS
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ creating backing store for the menu, writing the menu directly on the display, a
|
|||
restoring the display when the menu is removed.
|
||||
.PP
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.B \*9/src/libdraw
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR draw (3),
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ and
|
|||
.IR acme (1)
|
||||
to set their scrolling behavior.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw/scroll.c
|
||||
.B \*9/src/libdraw/scroll.c
|
||||
.SH SEE ALSO
|
||||
.IR 9term (1),
|
||||
.IR acme (1)
|
||||
|
|
|
|||
|
|
@ -580,4 +580,4 @@ structures respectively.
|
|||
returns the factorial of
|
||||
.IR n .
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libmp
|
||||
.B \*9/src/libmp
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ and there are other threads in the calling proc
|
|||
that need to remain active.
|
||||
.SH EXAMPLE
|
||||
See
|
||||
.B /usr/local/plan9/src/lib9pclient/fs.c
|
||||
.B \*9/src/lib9pclient/fs.c
|
||||
for an example of using
|
||||
.I libmux
|
||||
with
|
||||
|
|
@ -139,7 +139,7 @@ with
|
|||
(see
|
||||
.IR intro (9p)).
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libmux
|
||||
.B \*9/src/libmux
|
||||
.SH SEE ALSO
|
||||
.IR thread (3),
|
||||
.IR intro (9p)
|
||||
|
|
|
|||
|
|
@ -41,4 +41,4 @@ else negative infinity.
|
|||
returns true if its first argument is infinity
|
||||
with the same sign as the second argument.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/nan.c
|
||||
.B \*9/src/lib9/nan.c
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ like
|
|||
The X Window library implementation of
|
||||
.I XLookupString
|
||||
allocates some very large buffers on the stack, so
|
||||
.B /usr/local/plan9/src/libdraw/x11-itrans.c
|
||||
.B \*9/src/libdraw/x11-itrans.c
|
||||
calls
|
||||
.B needstack(20*1024)
|
||||
before making calls to
|
||||
|
|
@ -62,8 +62,8 @@ library)
|
|||
does not allocate a large enough stack, the problem is diagnosed
|
||||
immediately rather than left to corrupt memory.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/needstack.c
|
||||
.B \*9/src/lib9/needstack.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/libthread
|
||||
.B \*9/src/libthread
|
||||
.SH SEE ALSO
|
||||
.IR thread (3)
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ is a common set that includes:
|
|||
.RE
|
||||
.PP
|
||||
See
|
||||
.B /usr/local/plan9/src/lib9/await.c
|
||||
.B \*9/src/lib9/await.c
|
||||
(sic)
|
||||
for the full list.
|
||||
.PP
|
||||
|
|
@ -229,9 +229,9 @@ The notes prefixed
|
|||
.B sys:
|
||||
are usually generated by the operating system.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/notify.c
|
||||
.B \*9/src/lib9/notify.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/lib9/atnotify.c
|
||||
.B \*9/src/lib9/atnotify.c
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.I notejmp
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ Files are closed automatically upon termination of a process;
|
|||
.I close
|
||||
allows the file descriptor to be reused.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9
|
||||
.B \*9/src/lib9
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR stat (3)
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ Two simultaneous calls to
|
|||
.I opentemp
|
||||
will never return the same name.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/opentemp.c
|
||||
.B \*9/src/lib9/opentemp.c
|
||||
.SH "SEE ALSO
|
||||
.I create
|
||||
in
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ When all the data has been read from a pipe and the writer has closed the pipe o
|
|||
will return 0 bytes. Writes to a pipe with no reader will generate a note
|
||||
.BR "sys: write on closed pipe" .
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/pipe.c
|
||||
.B \*9/src/lib9/pipe.c
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR read (3)
|
||||
|
|
|
|||
|
|
@ -259,7 +259,7 @@ provide an explicit interface to
|
|||
.I lib9pclient
|
||||
that preserves the exact error details.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libplumb
|
||||
.B \*9/src/libplumb
|
||||
.SH SEE ALSO
|
||||
.IR plumb (1),
|
||||
.IR event (3),
|
||||
|
|
|
|||
|
|
@ -26,4 +26,4 @@ on file descriptor
|
|||
.IR intro (4),
|
||||
.IR 9pserve (4)
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/post9p.c
|
||||
.B \*9/src/lib9/post9p.c
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ delivered to that process.
|
|||
If the write is successful, zero is returned.
|
||||
Otherwise \-1 is returned.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/postnote.c
|
||||
.B \*9/src/lib9/postnote.c
|
||||
.SH "SEE ALSO"
|
||||
.IR notify (3),
|
||||
.IR intro (3)
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ The random seed used is also returned, so that skeptics
|
|||
can later confirm the computation. Be patient; this is a
|
||||
slow algorithm.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.B \*9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR aes (3)
|
||||
.IR blowfish (3),
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ directory of prototype files.
|
|||
.B /sys/lib/sysconfig/proto/portproto
|
||||
generic prototype file.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdisk/proto.c
|
||||
.B \*9/src/libdisk/proto.c
|
||||
.SH SEE ALSO
|
||||
.IR mk9660 (8),
|
||||
Plan 9's \fImkfs\fR(8)
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ PEM certificate files
|
|||
.SH SOURCE
|
||||
.\" .B /sys/src/libc/9sys/pushtls.c
|
||||
.\" .br
|
||||
.B /usr/local/plan9/src/libsec/port
|
||||
.B \*9/src/libsec/port
|
||||
.SH "SEE ALSO"
|
||||
.IR dial (3),
|
||||
.IR thumbprint (7);
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ This is accomplished by projecting points on the sphere to
|
|||
the nearest point also on the plane through the sphere's center
|
||||
and normal to the axis.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libgeometry/qball.c
|
||||
.B \*9/src/libgeometry/qball.c
|
||||
.SH SEE ALSO
|
||||
.IR quaternion (3)
|
||||
.br
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ The square root of
|
|||
This is just a rotation about the same axis by half the angle.
|
||||
.PD
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libgeometry/quaternion.c
|
||||
.B \*9/src/libgeometry/quaternion.c
|
||||
.SH SEE ALSO
|
||||
.IR matrix (3),
|
||||
.IR qball (3)
|
||||
|
|
|
|||
|
|
@ -157,9 +157,9 @@ in
|
|||
.IR print (3)
|
||||
format strings.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/quote.c
|
||||
.B \*9/src/lib9/quote.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/lib9/fmt/fmtquote.c
|
||||
.B \*9/src/lib9/fmt/fmtquote.c
|
||||
.SH "SEE ALSO
|
||||
.IR rc (1),
|
||||
.IR malloc (3),
|
||||
|
|
|
|||
|
|
@ -156,9 +156,9 @@ to return a uniform
|
|||
.IR x ,
|
||||
.RI 0≤ x < val ≤ 2\u\s732\s10\d-1.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/
|
||||
.B \*9/src/lib9/
|
||||
.br
|
||||
.B /usr/local/plan9/src/libsec/port/
|
||||
.B \*9/src/libsec/port/
|
||||
.SH "SEE ALSO
|
||||
.\" .IR cons (3),
|
||||
.IR mp (3)
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ The
|
|||
.I RC4state
|
||||
structure keeps track of the algorithm.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.B \*9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR mp (3),
|
||||
.IR aes (3),
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ permit multiprocess programs to execute multiple concurrent
|
|||
read and write operations on the same file descriptor
|
||||
without interference.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/readn.c
|
||||
.B \*9/src/lib9/readn.c
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR open (3),
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ mapped and true color or greyscale images,
|
|||
which is described in
|
||||
.IR color (7).
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.B \*9/src/libdraw
|
||||
.SH "SEE ALSO"
|
||||
.IR graphics (3),
|
||||
.IR draw (3),
|
||||
|
|
|
|||
|
|
@ -194,7 +194,7 @@ fields of the
|
|||
.I match
|
||||
array elements should be used.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libregexp
|
||||
.B \*9/src/libregexp
|
||||
.SH "SEE ALSO"
|
||||
.IR grep (1)
|
||||
.SH DIAGNOSTICS
|
||||
|
|
|
|||
|
|
@ -194,7 +194,7 @@ fields of the
|
|||
.I match
|
||||
array elements should be used.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libregexp
|
||||
.B \*9/src/libregexp
|
||||
.SH "SEE ALSO"
|
||||
.IR grep (1)
|
||||
.SH DIAGNOSTICS
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ Calling
|
|||
is equivalent to calling
|
||||
.IR fork (2).
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/rfork.c
|
||||
.B \*9/src/lib9/rfork.c
|
||||
.SH DIAGNOSTICS
|
||||
.I Rfork
|
||||
sets
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ struct PEMChain
|
|||
};
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.B \*9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR mp (3),
|
||||
.IR aes (3),
|
||||
|
|
|
|||
|
|
@ -182,9 +182,9 @@ is the null string,
|
|||
returns
|
||||
.IR s1 .
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/utf/rune.c
|
||||
.B \*9/src/lib9/utf/rune.c
|
||||
.br
|
||||
.B /usr/local/plan9/src/lib9/utf/utfrune.c
|
||||
.B \*9/src/lib9/utf/utfrune.c
|
||||
.SH SEE ALSO
|
||||
.IR utf (7),
|
||||
.IR tcs (1)
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ These functions are rune string analogues of
|
|||
the corresponding functions in
|
||||
.IR strcat (3).
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9
|
||||
.B \*9/src/lib9
|
||||
.SH SEE ALSO
|
||||
.IR memory (3),
|
||||
.IR rune (3),
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ List of textual messages corresponding to SCSI error codes;
|
|||
consulted by
|
||||
.BR scsierror .
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libdisk/scsi.c
|
||||
.B \*9/src/libdisk/scsi.c
|
||||
.SH SEE ALSO
|
||||
Plan 9's
|
||||
\fIsd\fR(3) and
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ All four routines return a pointer to a newly
|
|||
.IR malloc (3)'d
|
||||
object.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.B \*9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR aes (3),
|
||||
.IR blowfish (3),
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ The new file offset value is returned.
|
|||
Seeking in a directory is not allowed.
|
||||
Seeking in a pipe is a no-op.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/seek.c
|
||||
.B \*9/src/lib9/seek.c
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR open (3)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ The file descriptor number may change on its way
|
|||
between processes, but the kernel structure it represents
|
||||
will not.
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/sendfd.c
|
||||
.B \*9/src/lib9/sendfd.c
|
||||
.SH SEE ALSO
|
||||
.IR socketpair (2),
|
||||
.I sendmsg
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ setlabel(void)
|
|||
}
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /usr/local/plan9/src/lib9/jmp.c
|
||||
.B \*9/src/lib9/jmp.c
|
||||
.SH SEE ALSO
|
||||
.IR notify (3)
|
||||
.SH BUGS
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue