summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/string/strerror.38
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libc/string/strerror.3 b/src/lib/libc/string/strerror.3
index 72fb158388..11bacd313e 100644
--- a/src/lib/libc/string/strerror.3
+++ b/src/lib/libc/string/strerror.3
@@ -33,7 +33,7 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: strerror.3,v 1.3 1999/05/23 14:11:03 aaron Exp $ 36.\" $OpenBSD: strerror.3,v 1.4 2000/10/23 19:14:41 aaron Exp $
37.\" 37.\"
38.Dd June 29, 1991 38.Dd June 29, 1991
39.Dt STRERROR 3 39.Dt STRERROR 3
@@ -49,7 +49,11 @@
49The 49The
50.Fn strerror 50.Fn strerror
51function returns a pointer to the language-dependent error message 51function returns a pointer to the language-dependent error message
52string affiliated with an error number. 52string affiliated with the specified error number
53.Fa errnum .
54The returned string contains a maximum of
55.Dv NL_TEXTMAX
56characters, including the trailing NUL.
53.Pp 57.Pp
54The array pointed to is not to be modified by the program, but may be 58The array pointed to is not to be modified by the program, but may be
55overwritten by subsequent calls to 59overwritten by subsequent calls to