summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-03-05 08:42:22 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-03-05 08:42:22 +0000
commit80eb52b12a46b8fbae091f89d1b1f63bec145693 (patch)
tree6beb3aa20abe49318e57ae7e5d622588b7fceed2 /lib/libc
parentdcb07e3d2a4093b9dbbf0ed03cc43a50cff48d1b (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/err.37
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/gen/err.3 b/lib/libc/gen/err.3
index 22f700e02b00..f0303c0a785e 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
@@ -114,7 +116,7 @@ functions append an error message obtained from
.Xr strerror 3
based on a code or the global variable
.Va errno ,
-preceeded by another colon and space unless the
+preceded by another colon and space unless the
.Fa fmt
argument is
.Dv NULL .
@@ -205,6 +207,7 @@ if (error != 0)
.Ed
.Sh SEE ALSO
.Xr exit 3 ,
+.Xr printf 3 ,
.Xr strerror 3
.Sh HISTORY
The