Module Name: src Committed By: pgoyette Date: Thu Sep 22 23:18:11 UTC 2016
Modified Files: src/lib/libc/time: strftime.3 Log Message: Since the argument buf is earlier described as a buffer, replace all references to "the array" with "the buffer" for consistency. Bump date. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/lib/libc/time/strftime.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/time/strftime.3 diff -u src/lib/libc/time/strftime.3:1.30 src/lib/libc/time/strftime.3:1.31 --- src/lib/libc/time/strftime.3:1.30 Fri Sep 20 19:06:54 2013 +++ src/lib/libc/time/strftime.3 Thu Sep 22 23:18:10 2016 @@ -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 @@ and one other character. .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.