aboutsummaryrefslogtreecommitdiffstats
path: root/man3/strerror.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/strerror.3')
-rw-r--r--man3/strerror.36
1 files changed, 2 insertions, 4 deletions
diff --git a/man3/strerror.3 b/man3/strerror.3
index 37fc95d2a7..ac0c0deeaa 100644
--- a/man3/strerror.3
+++ b/man3/strerror.3
@@ -34,7 +34,7 @@
.\" 2005-12-13, mtk, Substantial rewrite of strerror_r() description
.\" Addition of extra material on portability and standards.
.\"
-.TH STRERROR 3 2009-03-30 "" "Linux Programmer's Manual"
+.TH STRERROR 3 2012-04-22 "" "Linux Programmer's Manual"
.SH NAME
strerror, strerror_r \- return string describing error number
.SH SYNOPSIS
@@ -133,9 +133,7 @@ or an "Unknown error nnn" message if the error number is unknown.
The XSI-compliant
.BR strerror_r ()
function returns 0 on success;
-on error, \-1 is returned and
-.I errno
-is set to indicate the error.
+on error, a (positive) error number is returned.
.SH ERRORS
.TP
.B EINVAL