aboutsummaryrefslogtreecommitdiffstats
path: root/man3/assert.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/assert.3')
-rw-r--r--man3/assert.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/assert.3 b/man3/assert.3
index 1fd6287e05..9f3c2f4dd7 100644
--- a/man3/assert.3
+++ b/man3/assert.3
@@ -37,13 +37,13 @@ If the macro
was defined at the moment
.B <assert.h>
was last included, the macro
-.B assert()
+.BR assert ()
generates no code, and hence does nothing at all.
Otherwise, the macro
-.B assert()
+.BR assert ()
prints an error message to standard error and terminates the program
by calling
-.B abort()
+.BR abort ()
if
.I expression
is false (i.e., compares equal to zero).
@@ -62,7 +62,7 @@ and undefined behavior results if it is not, but in the 1999 standard
it may have any scalar type.
.\" See Defect Report 107 for more details.
.SH BUGS
-.B assert()
+.BR assert ()
is implemented as a macro; if the expression tested has side-effects,
program behaviour will be different depending on whether
.B NDEBUG