.EE
.PP
Play a MIDI stream from a USB device (see
-.BR usb (3)):
+.IR usb (3)):
.IP
.EX
% games/wadfs /sys/games/lib/doom/doom2.wad >[2]/dev/null
Create a patch
.I WAD
(see
-.BR wadfs (4))
+.IR wadfs (4))
replacing a sky texture.
First, create a 256x128 image, mirror it, and convert it for use with
-.BR tweak (1).
+.IR tweak (1).
.IP
.EX
% png -9t tuttleglenda.png \\
.EE
.PP
Next, use
-.BR tweak (1)
+.IR tweak (1)
to tile the 128x128 picture.
Then, mount an
.I IWAD
.I buf
is gived by
.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
.B /sys/src/libc/9sys/idn.c
.SH "SEE ALSO"
.B /lib/rfc/rfc5890
.br
.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.
it returns the corresponding contour (counting from zero), storing a pointer to a list of (\fIx\fR, \fIy\fR) pairs in
.BR *fp .
The array is allocated with
-.BR malloc (2).
+.IR malloc (2).
The (always odd) number of points is stored in
.BR *np .
The contours correspond to closed quadratic Bézier curves and the points with odd indices are the control points.
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).
+.PD
.PP
Writes to the
.B map
\fL*ack\fR
Not an actual exit, but acknowledgement that an interrupt request (IRQ) was posted.
+.PD
.PP
The
.B fpregs
.B /sys/src/cmd/truetypefs.c
.SH SEE ALSO
.IR ttf (2),
-.IR font(6),
-.IR subfont(2)
+.IR font (6),
+.IR subfont (2)
.SH HISTORY
.I Truetypefs
first appeared in 9front (October, 2018).
.SS \fLramdisk\fIX\fL=\fIsize sectorsize\fP
.SS \fLramdisk\fIX\fL=\fIaddress size sectorsize\fP
This reserves physical memory as a ramdisk that will appear as
-.IR sd(3)
+.IR sd (3)
device \fLsdZ\fIX\fR.
When the
.I address