Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/time Improve description for tm_year and some other...
details: https://anonhg.NetBSD.org/src/rev/13b3a3ed75f0
branches: trunk
changeset: 494438:13b3a3ed75f0
user: hubertf <hubertf%NetBSD.org@localhost>
date: Thu Jul 06 12:44:31 2000 +0000
description:
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 edf4ec2ffc17 -r 13b3a3ed75f0 lib/libc/time/ctime.3
--- a/lib/libc/time/ctime.3 Thu Jul 06 12:40:19 2000 +0000
+++ b/lib/libc/time/ctime.3 Thu Jul 06 12:44:31 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.18 2000/07/06 12:44:31 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
@@ -167,17 +167,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