summaryrefslogtreecommitdiffstats
path: root/share/man/man3/assert.3
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2001-10-24 18:14:51 +0000
committerasmodai <asmodai@FreeBSD.org>2001-10-24 18:14:51 +0000
commit6388e60c124d68bd51989e313f5d69d253bf1445 (patch)
tree461c72685657a70b3a29193e8f57952cb75369ac /share/man/man3/assert.3
parent728aea2684958ddc7c9804bd9e8b53d30b65262f (diff)
downloadFreeBSD-src-6388e60c124d68bd51989e313f5d69d253bf1445.zip
FreeBSD-src-6388e60c124d68bd51989e313f5d69d253bf1445.tar.gz
Document C99 conformity.
Update text which is printed out to reflect reality.
Diffstat (limited to 'share/man/man3/assert.3')
-rw-r--r--share/man/man3/assert.39
1 files changed, 7 insertions, 2 deletions
diff --git a/share/man/man3/assert.3 b/share/man/man3/assert.3
index b13d653..bb23322 100644
--- a/share/man/man3/assert.3
+++ b/share/man/man3/assert.3
@@ -79,11 +79,16 @@ if
.Ar expression
is false:
.Bd -literal -offset indent
-"assertion \e"%s\e" failed: file \e"%s\e", line %d\en", \e
- "expression", __FILE__, __LINE__);
+"assertion (%s) failed: function %s(), file %s:%d\en", \e
+ "expression", __func__, __FILE__, __LINE__);
.Ed
.Sh SEE ALSO
.Xr abort 3
+.Sh STANDARDS
+The
+.Fn assert
+macro confirms to
+.St -isoC-99 .
.Sh HISTORY
An
.Nm
OpenPOWER on IntegriCloud