misc small manpage fixes

This commit is contained in:
qwx 2018-10-28 00:05:05 +02:00
parent d81f4d4866
commit d74fdfc022
7 changed files with 16 additions and 14 deletions

View file

@ -64,7 +64,7 @@ createfile SW18_7: file already exists
.EE .EE
.PP .PP
Play a MIDI stream from a USB device (see Play a MIDI stream from a USB device (see
.BR usb (3)): .IR usb (3)):
.IP .IP
.EX .EX
% games/wadfs /sys/games/lib/doom/doom2.wad >[2]/dev/null % games/wadfs /sys/games/lib/doom/doom2.wad >[2]/dev/null

View file

@ -59,10 +59,10 @@ by default.
Create a patch Create a patch
.I WAD .I WAD
(see (see
.BR wadfs (4)) .IR wadfs (4))
replacing a sky texture. replacing a sky texture.
First, create a 256x128 image, mirror it, and convert it for use with First, create a 256x128 image, mirror it, and convert it for use with
.BR tweak (1). .IR tweak (1).
.IP .IP
.EX .EX
% png -9t tuttleglenda.png \\ % png -9t tuttleglenda.png \\
@ -73,7 +73,7 @@ First, create a 256x128 image, mirror it, and convert it for use with
.EE .EE
.PP .PP
Next, use Next, use
.BR tweak (1) .IR tweak (1)
to tile the 128x128 picture. to tile the 128x128 picture.
Then, mount an Then, mount an
.I IWAD .I IWAD

View file

@ -37,15 +37,15 @@ The maximum size of
.I buf .I buf
is gived by is gived by
.IR nbuf . .IR nbuf .
.SH DIAGNOSTICS
The return value is the number of bytes (excluding the terminating NULL) in
.I buf
or
.B -1
on failure.
.SH SOURCE .SH SOURCE
.B /sys/src/libc/9sys/idn.c .B /sys/src/libc/9sys/idn.c
.SH "SEE ALSO" .SH "SEE ALSO"
.B /lib/rfc/rfc5890 .B /lib/rfc/rfc5890
.br .br
.IR utf (6) .IR utf (6)
.SH DIAGNOSTICS
The return value is the number of bytes (excluding the terminating NULL) in
.I buf
or
.B -1
on failure.

View file

@ -121,7 +121,7 @@ Given an index
it returns the corresponding contour (counting from zero), storing a pointer to a list of (\fIx\fR, \fIy\fR) pairs in it returns the corresponding contour (counting from zero), storing a pointer to a list of (\fIx\fR, \fIy\fR) pairs in
.BR *fp . .BR *fp .
The array is allocated with The array is allocated with
.BR malloc (2). .IR malloc (2).
The (always odd) number of points is stored in The (always odd) number of points is stored in
.BR *np . .BR *np .
The contours correspond to closed quadratic Bézier curves and the points with odd indices are the control points. The contours correspond to closed quadratic Bézier curves and the points with odd indices are the control points.

View file

@ -74,6 +74,7 @@ starting at \fIoffset\fR.
The \fIaccess\fR field specifies the permitted types of access using the characters \fLr\fR (read), \fLw\fR (write), \fLx\fR (execute) and \fL-\fR (padding character). The \fIaccess\fR field specifies the permitted types of access using the characters \fLr\fR (read), \fLw\fR (write), \fLx\fR (execute) and \fL-\fR (padding character).
The \fIcache\fR field specifies the cacheability of the region, it must be one of \fLuc\fR, \fLwc\fR, \fLwt\fR, \fLwp\fR and \fLwb\fR (as defined in the Intel SDM). The \fIcache\fR field specifies the cacheability of the region, it must be one of \fLuc\fR, \fLwc\fR, \fLwt\fR, \fLwp\fR and \fLwb\fR (as defined in the Intel SDM).
.PD
.PP .PP
Writes to the Writes to the
.B map .B map
@ -133,6 +134,7 @@ The virtual CPU attempted to execute the instruction \fIinstr\fR.
\fL*ack\fR \fL*ack\fR
Not an actual exit, but acknowledgement that an interrupt request (IRQ) was posted. Not an actual exit, but acknowledgement that an interrupt request (IRQ) was posted.
.PD
.PP .PP
The The
.B fpregs .B fpregs

View file

@ -43,8 +43,8 @@ acme -c 1 /lib/glass
.B /sys/src/cmd/truetypefs.c .B /sys/src/cmd/truetypefs.c
.SH SEE ALSO .SH SEE ALSO
.IR ttf (2), .IR ttf (2),
.IR font(6), .IR font (6),
.IR subfont(2) .IR subfont (2)
.SH HISTORY .SH HISTORY
.I Truetypefs .I Truetypefs
first appeared in 9front (October, 2018). first appeared in 9front (October, 2018).

View file

@ -499,7 +499,7 @@ to use as a root device for bootstrapping.
.SS \fLramdisk\fIX\fL=\fIsize sectorsize\fP .SS \fLramdisk\fIX\fL=\fIsize sectorsize\fP
.SS \fLramdisk\fIX\fL=\fIaddress size sectorsize\fP .SS \fLramdisk\fIX\fL=\fIaddress size sectorsize\fP
This reserves physical memory as a ramdisk that will appear as This reserves physical memory as a ramdisk that will appear as
.IR sd(3) .IR sd (3)
device \fLsdZ\fIX\fR. device \fLsdZ\fIX\fR.
When the When the
.I address .I address