aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string/strerror.3
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-12-18 16:53:31 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-12-18 16:53:31 +0000
commit5a98f074e6b1c2d0ab1bbad4cd23e7ac99a1ff2e (patch)
tree16025c382d603596fbc3bf588b0fc5edf45a3c74 /lib/libc/string/strerror.3
parent1dfc1796863c932bb8f87d61001efbdefd385157 (diff)
Notes
Diffstat (limited to 'lib/libc/string/strerror.3')
-rw-r--r--lib/libc/string/strerror.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3
index 93ed9b2448f34..8a840e86e89b1 100644
--- a/lib/libc/string/strerror.3
+++ b/lib/libc/string/strerror.3
@@ -115,7 +115,7 @@ leaves
unchanged and returns
.Er EINVAL .
Error numbers recognized by this implementation fall in
-the range 0 \(<=
+the range 0 \(<
.Fa errnum
<
.Fa sys_nerr .
@@ -169,6 +169,11 @@ For unknown error numbers, the
function will return its result in a static buffer which
may be overwritten by subsequent calls.
.Pp
+The return type for
+.Fn strerror
+is missing a type-qualifier; it should actually be
+.Vt const char * .
+.Pp
The
.Fn perror
function is implemented in terms of