summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-26 23:33:40 +0000
committerobrien <obrien@FreeBSD.org>2000-11-26 23:33:40 +0000
commit21353e6b13df66a9bbad2bd710946ba1eba551fd (patch)
tree0262b9be3220be0f0cd5fdfc50fc71c24430a02b /lib/libc/gen
parent229c4409448cfa75f1fadf65bac9a37db2727cb4 (diff)
downloadFreeBSD-src-21353e6b13df66a9bbad2bd710946ba1eba551fd.zip
FreeBSD-src-21353e6b13df66a9bbad2bd710946ba1eba551fd.tar.gz
Note that the `fmt' parameter is a printf()-like string.
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/err.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/gen/err.3 b/lib/libc/gen/err.3
index 413441b..ba3ec76 100644
--- a/lib/libc/gen/err.3
+++ b/lib/libc/gen/err.3
@@ -97,7 +97,9 @@ In all cases, the last component of the program name, a colon character,
and a space are output.
If the
.Fa fmt
-argument is not NULL, the formatted error message is output.
+argument is not NULL, the
+.Xr printf 3
+-like formatted error message is output.
The output is terminated by a newline character.
.Pp
The
@@ -205,6 +207,7 @@ if (error != 0)
.Ed
.Sh SEE ALSO
.Xr exit 3 ,
+.Xr printf 3 ,
.Xr strerror 3
.Sh HISTORY
The
OpenPOWER on IntegriCloud