Source-Changes-HG archive

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

[src/netbsd-1-5]: src/lib/libc/time Pull up rev. 1.19 (approved by thorpej):



details:   https://anonhg.NetBSD.org/src/rev/b2644b622886
branches:  netbsd-1-5
changeset: 488448:b2644b622886
user:      kleink <kleink%NetBSD.org@localhost>
date:      Thu Jul 06 16:33:33 2000 +0000

description:
Pull up rev. 1.19 (approved by thorpej):
Note that localtime_r() does not imply tzset().

diffstat:

 lib/libc/time/ctime.3 |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 820424a92960 -r b2644b622886 lib/libc/time/ctime.3
--- a/lib/libc/time/ctime.3     Thu Jul 06 15:34:03 2000 +0000
+++ b/lib/libc/time/ctime.3     Thu Jul 06 16:33:33 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ctime.3,v 1.17 2000/06/05 12:01:47 kleink Exp $
+.\"    $NetBSD: ctime.3,v 1.17.2.1 2000/07/06 16:33:33 kleink Exp $
 .TH CTIME 3
 .SH NAME
 asctime, asctime_r, ctime, ctime_r, difftime, gmtime, gmtime_r, localtime, localtime_r, mktime \- convert date and time to ASCII
@@ -83,7 +83,11 @@
 .I localtime\^
 differing in that the caller must supply a buffer area
 .IR result
-in which the result is stored.
+in which the result is stored; also,
+.I localtime_r\^
+does not imply initialization of the local time conversion information;
+the application may need to do so by calling
+.IR tzset .
 .PP
 .I Asctime\^
 converts a time value contained in a



Home | Main Index | Thread Index | Old Index