Module Name: src
Committed By: dholland
Date: Sat Apr 4 21:20:39 UTC 2020
Modified Files:
src/lib/libc/string: strerror.3
Log Message:
Minor clarification. And a typo. Bump date.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 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.21 src/lib/libc/string/strerror.3:1.22
--- src/lib/libc/string/strerror.3:1.21 Wed Mar 25 18:50:47 2020
+++ src/lib/libc/string/strerror.3 Sat Apr 4 21:20:39 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: strerror.3,v 1.21 2020/03/25 18:50:47 kre Exp $
+.\" $NetBSD: strerror.3,v 1.22 2020/04/04 21:20:39 dholland Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -32,7 +32,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)strerror.3 8.1 (Berkeley) 6/9/93
-.Dd March 24, 2020
+.Dd April 4, 2020
.Dt STRERROR 3
.Os
.Sh NAME
@@ -88,7 +88,7 @@ function renders the same result into
.Fa strerrbuf
for a maximum of
.Fa buflen
-characters and returns 0 upon success.
+characters (including terminator) and returns 0 upon success.
.Pp
The
.Fn strerror_l
@@ -269,7 +269,7 @@ Both
.Fn strerror
and
.Fn strerror_l
-use the same thread local storage, a call to either will destroy
+use the same thread local storage; a call to either will destroy
the result from an earlier call by the same thread of either of them.
.Pp
Programs that use the deprecated