diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-12-07 01:27:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-12-07 01:27:04 +0000 |
commit | 720a2dbcedb6700c05fbbe99091fc3f4a2fdbd0c (patch) | |
tree | 3d49c2e012cc1eba3a6d4c1978d284ba2a7b51dd /share/man/man3 | |
parent | 6fd76ead89da59cc80f218a0de75f2c2b7088dc3 (diff) |
macro fixes from Kaspars at Bankovskis dot net
Diffstat (limited to 'share/man/man3')
-rw-r--r-- | share/man/man3/assert.3 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/share/man/man3/assert.3 b/share/man/man3/assert.3 index 43d49119eed..84ba907581f 100644 --- a/share/man/man3/assert.3 +++ b/share/man/man3/assert.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: assert.3,v 1.8 2013/06/05 03:42:03 tedu Exp $ +.\" $OpenBSD: assert.3,v 1.9 2014/12/07 01:27:03 schwarze Exp $ .\" $NetBSD: assert.3,v 1.5 1994/11/30 15:24:30 jtc Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)assert.3 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: June 5 2013 $ +.Dd $Mdocdate: December 7 2014 $ .Dt ASSERT 3 .Os .Sh NAME @@ -43,16 +43,16 @@ The .Fn assert macro tests the given -.Ar expression +.Fa expression and if it is false, the calling process is terminated. A diagnostic message is written to -.Em stderr +.Dv stderr and the .Xr abort 3 function is called, effectively terminating the program. .Pp If -.Ar expression +.Fa expression is true, the .Fn assert macro does nothing. @@ -65,9 +65,9 @@ option .Fl DNDEBUG . .Sh DIAGNOSTICS The following diagnostic message is written to -.Em stderr +.Dv stderr if -.Ar expression +.Fa expression is false: .Bd -literal -offset indent "assertion \e"%s\e" failed: file \e"%s\e", line %d\en", \e |