summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-11-20 15:17:51 +0000
committerru <ru@FreeBSD.org>2001-11-20 15:17:51 +0000
commit64b01380e16472e81ed801a57c2445a4beb479db (patch)
treea15878bcf0fafc7e1979af7540a9a112512d99c1 /share
parent0deda355ca088d2b003b255004322b3d3359bdc5 (diff)
downloadFreeBSD-src-64b01380e16472e81ed801a57c2445a4beb479db.zip
FreeBSD-src-64b01380e16472e81ed801a57c2445a4beb479db.tar.gz
mdoc(7) police: one-line literal displays are faster.
Diffstat (limited to 'share')
-rw-r--r--share/man/man3/assert.310
1 files changed, 4 insertions, 6 deletions
diff --git a/share/man/man3/assert.3 b/share/man/man3/assert.3
index ec74ae3..e30323e 100644
--- a/share/man/man3/assert.3
+++ b/share/man/man3/assert.3
@@ -74,14 +74,12 @@ option
.Fl D Ns Dv NDEBUG ) .
.Sh EXAMPLES
The assertion:
-.Bd -literal -offset indent
-assert(1 == 0);
-.Ed
+.Pp
+.Dl "assert(1 == 0);"
.Pp
generates a diagnostic message similar to the following:
-.Bd -literal -offset indent
-assertion (1 == 0) failed: function main(), file assertion.c:100
-.Ed
+.Pp
+.Dl "assertion (1 == 0) failed: function main(), file assertion.c:100"
.Sh SEE ALSO
.Xr abort 3
.Sh STANDARDS
OpenPOWER on IntegriCloud