diff options
author | 2014-12-07 01:27:03 +0000 | |
---|---|---|
committer | 2014-12-07 01:27:03 +0000 | |
commit | 79c8682ec360280885e176963adeb1aff55789c8 (patch) | |
tree | b7f20c53e1b2a3fd94d357ee0d0e3eec8a729757 | |
parent | Do not install function(1), it is just an outdated copy of perlfunc(1). (diff) | |
download | wireguard-openbsd-79c8682ec360280885e176963adeb1aff55789c8.tar.xz wireguard-openbsd-79c8682ec360280885e176963adeb1aff55789c8.zip |
macro fixes from Kaspars at Bankovskis dot net
-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 |