summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2005-07-29 13:14:49 +0000
committerwiz <wiz@NetBSD.org>2005-07-29 13:14:49 +0000
commit3ecc9e2ea3f047b1f48b8a3ab280d5b7d875fba5 (patch)
tree05bdadc3cf61b1d32feac2429e62c485876beb14 /lib/libc/string
parentad858fce1ad36c800c42b7dd58c2d54d936f1c0d (diff)
< -> \*[Lt], end sentence with a dot, add comma
in enumeration, add RCS Id (lost in previous), fix numbering of license clauses (broken in previous).
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strerror.314
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3
index 4dba71eecad..ccffc103c4c 100644
--- a/lib/libc/string/strerror.3
+++ b/lib/libc/string/strerror.3
@@ -1,3 +1,5 @@
+.\" $NetBSD: strerror.3,v 1.12 2005/07/29 13:14:49 wiz Exp $
+.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -13,7 +15,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\" 4. Neither the name of the University nor the names of its contributors
+.\" 3. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
@@ -57,11 +59,11 @@
.Sh DESCRIPTION
The
.Fn strerror ,
-.Fn strerror_r
+.Fn strerror_r ,
and
.Fn perror
functions look up the language-dependent error message
-string corresponding with an error number.
+string corresponding to an error number.
.Pp
The
.Fn strerror
@@ -109,9 +111,9 @@ functions return
.Er EINVAL
as a warning.
Error numbers recognized by this implementation fall in
-the range 0 <
+the range 0 \*[Lt]
.Fa errnum
-<
+\*[Lt]
.Fa sys_nerr .
.Pp
If insufficient storage is provided in
@@ -165,7 +167,7 @@ functions first appeared in
The
.Fn strerror_r
function first appeared in
-.Nx 4.0
+.Nx 4.0 .
.Sh BUGS
For unknown error numbers, the
.Fn strerror