Module Name: src Committed By: dholland Date: Sat Apr 4 21:26:44 UTC 2020
Modified Files: src/lib/libc/string: strerror.3 Log Message: Add missing ERRORS section. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/lib/libc/string/strerror.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/string/strerror.3 diff -u src/lib/libc/string/strerror.3:1.22 src/lib/libc/string/strerror.3:1.23 --- src/lib/libc/string/strerror.3:1.22 Sat Apr 4 21:20:39 2020 +++ src/lib/libc/string/strerror.3 Sat Apr 4 21:26:44 2020 @@ -1,4 +1,4 @@ -.\" $NetBSD: strerror.3,v 1.22 2020/04/04 21:20:39 dholland Exp $ +.\" $NetBSD: strerror.3,v 1.23 2020/04/04 21:26:44 dholland Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -209,6 +209,15 @@ The use of these variables is deprecated one of the .Fn strerror family of functions should be used instead. +.Sh ERRORS +These functions may fail if: +.Bl -tag -width Er +.It Bq Er EINVAL +The error number was out of range. +.It Bq Er ERANGE +The string buffer supplied was not large enough to hold the complete +error message. +.El .Sh SEE ALSO .Xr intro 2 , .Xr err 3 ,