Improve description for tm_year and some other fields.
May prevent PRs like 10521 in the future.
This commit is contained in:
parent
5872028b21
commit
7570e9053d
@ -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 @@ includes the following fields:
|
||||
.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? \(**/
|
||||
char \(**tm_zone; /\(** abbreviation of timezone name \(**/
|
||||
long tm_gmtoff; /\(** offset from UTC in seconds \(**/
|
||||
char \(**tm_zone; /\(** abbreviation of timezone name \(**/
|
||||
.fi
|
||||
.RE
|
||||
.PP
|
||||
|
Loading…
Reference in New Issue
Block a user