Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/time Since the argument buf is earlier described as...
details: https://anonhg.NetBSD.org/src/rev/23965f2c611c
branches: trunk
changeset: 347921:23965f2c611c
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Sep 22 23:18:10 2016 +0000
description:
Since the argument buf is earlier described as a buffer, replace all
references to "the array" with "the buffer" for consistency.
Bump date.
diffstat:
lib/libc/time/strftime.3 | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r e057fe9e845e -r 23965f2c611c lib/libc/time/strftime.3
--- a/lib/libc/time/strftime.3 Thu Sep 22 18:22:51 2016 +0000
+++ b/lib/libc/time/strftime.3 Thu Sep 22 23:18:10 2016 +0000
@@ -30,9 +30,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91
-.\" $NetBSD: strftime.3,v 1.30 2013/09/20 19:06:54 christos Exp $
+.\" $NetBSD: strftime.3,v 1.31 2016/09/22 23:18:10 pgoyette Exp $
.\"
-.Dd April 14, 2011
+.Dd September 22, 2016
.Dt STRFTIME 3
.Os
.Sh NAME
@@ -68,14 +68,14 @@
.Pp
No more than
.Fa maxsize
-characters will be placed into the array.
+characters will be placed into the buffer.
If the total number of resulting characters, including the terminating
null character, is not more than
.Fa maxsize ,
.Fn strftime
-returns the number of characters in the array, not counting the
+returns the number of characters in the buffer, not counting the
terminating null.
-Otherwise, zero is returned and the contents of the array are undefined.
+Otherwise, zero is returned and the contents of the buffer are undefined.
.Pp
Each conversion specification is replaced by the characters as
follows which are then copied into the buffer.
Home |
Main Index |
Thread Index |
Old Index