diff options
Diffstat (limited to 'share/man/man3/assert.3')
-rw-r--r-- | share/man/man3/assert.3 | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/share/man/man3/assert.3 b/share/man/man3/assert.3 index 6ab5cc4a39a..de72ad0a7e6 100644 --- a/share/man/man3/assert.3 +++ b/share/man/man3/assert.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: assert.3,v 1.4 2000/03/19 19:25:23 aaron Exp $ +.\" $OpenBSD: assert.3,v 1.5 2000/10/26 00:37:03 aaron Exp $ .\" $NetBSD: assert.3,v 1.5 1994/11/30 15:24:30 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -48,10 +48,8 @@ The .Fn assert macro tests the given .Ar expression -and if it is false, -the calling process is terminated. -A -diagnostic message is written to +and if it is false, the calling process is terminated. +A diagnostic message is written to .Em stderr and the .Xr abort 3 @@ -59,16 +57,13 @@ function is called, effectively terminating the program. .Pp If .Ar expression -is true, -the +is true, the .Fn assert macro does nothing. .Pp The .Fn assert -macro -may be removed at compile time with -the +macro may be removed at compile time with the .Xr cc 1 option .Fl DNDEBUG . |