summaryrefslogtreecommitdiffstats
path: root/share/man/man3
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man3')
-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