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.18 into 1.5 branch, OK'd b...
details: https://anonhg.NetBSD.org/src/rev/87e4e983abe6
branches: netbsd-1-5
changeset: 488557:87e4e983abe6
user: hubertf <hubertf%NetBSD.org@localhost>
date: Tue Jul 18 00:16:21 2000 +0000
description:
Pull up rev. 1.18 into 1.5 branch, OK'd by thorpej:
> Improve description for tm_year and some other fields.
> May prevent PRs like 10521 in the future.
diffstat:
lib/libc/time/ctime.3 | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (35 lines):
diff -r 3ac1e6dbb73f -r 87e4e983abe6 lib/libc/time/ctime.3
--- a/lib/libc/time/ctime.3 Tue Jul 18 00:14:30 2000 +0000
+++ b/lib/libc/time/ctime.3 Tue Jul 18 00:16:21 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ctime.3,v 1.17.2.1 2000/07/06 16:33:33 kleink Exp $
+.\" $NetBSD: ctime.3,v 1.17.2.2 2000/07/18 00:16:21 hubertf 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
@@ -171,17 +171,17 @@
.PP
.nf
.ta .5i +\w'long tm_gmtoff;\0\0'u
- int tm_sec; /\(** seconds (0 - 61) \(**/
- int tm_min; /\(** minutes (0 - 59) \(**/
- int tm_hour; /\(** hours (0 - 23) \(**/
- int tm_mday; /\(** day of month (1 - 31) \(**/
- int tm_mon; /\(** month of year (0 - 11) \(**/
- int tm_year; /\(** year \- 1900 \(**/
+ int tm_sec; /\(** seconds after the minute (0 - 61) \(**/
+ int tm_min; /\(** minutes after the hour (0 - 59) \(**/
+ int tm_hour; /\(** hours since midnight (0 - 23) \(**/
+ int tm_mday; /\(** day of the month (1 - 31) \(**/
+ int tm_mon; /\(** months since January (0 - 11) \(**/
+ int tm_year; /\(** years since 1900 \(**/
int tm_wday; /\(** day of week (Sunday = 0) \(**/
- int tm_yday; /\(** day of year (0 - 365) \(**/
+ int tm_yday; /\(** day of year (0 - 365, 0 = Jan 1) \(**/
int tm_isdst; /\(** is summer time in effect? \(**/
+ long tm_gmtoff; /\(** offset from UTC in seconds \(**/
char \(**tm_zone; /\(** abbreviation of timezone name \(**/
- long tm_gmtoff; /\(** offset from UTC in seconds \(**/
.fi
.RE
.PP
Home |
Main Index |
Thread Index |
Old Index