aboutsummaryrefslogtreecommitdiffstats
path: root/man3/assert.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/assert.3')
-rw-r--r--man3/assert.39
1 files changed, 8 insertions, 1 deletions
diff --git a/man3/assert.3 b/man3/assert.3
index dfb4763991..0e0418e6f6 100644
--- a/man3/assert.3
+++ b/man3/assert.3
@@ -74,7 +74,14 @@ T} Thread safety MT-Safe
.ad
.sp 1
.SH STANDARDS
-POSIX.1-2001, POSIX.1-2008, C99.
+POSIX.1-2001, POSIX.1-2008, C89, C99.
+In C89,
+.I expression
+is required to be of type
+.I int
+and undefined behavior results if it is not, but in C99
+it may have any scalar type.
+.\" See Defect Report 107 for more details.
.SH BUGS
.BR assert ()
is implemented as a macro; if the expression tested has side-effects,