Mostly path name updates
This commit is contained in:
parent
7284df18a8
commit
b5fdffeeed
153 changed files with 218 additions and 211 deletions
|
|
@ -725,7 +725,7 @@ option to increment
|
|||
.IR nntpfs (4),
|
||||
.IR snap (4),
|
||||
and
|
||||
.B /sys/src/lib9p/ramfs.c
|
||||
.B /usr/local/plan9/src/lib9p/ramfs.c
|
||||
are good examples of simple single-threaded file servers.
|
||||
.IR Webfs (4)
|
||||
and
|
||||
|
|
@ -748,7 +748,7 @@ and
|
|||
.IR nntpfs )
|
||||
or is maintained elsewhere.
|
||||
.SH SOURCE
|
||||
.B /sys/src/lib9p
|
||||
.B /usr/local/plan9/src/lib9p
|
||||
.SH SEE ALSO
|
||||
.IR 9pfid (3),
|
||||
.IR 9pfile (3),
|
||||
|
|
|
|||
|
|
@ -108,9 +108,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 ( /sys/src/9/*/dev*.c )
|
||||
.RB ( /usr/local/plan9/src/9/*/dev*.c )
|
||||
is a good example.
|
||||
.SH SOURCE
|
||||
.B /sys/src/lib9p/parse.c
|
||||
.B /usr/local/plan9/src/lib9p/parse.c
|
||||
.SH SEE ALSO
|
||||
.IR 9p (3)
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ and
|
|||
.B Req
|
||||
structures.
|
||||
.SH SOURCE
|
||||
.B /sys/src/lib9p
|
||||
.B /usr/local/plan9/src/lib9p
|
||||
.SH SEE ALSO
|
||||
.IR 9p (3),
|
||||
.IR 9pfile (3)
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@ closefile(f);
|
|||
return nf;
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /sys/src/lib9p/file.c
|
||||
.B /usr/local/plan9/src/lib9p/file.c
|
||||
.SH SEE ALSO
|
||||
.IR 9p (3)
|
||||
.SH BUGS
|
||||
|
|
|
|||
|
|
@ -15,4 +15,4 @@ void abort(void)
|
|||
causes an access fault, causing the current process to enter the `Broken' state.
|
||||
The process can then be inspected by a debugger.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9sys/abort.c
|
||||
.B /usr/local/plan9/src/libc/9sys/abort.c
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ and
|
|||
.I labs
|
||||
does the same for a long.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port/abs.c
|
||||
.B /usr/local/plan9/src/libc/port/abs.c
|
||||
.SH SEE ALSO
|
||||
.IR floor (3)
|
||||
for
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ and
|
|||
.BR AREAD =4.
|
||||
.PP
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9sys/access.c
|
||||
.B /usr/local/plan9/src/libc/9sys/access.c
|
||||
.SH SEE ALSO
|
||||
.IR stat (3)
|
||||
.SH DIAGNOSTICS
|
||||
|
|
|
|||
|
|
@ -183,6 +183,6 @@ and
|
|||
give the width (Δx) and height (Δy) of a Rectangle.
|
||||
They are implemented as macros.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libdraw
|
||||
.B /usr/local/plan9/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 /sys/src/libsec
|
||||
.B /usr/local/plan9/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 /sys/src/libdraw
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.SH "SEE ALSO"
|
||||
.IR graphics (3),
|
||||
.IR draw (3),
|
||||
|
|
|
|||
|
|
@ -22,4 +22,4 @@ when
|
|||
.I cond
|
||||
is false.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port/_assert.c
|
||||
.B /usr/local/plan9/src/libc/port/_assert.c
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ Therefore, it may be necessary to back up the input stream one character
|
|||
after calling
|
||||
.IR charstod .
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port
|
||||
.B /usr/local/plan9/src/libc/port
|
||||
.SH SEE ALSO
|
||||
.IR fscanf (3)
|
||||
.SH DIAGNOSTICS
|
||||
|
|
|
|||
|
|
@ -385,7 +385,7 @@ Similary
|
|||
.I auth_freechal
|
||||
frees a challenge/response state.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libauth
|
||||
.B /usr/local/plan9/src/libauth
|
||||
.SH SEE ALSO
|
||||
.IR factotum (4),
|
||||
.IR authsrv (3),
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ sends a ticket request message and then uses
|
|||
.I _asgetresp
|
||||
to recieve an answer.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libauthsrv
|
||||
.B /usr/local/plan9/src/libauthsrv
|
||||
.SH SEE ALSO
|
||||
.IR passwd (1),
|
||||
.IR cons (3),
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ The chunks are
|
|||
upon a call to
|
||||
.IR binfree .
|
||||
.SH SOURCE
|
||||
.B /sys/src/libbin
|
||||
.B /usr/local/plan9/src/libbin
|
||||
.SH SEE ALSO
|
||||
.IR malloc (3)
|
||||
.SH DIAGNOSTICS
|
||||
|
|
|
|||
|
|
@ -307,7 +307,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 /sys/src/libbio
|
||||
.B /usr/local/plan9/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 /sys/src/libsec
|
||||
.B /usr/local/plan9/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 /sys/src/libdraw
|
||||
.B /usr/local/plan9/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 /sys/src/libc/port/cleanname.c
|
||||
.B /usr/local/plan9/src/libc/port/cleanname.c
|
||||
.SH SEE ALSO
|
||||
.IR cleanname (1)
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ and
|
|||
library routines that
|
||||
take colors as arguments.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libdraw
|
||||
.B /usr/local/plan9/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 /sys/src/libcomplete
|
||||
.B /usr/local/plan9/src/libcomplete
|
||||
.SH SEE ALSO
|
||||
.IR rio (1),
|
||||
.IR acme (1)
|
||||
|
|
|
|||
|
|
@ -29,6 +29,6 @@ These functions read
|
|||
.BR /dev/cputime ,
|
||||
opening that file when they are first called.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9sys
|
||||
.B /usr/local/plan9/src/libc/9sys
|
||||
.SH SEE ALSO
|
||||
.IR cons (3)
|
||||
|
|
|
|||
|
|
@ -145,12 +145,12 @@ and
|
|||
are corresponding macros which should only be used when it
|
||||
is known that the argument is upper case or lower case, respectively.
|
||||
.SH SOURCE
|
||||
.TF /sys/src/libc/port/ctype.c
|
||||
.TF /usr/local/plan9/src/libc/port/ctype.c
|
||||
.TP
|
||||
.B /sys/include/ctype.h
|
||||
for the macros.
|
||||
.TP
|
||||
.B /sys/src/libc/port/ctype.c
|
||||
.B /usr/local/plan9/src/libc/port/ctype.c
|
||||
for the tables.
|
||||
.SH "SEE ALSO
|
||||
.IR isalpharune (3)
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ using
|
|||
.IR key_setup .
|
||||
.PP
|
||||
.SH SOURCE
|
||||
.B /sys/src/libsec
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR mp (3),
|
||||
.IR aes (3),
|
||||
|
|
|
|||
|
|
@ -315,8 +315,8 @@ bekremvax(void)
|
|||
}
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.BR /sys/src/libc/9sys ,
|
||||
.B /sys/src/libc/port
|
||||
.BR /usr/local/plan9/src/libc/9sys ,
|
||||
.B /usr/local/plan9/src/libc/port
|
||||
.SH "SEE ALSO"
|
||||
.IR auth (3),
|
||||
.IR ip (3),
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ structures filled in
|
|||
.BR buf .
|
||||
The file offset is advanced by the number of bytes actually read.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9sys/dirread.c
|
||||
.B /usr/local/plan9/src/libc/9sys/dirread.c
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR open (3),
|
||||
|
|
|
|||
|
|
@ -801,7 +801,7 @@ to a serial line) according to whether
|
|||
.I on
|
||||
is non-zero.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libdraw
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR stringsize (3),
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ and
|
|||
.I dsasigfree
|
||||
are provided to manage signature storage.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libsec
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR mp (3),
|
||||
.IR aes (3),
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ requires that
|
|||
be no greater than 20 more than the highest file descriptor ever used by
|
||||
the program.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR dup (3)
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ and
|
|||
.I egsigfree
|
||||
are provided to manage signature storage.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libsec
|
||||
.B /usr/local/plan9/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 /sys/src/libc/port/u32.c
|
||||
.B /usr/local/plan9/src/libc/port/u32.c
|
||||
.br
|
||||
.B /sys/src/libc/port/u64.c
|
||||
.B /usr/local/plan9/src/libc/port/u64.c
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ hexadecimal numbers,
|
|||
and the string is copied into
|
||||
.IR data .
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port
|
||||
.B /usr/local/plan9/src/libc/port
|
||||
.SH DIAGNOSTICS
|
||||
These routines return 1 if the data was encrypted,
|
||||
and 0 if the encryption fails.
|
||||
|
|
|
|||
|
|
@ -74,9 +74,9 @@ The string returned from
|
|||
.I errstr
|
||||
is discarded.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
.br
|
||||
.B /sys/src/libc/9sys/werrstr.c
|
||||
.B /usr/local/plan9/src/libc/9sys/werrstr.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 /sys/src/libdraw
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.SH "SEE ALSO"
|
||||
.IR rio (1),
|
||||
.IR graphics (3),
|
||||
|
|
|
|||
|
|
@ -142,9 +142,9 @@ the return register (e.g.
|
|||
.B R0
|
||||
on the 68020) contains the address of the clock.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
.br
|
||||
.B /sys/src/libc/port/execl.c
|
||||
.B /usr/local/plan9/src/libc/port/execl.c
|
||||
.SH SEE ALSO
|
||||
.IR prof (1),
|
||||
.IR intro (3),
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ returns 0 if that limit has been reached.
|
|||
.I Atexitdont
|
||||
cancels a previous registration of an exit function.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port/atexit.c
|
||||
.B /usr/local/plan9/src/libc/port/atexit.c
|
||||
.SH "SEE ALSO"
|
||||
.IR fork (3),
|
||||
.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 /sys/src/libc/9sys
|
||||
.B /usr/local/plan9/src/libc/9sys
|
||||
.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 /sys/src/libflate
|
||||
.B /usr/local/plan9/src/libflate
|
||||
|
|
|
|||
|
|
@ -362,7 +362,7 @@ main(...)
|
|||
}
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/fmt
|
||||
.B /usr/local/plan9/src/libc/fmt
|
||||
.SH SEE ALSO
|
||||
.IR print (3),
|
||||
.IR utf (6),
|
||||
|
|
|
|||
|
|
@ -155,9 +155,9 @@ will sleep, if necessary, until required process resources are available.
|
|||
is just a call of
|
||||
.BR rfork(RFFDG|RFREND|RFPROC) .
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
.br
|
||||
.B /sys/src/libc/9sys/fork.c
|
||||
.B /usr/local/plan9/src/libc/9sys/fork.c
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR proc (3),
|
||||
|
|
|
|||
|
|
@ -355,7 +355,7 @@ to paint a region of the frame defined by the
|
|||
and
|
||||
.IR p1 .
|
||||
.SH SOURCE
|
||||
.B /sys/src/libframe
|
||||
.B /usr/local/plan9/src/libframe
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR draw (3),
|
||||
|
|
|
|||
|
|
@ -39,6 +39,6 @@ Both functions may be passed to
|
|||
(see
|
||||
.IR mp (3)).
|
||||
.SH SOURCE
|
||||
.B /sys/src/libsec
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR mp (3)
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ main(int argc, char *argv[])
|
|||
}
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/$objtype/getcallerpc.[cs]
|
||||
.B /usr/local/plan9/src/libc/$objtype/getcallerpc.[cs]
|
||||
.SH BUGS
|
||||
The
|
||||
.I firstarg
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ to it. The terminating
|
|||
is not written.
|
||||
If the file value cannot be written, \-1 is returned.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9sys
|
||||
.B /usr/local/plan9/src/libc/9sys
|
||||
.SH SEE ALSO
|
||||
.IR env (3)
|
||||
.SH DIAGNOSTICS
|
||||
|
|
|
|||
|
|
@ -122,4 +122,4 @@ setfcr(fcr);
|
|||
.ft
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/$objtype/getfcr.s
|
||||
.B /usr/local/plan9/src/libc/$objtype/getfcr.s
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ with
|
|||
.I delims
|
||||
set to \f5"\et\er\en "\fP.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port/tokenize.c
|
||||
.B /usr/local/plan9/src/libc/port/tokenize.c
|
||||
.SH SEE ALSO
|
||||
.I strtok
|
||||
in
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ reads
|
|||
.IR cons (3))
|
||||
and converts it to get the id of the parent of the current process.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9sys
|
||||
.B /usr/local/plan9/src/libc/9sys
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR cons (3),
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ Unlike
|
|||
.I sysname
|
||||
caches the string, reading the file only once.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port/getuser.c
|
||||
.B /usr/local/plan9/src/libc/port/getuser.c
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR cons (3)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ places no more than
|
|||
.I size
|
||||
bytes in the buffer provided.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9sys/getwd.c
|
||||
.B /usr/local/plan9/src/libc/9sys/getwd.c
|
||||
.SH "SEE ALSO"
|
||||
.IR pwd (1),
|
||||
.IR fd2path (3)
|
||||
|
|
|
|||
|
|
@ -617,7 +617,7 @@ if(gengetwindow(display, "/tmp/winname",
|
|||
.SH FILES
|
||||
.BR /lib/font/bit " directory of fonts
|
||||
.SH SOURCE
|
||||
.B /sys/src/libdraw
|
||||
.B /usr/local/plan9/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 /sys/src/libhtml
|
||||
.B /usr/local/plan9/src/libhtml
|
||||
.SH SEE ALSO
|
||||
.IR fmt (1)
|
||||
.PP
|
||||
|
|
|
|||
|
|
@ -18,4 +18,4 @@ returns
|
|||
.EE
|
||||
taking precautions against unwarranted overflows.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port/hypot.c
|
||||
.B /usr/local/plan9/src/libc/port/hypot.c
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ are used by the 9P library to implement
|
|||
and
|
||||
.BR Reqpool s.
|
||||
.SH SOURCE
|
||||
.B /sys/src/lib9p/intmap.c
|
||||
.B /usr/local/plan9/src/lib9p/intmap.c
|
||||
.SH SEE ALSO
|
||||
.IR 9p (3),
|
||||
.IR 9pfid (3).
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ ioread(Ioproc *io, int fd, void *a, long n)
|
|||
}
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /sys/src/libthread/io*.c
|
||||
.B /usr/local/plan9/src/libthread/io*.c
|
||||
.SH SEE ALSO
|
||||
.IR dial (3),
|
||||
.IR open (3),
|
||||
|
|
|
|||
|
|
@ -330,6 +330,6 @@ if the network is multipoint or
|
|||
the remote address if the network is
|
||||
point to point.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libip
|
||||
.B /usr/local/plan9/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 /sys/src/libc/port/runetype.c
|
||||
.B /usr/local/plan9/src/libc/port/runetype.c
|
||||
.SH "SEE ALSO
|
||||
.IR ctype (3) ,
|
||||
.IR "The Unicode Standard" .
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ and frees the
|
|||
structure.
|
||||
.PP
|
||||
.SH SOURCE
|
||||
.B /sys/src/libdraw
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR draw (3),
|
||||
|
|
|
|||
|
|
@ -199,11 +199,11 @@ atomically decrements the
|
|||
.B Ref
|
||||
and returns zero if the resulting value is zero, non-zero otherwise.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port/lock.c
|
||||
.B /usr/local/plan9/src/libc/port/lock.c
|
||||
.br
|
||||
.B /sys/src/libc/9sys/qlock.c
|
||||
.B /usr/local/plan9/src/libc/9sys/qlock.c
|
||||
.br
|
||||
.B /sys/src/libthread/ref.c
|
||||
.B /usr/local/plan9/src/libthread/ref.c
|
||||
.SH SEE ALSO
|
||||
.I rfork
|
||||
in
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ should be freed via
|
|||
.IR free (3)
|
||||
when no longer needed.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libmach
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.SH "SEE ALSO"
|
||||
.IR mach (3),
|
||||
.IR mach-map (3)
|
||||
|
|
|
|||
|
|
@ -411,7 +411,7 @@ and
|
|||
.I rput
|
||||
function families as necessary.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libmach
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.SH "SEE ALSO"
|
||||
.IR mach (3),
|
||||
.IR mach-file (3)
|
||||
|
|
|
|||
|
|
@ -132,6 +132,6 @@ trace(Map *map, ulong pc, ulong callerpc,
|
|||
print("no stack frame\n");
|
||||
.RE
|
||||
.SH SOURCE
|
||||
.B /sys/src/libmach
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.SH SEE ALSO
|
||||
.IR mach (3)
|
||||
|
|
|
|||
|
|
@ -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 /sys/src/libmach
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.SH "SEE ALSO"
|
||||
.IR mach (3)
|
||||
|
|
|
|||
|
|
@ -320,7 +320,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 /sys/src/libmach
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.SH "SEE ALSO"
|
||||
.IR mach (3),
|
||||
.IR mach-file (3),
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ in a particular byte order.
|
|||
.I Mach-symbol (3)
|
||||
describes the interface to debugging symbol information.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libmach
|
||||
.B /usr/local/plan9/src/libmach
|
||||
.SH "SEE ALSO
|
||||
.IR mach-file (3),
|
||||
.IR mach-map (3),
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ block allocated by the
|
|||
.IR pool (3)
|
||||
routines.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port/malloc.c
|
||||
.B /usr/local/plan9/src/libc/port/malloc.c
|
||||
.SH SEE ALSO
|
||||
.IR leak (1),
|
||||
.I trump
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@ In the kernel,
|
|||
.I iprint
|
||||
prints to a serial line rather than the screen, for obvious reasons.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libmemdraw
|
||||
.B /usr/local/plan9/src/libmemdraw
|
||||
.SH SEE ALSO
|
||||
.IR addpt (3),
|
||||
.IR color (3),
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ are in compressed image format
|
|||
(see
|
||||
.IR image (6)).
|
||||
.SH SOURCE
|
||||
.B /sys/src/libmemlayer
|
||||
.B /usr/local/plan9/src/libmemlayer
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR memdraw (3),
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ If no such name can be generated,
|
|||
returns
|
||||
\f5"/"\f1 .
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port/mktemp.c
|
||||
.B /usr/local/plan9/src/libc/port/mktemp.c
|
||||
.SH "SEE ALSO"
|
||||
.IR getpid (3),
|
||||
.IR access (3)
|
||||
|
|
|
|||
|
|
@ -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 /sys/src/libdraw
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR draw (3),
|
||||
|
|
|
|||
|
|
@ -574,4 +574,4 @@ and
|
|||
.I CRTres
|
||||
structures respectively.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libmp
|
||||
.B /usr/local/plan9/src/libmp
|
||||
|
|
|
|||
|
|
@ -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 /sys/src/libc/port/nan.c
|
||||
.B /usr/local/plan9/src/libc/port/nan.c
|
||||
|
|
|
|||
|
|
@ -229,9 +229,9 @@ and
|
|||
.I fptrap
|
||||
portions of the notes are machine-dependent.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
.br
|
||||
.B /sys/src/libc/port/atnotify.c
|
||||
.B /usr/local/plan9/src/libc/port/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 /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR bind (3),
|
||||
|
|
|
|||
|
|
@ -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 /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR read (3),
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ and deletes it from the list, returning the resulting list.
|
|||
.I Plumbdelattr
|
||||
is a no-op if no such attribute exists.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libplumb
|
||||
.B /usr/local/plan9/src/libplumb
|
||||
.SH SEE ALSO
|
||||
.IR plumb (1),
|
||||
.IR event (3),
|
||||
|
|
|
|||
|
|
@ -320,10 +320,10 @@ is set,
|
|||
fills the passed block with garbage rather than
|
||||
return it to the free pool.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port/pool.c
|
||||
.B /usr/local/plan9/src/libc/port/pool.c
|
||||
.SH SEE ALSO
|
||||
.IR malloc (3),
|
||||
.IR brk (3)
|
||||
.PP
|
||||
.B /sys/src/libc/port/malloc.c
|
||||
.B /usr/local/plan9/src/libc/port/malloc.c
|
||||
is a complete example.
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ delivered to that process.
|
|||
If the write is successful, zero is returned.
|
||||
Otherwise \-1 is returned.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9sys/postnote.c
|
||||
.B /usr/local/plan9/src/libc/9sys/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 /sys/src/libsec
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR aes (3)
|
||||
.IR blowfish (3),
|
||||
|
|
|
|||
|
|
@ -157,9 +157,9 @@ in
|
|||
.IR print (3)
|
||||
format strings.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port/quote.c
|
||||
.B /usr/local/plan9/src/libc/port/quote.c
|
||||
.br
|
||||
.B /sys/src/libc/fmt/fmtquote.c
|
||||
.B /usr/local/plan9/src/libc/fmt/fmtquote.c
|
||||
.SH "SEE ALSO
|
||||
.IR rc (1),
|
||||
.IR malloc (3),
|
||||
|
|
|
|||
|
|
@ -156,15 +156,15 @@ to return a uniform
|
|||
.IR x ,
|
||||
.RI 0≤ x < val ≤ 2\u\s732\s10\d-1.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port/*rand.c
|
||||
.B /usr/local/plan9/src/libc/port/*rand.c
|
||||
.br
|
||||
.B /sys/src/libc/9sys/truerand.c
|
||||
.B /usr/local/plan9/src/libc/9sys/truerand.c
|
||||
.br
|
||||
.B /sys/src/libsec/port/genrandom.c
|
||||
.B /usr/local/plan9/src/libsec/port/genrandom.c
|
||||
.br
|
||||
.B /sys/src/libsec/port/prng.c
|
||||
.B /usr/local/plan9/src/libsec/port/prng.c
|
||||
.br
|
||||
.B /sys/src/libsec/port/*fastrand.c
|
||||
.B /usr/local/plan9/src/libsec/port/*fastrand.c
|
||||
.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 /sys/src/libsec
|
||||
.B /usr/local/plan9/src/libsec
|
||||
.SH SEE ALSO
|
||||
.IR mp (3),
|
||||
.IR aes (3),
|
||||
|
|
|
|||
|
|
@ -81,9 +81,9 @@ permit multiprocess programs to execute multiple concurrent
|
|||
read and write operations on the same file descriptor
|
||||
without interference.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
.br
|
||||
.B /sys/src/libc/port/readn.c
|
||||
.B /usr/local/plan9/src/libc/port/readn.c
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR open (3),
|
||||
|
|
|
|||
|
|
@ -63,9 +63,9 @@ and
|
|||
.I pwritev
|
||||
are the analogous write routines.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9sys/readv.c
|
||||
.B /usr/local/plan9/src/libc/9sys/readv.c
|
||||
.br
|
||||
.B /sys/src/libc/9sys/writev.c
|
||||
.B /usr/local/plan9/src/libc/9sys/writev.c
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR read (3)
|
||||
|
|
|
|||
|
|
@ -194,7 +194,7 @@ fields of the
|
|||
.I match
|
||||
array elements should be used.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libregexp
|
||||
.B /usr/local/plan9/src/libregexp
|
||||
.SH "SEE ALSO"
|
||||
.IR grep (1)
|
||||
.SH DIAGNOSTICS
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ If
|
|||
.I file
|
||||
is a directory, it must be empty.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR remove (5),
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ If a rendezvous is interrupted the return value is
|
|||
.BR ~0 ,
|
||||
so that value should not be used in normal communication.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
.SH SEE ALSO
|
||||
.IR segattach (3),
|
||||
.IR fork (3)
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ and
|
|||
.BI * len
|
||||
is undefined.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libsec
|
||||
.B /usr/local/plan9/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 /sys/src/libc/port/rune.c
|
||||
.B /usr/local/plan9/src/libc/port/rune.c
|
||||
.br
|
||||
.B /sys/src/libc/port/utfrune.c
|
||||
.B /usr/local/plan9/src/libc/port/utfrune.c
|
||||
.SH SEE ALSO
|
||||
.IR utf (6),
|
||||
.IR tcs (1)
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ These functions are rune string analogues of
|
|||
the corresponding functions in
|
||||
.IR strcat (3).
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/port
|
||||
.B /usr/local/plan9/src/libc/port
|
||||
.SH SEE ALSO
|
||||
.IR memory (3),
|
||||
.IR rune (3),
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ All four routines return a pointer to a newly
|
|||
.IR malloc (3)'d
|
||||
object.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libsec
|
||||
.B /usr/local/plan9/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 /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR open (3)
|
||||
|
|
|
|||
|
|
@ -86,9 +86,9 @@ setlabel(void)
|
|||
}
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/$objtype/setjmp.s
|
||||
.B /usr/local/plan9/src/libc/$objtype/setjmp.s
|
||||
.br
|
||||
.B /sys/src/libc/$objtype/notejmp.c
|
||||
.B /usr/local/plan9/src/libc/$objtype/notejmp.c
|
||||
.SH SEE ALSO
|
||||
.IR notify (3)
|
||||
.SH BUGS
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ A zero argument clears the alarm.
|
|||
The return value is the amount of time previously remaining in
|
||||
the alarm clock.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
.SH SEE ALSO
|
||||
.IR intro (3)
|
||||
.SH DIAGNOSTICS
|
||||
|
|
|
|||
|
|
@ -281,14 +281,14 @@ it is not necessary to use
|
|||
.I stat
|
||||
to retrieve the initial values first.
|
||||
.SH SOURCE
|
||||
.TF /sys/src/libc/9syscall
|
||||
.TF /usr/local/plan9/src/libc/9syscall
|
||||
.TP
|
||||
.B /sys/src/libc/9syscall
|
||||
.B /usr/local/plan9/src/libc/9syscall
|
||||
for the
|
||||
.RB non- dir
|
||||
routines
|
||||
.TP
|
||||
.B /sys/src/libc/9sys
|
||||
.B /usr/local/plan9/src/libc/9sys
|
||||
for the routines prefixed
|
||||
.B dir
|
||||
.SH SEE ALSO
|
||||
|
|
|
|||
|
|
@ -243,10 +243,10 @@ returns
|
|||
operates analogously, but ignores ASCII case differences when comparing strings.
|
||||
.SH SOURCE
|
||||
All these routines have portable C implementations in
|
||||
.BR /sys/src/libc/port .
|
||||
.BR /usr/local/plan9/src/libc/port .
|
||||
Many also have machine-dependent assembly language
|
||||
implementations in
|
||||
.BR /sys/src/libc/$objtype .
|
||||
.BR /usr/local/plan9/src/libc/$objtype .
|
||||
.SH SEE ALSO
|
||||
.IR memory (3),
|
||||
.IR rune (3),
|
||||
|
|
|
|||
|
|
@ -231,6 +231,6 @@ will recursively read through files included with
|
|||
and discard all other lines beginning with
|
||||
.BR # .
|
||||
.SH SOURCE
|
||||
.B /sys/src/libString
|
||||
.B /usr/local/plan9/src/libString
|
||||
.SH SEE ALSO
|
||||
.IR bio (3)
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ are analogous, but accept an array of runes rather than
|
|||
.SH FILES
|
||||
.BR /lib/font/bit " directory of fonts
|
||||
.SH SOURCE
|
||||
.B /sys/src/libdraw
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.SH "SEE ALSO"
|
||||
.IR addpt (3),
|
||||
.IR cachechars (3),
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ to
|
|||
.B /lib/font/bit
|
||||
bitmap font file tree
|
||||
.SH SOURCE
|
||||
.B /sys/src/libdraw
|
||||
.B /usr/local/plan9/src/libdraw
|
||||
.SH SEE ALSO
|
||||
.IR graphics (3),
|
||||
.IR allocimage (3),
|
||||
|
|
|
|||
|
|
@ -43,6 +43,14 @@ threadwaitchan,
|
|||
yield \- thread and proc management
|
||||
.SH SYNOPSIS
|
||||
.PP
|
||||
.de EX
|
||||
.nf
|
||||
.ft B
|
||||
..
|
||||
.de EE
|
||||
.fi
|
||||
.ft R
|
||||
..
|
||||
.EX
|
||||
.ta 4n +4n +4n +4n +4n +4n +4n
|
||||
#include <u.h>
|
||||
|
|
@ -66,8 +74,8 @@ struct Alt {
|
|||
};
|
||||
.fi
|
||||
.de XX
|
||||
.ift .sp 0.5
|
||||
.ifn .sp
|
||||
.if t .sp 0.5
|
||||
.if n .sp
|
||||
..
|
||||
.PP
|
||||
.nf
|
||||
|
|
@ -562,15 +570,15 @@ same rendezvous group; do not change the rendezvous
|
|||
group with
|
||||
.IR rfork .
|
||||
.SH FILES
|
||||
.B /sys/lib/acid/thread
|
||||
.B /usr/local/plan9/acid/thread
|
||||
contains useful
|
||||
.IR acid (1)
|
||||
functions for debugging threaded programs.
|
||||
.PP
|
||||
.B /sys/src/libthread/example.c
|
||||
.B /usr/local/plan9/src/libthread/example.c
|
||||
contains a full example program.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libthread
|
||||
.B /usr/local/plan9/src/libthread
|
||||
.SH SEE ALSO
|
||||
.IR intro (3),
|
||||
.IR ioproc (3)
|
||||
|
|
|
|||
|
|
@ -33,9 +33,9 @@ opening that file when
|
|||
.I they
|
||||
are first called.
|
||||
.SH SOURCE
|
||||
.B /sys/src/libc/9sys/time.c
|
||||
.B /usr/local/plan9/src/libc/9sys/time.c
|
||||
.br
|
||||
.B /sys/src/libc/9sys/nsec.c
|
||||
.B /usr/local/plan9/src/libc/9sys/nsec.c
|
||||
.SH SEE ALSO
|
||||
.IR cons (3)
|
||||
.SH DIAGNOSTICS
|
||||
|
|
|
|||
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