summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-12-29 14:08:20 +0000
committerru <ru@FreeBSD.org>2000-12-29 14:08:20 +0000
commit8ba41876884256f20dce333e0a239a8555ee2670 (patch)
tree406fdc6bd2e9339a476078f0728594ca5e4102f4 /lib/libstand
parentf6aeda2758e1076d8ebfb1ef7f190c7f3ed5fb8a (diff)
downloadFreeBSD-src-8ba41876884256f20dce333e0a239a8555ee2670.zip
FreeBSD-src-8ba41876884256f20dce333e0a239a8555ee2670.tar.gz
Prepare for mdoc(7)NG.
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/libstand.316
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libstand/libstand.3 b/lib/libstand/libstand.3
index 204a88f..7cef82c 100644
--- a/lib/libstand/libstand.3
+++ b/lib/libstand/libstand.3
@@ -181,31 +181,31 @@ The
.Li b
conversion is provided to decode error registers. Its usage is:
.Pp
-.Bd -offset indent
+.Bd -ragged -offset indent
printf(
.Qq reg=%b\en ,
regval,
.Qq <base><arg>*
);
.Ed
-
+.Pp
where <base> is the output expressed as a control character, eg. \e10 gives
octal, \e20 gives hex. Each <arg> is a sequence of characters, the first of
which gives the bit number to be inspected (origin 1) and the next characters
(up to a character less than 32) give the text to be displayed if the bit is set.
Thus
.Pp
-.Bd -offset indent
+.Bd -ragged -offset indent
printf(
.Qq reg=%b\en
3
.Qq \e10\e2BITTWO\e1BITONE\en
);
.Ed
-
+.Pp
would give the output
.Pp
-.Bd -offset indent
+.Bd -ragged -offset indent
reg=3<BITTWO,BITONE>
.Ed
.Pp
@@ -213,15 +213,15 @@ The
.Li D
conversion provides a hexdump facility, eg.
.Pp
-.Bd -offset indent -literal
+.Bd -ragged -offset indent
printf(
.Qq %6D ,
ptr,
-.Qq \:
+.Qq \&:
); gives
.Qq XX:XX:XX:XX:XX:XX
.Ed
-.Bd -offset indent -literal
+.Bd -ragged -offset indent
printf(
.Qq %*D ,
len,
OpenPOWER on IntegriCloud