Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/string Add missing ERRORS section.
details: https://anonhg.NetBSD.org/src/rev/f615e7a01f69
branches: trunk
changeset: 850470:f615e7a01f69
user: dholland <dholland%NetBSD.org@localhost>
date: Sat Apr 04 21:26:44 2020 +0000
description:
Add missing ERRORS section.
diffstat:
lib/libc/string/strerror.3 | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r dd89b56d9510 -r f615e7a01f69 lib/libc/string/strerror.3
--- a/lib/libc/string/strerror.3 Sat Apr 04 21:26:16 2020 +0000
+++ b/lib/libc/string/strerror.3 Sat Apr 04 21:26:44 2020 +0000
@@ -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 @@
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 ,
Home |
Main Index |
Thread Index |
Old Index