summaryrefslogtreecommitdiffstats
path: root/share/man/man3/assert.3
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1999-01-26 16:59:02 +0000
committerwollman <wollman@FreeBSD.org>1999-01-26 16:59:02 +0000
commitf66279e2703bd45d4a21b8f598c7b437eb57a460 (patch)
tree1d69dbf6203abf9fac7fdc1c1b86f5ed677589f0 /share/man/man3/assert.3
parent2c7a659171548f8f3fbf784fb3407ff01a02dbaa (diff)
downloadFreeBSD-src-f66279e2703bd45d4a21b8f598c7b437eb57a460.zip
FreeBSD-src-f66279e2703bd45d4a21b8f598c7b437eb57a460.tar.gz
Fix typo by rewriting sentence.
Diffstat (limited to 'share/man/man3/assert.3')
-rw-r--r--share/man/man3/assert.318
1 files changed, 10 insertions, 8 deletions
diff --git a/share/man/man3/assert.3 b/share/man/man3/assert.3
index 8acea06..04c5a0e 100644
--- a/share/man/man3/assert.3
+++ b/share/man/man3/assert.3
@@ -30,9 +30,9 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)assert.3 8.1 (Berkeley) 6/9/93
-.\" $Id: assert.3,v 1.3 1997/03/07 03:27:51 jmg Exp $
+.\" $Id: assert.3,v 1.4 1998/01/02 19:22:50 alex Exp $
.\"
-.Dd June 9, 1993
+.Dd January 26, 1999
.Dt ASSERT 3
.Os
.Sh NAME
@@ -49,7 +49,7 @@ macro tests the given
and if it is false,
the calling process is terminated.
A
-diagnostic message is written to the
+diagnostic message is written to
.Em stderr
and the function
.Xr abort 3
@@ -65,11 +65,13 @@ macro does nothing.
The
.Fn assert
macro
-may be removed at compile time with
-the
-.Fl NDEBUG
-option, see
-.Xr cc 1 .
+may be removed at compile time by defining
+.Dv NDEBUG
+as a macro
+(e.g., by using the
+.Xr cc 1
+option
+.Fl D Ns Dv NDEBUG ) .
.Sh DIAGNOSTICS
The following diagnostic message is written to
.Em stderr
OpenPOWER on IntegriCloud