diff --git a/src/lib/libc/string/strerror.3 b/src/lib/libc/string/strerror.3 index 72fb1583..11bacd31 100644 --- a/src/lib/libc/string/strerror.3 +++ b/src/lib/libc/string/strerror.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: strerror.3,v 1.3 1999/05/23 14:11:03 aaron Exp $ +.\" $OpenBSD: strerror.3,v 1.4 2000/10/23 19:14:41 aaron Exp $ .\" .Dd June 29, 1991 .Dt STRERROR 3 @@ -49,7 +49,11 @@ The .Fn strerror function returns a pointer to the language-dependent error message -string affiliated with an error number. +string affiliated with the specified error number +.Fa errnum . +The returned string contains a maximum of +.Dv NL_TEXTMAX +characters, including the trailing NUL. .Pp The array pointed to is not to be modified by the program, but may be overwritten by subsequent calls to