Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/string Minor clarification. And a typo. Bump date.



details:   https://anonhg.NetBSD.org/src/rev/995ab57d3626
branches:  trunk
changeset: 850466:995ab57d3626
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Apr 04 21:20:39 2020 +0000

description:
Minor clarification. And a typo. Bump date.

diffstat:

 lib/libc/string/strerror.3 |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r afc637f9074a -r 995ab57d3626 lib/libc/string/strerror.3
--- a/lib/libc/string/strerror.3        Sat Apr 04 21:17:02 2020 +0000
+++ b/lib/libc/string/strerror.3        Sat Apr 04 21:20:39 2020 +0000
@@ -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 @@
 .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 @@
 .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



Home | Main Index | Thread Index | Old Index