Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/time note that the contents of the array are undefi...



details:   https://anonhg.NetBSD.org/src/rev/0d480d75d72e
branches:  trunk
changeset: 535417:0d480d75d72e
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sun Aug 18 06:31:09 2002 +0000

description:
note that the contents of the array are undefined in the error case.

diffstat:

 lib/libc/time/strftime.3 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 3d6293bf8694 -r 0d480d75d72e lib/libc/time/strftime.3
--- a/lib/libc/time/strftime.3  Sun Aug 18 06:27:49 2002 +0000
+++ b/lib/libc/time/strftime.3  Sun Aug 18 06:31:09 2002 +0000
@@ -34,7 +34,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     from: @(#)strftime.3   5.12 (Berkeley) 6/29/91
-.\"    $NetBSD: strftime.3,v 1.14 2002/08/18 06:27:49 yamt Exp $
+.\"    $NetBSD: strftime.3,v 1.15 2002/08/18 06:31:09 yamt Exp $
 .\"
 .Dd August 18, 2002
 .Dt STRFTIME 3
@@ -76,7 +76,7 @@
 .Fn strftime
 returns the number of characters in the array, not counting the
 terminating null.
-Otherwise, zero is returned.
+Otherwise, zero is returned and the contents of the array 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