summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authormikel <mikel@NetBSD.org>1997-02-21 07:44:50 +0000
committermikel <mikel@NetBSD.org>1997-02-21 07:44:50 +0000
commit28acf64f40d1b937397dbc19ce8d8182c6524327 (patch)
treeea661337127708eb6a022b86219a35db81540f17 /lib/libc
parent2eff5a60599a367f32a9eabda5f68c0e98805f57 (diff)
clarify what is printed; from Arne Henrik Juul in PR 3242, with some
minor editing by myself.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/err.311
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/gen/err.3 b/lib/libc/gen/err.3
index be7f3a8c5e4..b6a86bc7c01 100644
--- a/lib/libc/gen/err.3
+++ b/lib/libc/gen/err.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: err.3,v 1.5 1995/02/25 13:40:57 cgd Exp $
+.\" $NetBSD: err.3,v 1.6 1997/02/21 07:44:50 mikel Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -74,9 +74,8 @@ error output.
In all cases, the last component of the program name, a colon character,
and a space are output.
If the
-.Va fmt
-argument is not NULL, the formatted error message, a colon character,
-and a space are output.
+.Fa fmt
+argument is not NULL, the formatted error message is output.
In the case of the
.Fn err ,
.Fn verr ,
@@ -86,7 +85,9 @@ and
functions, the error message string affiliated with the current value of
the global variable
.Va errno
-is output.
+is output next, preceded by a colon character and a space if
+.Fa fmt
+is not NULL.
In all cases, the output is followed by a newline character.
.Pp
The