From 290bb720cda9fe71c0b8134576586f823ba84548 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 30 Dec 2013 19:24:41 +1300 Subject: [PATCH] strptime.3: Add number ranges to comments in 'tm' structure See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729570 Reported-by: Mathieu Malaterre Reported-by: Simon Paillard Signed-off-by: Michael Kerrisk --- man3/strptime.3 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/man3/strptime.3 b/man3/strptime.3 index 1630a7686..c9fd7b57c 100644 --- a/man3/strptime.3 +++ b/man3/strptime.3 @@ -266,15 +266,15 @@ as follows: .in +4n .nf struct tm { - int tm_sec; /* seconds */ - int tm_min; /* minutes */ - int tm_hour; /* hours */ - int tm_mday; /* day of the month */ - int tm_mon; /* month */ - int tm_year; /* year */ - int tm_wday; /* day of the week */ - int tm_yday; /* day in the year */ - int tm_isdst; /* daylight saving time */ + int tm_sec; /* Seconds (0-60) */ + int tm_min; /* Minutes (0-59) */ + int tm_hour; /* Hours (0-23) */ + int tm_mday; /* Day of the month (1-31) */ + int tm_mon; /* Month (0-11) */ + int tm_year; /* Year - 1900 */ + int tm_wday; /* Day of the week (0-6, Sunday = 0) */ + int tm_yday; /* Day in the year (0-365, 1 Jan = 0) */ + int tm_isdst; /* Daylight saving time */ }; .fi .in