mirror of https://github.com/mkerrisk/man-pages
Noted that 0 tm_day == last day of preceding month
This commit is contained in:
parent
462a7bad96
commit
3e53c142b7
|
@ -28,8 +28,9 @@
|
|||
.\" Modified Fri Apr 26 12:38:55 MET DST 1996 by Martin Schulze (joey@linux.de)
|
||||
.\" Modified 2001-11-13, aeb
|
||||
.\" Modified 2001-12-13, joey, aeb
|
||||
.\" Modified 2004-11-16, mtk
|
||||
.\"
|
||||
.TH CTIME 3 2001-12-13 "" "Linux Programmer's Manual"
|
||||
.TH CTIME 3 2004-11-16 "" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
asctime, ctime, gmtime, localtime, mktime, asctime_r, ctime_r, gmtime_r,
|
||||
localtime_r \- transform date and time to broken-down time or ASCII
|
||||
|
@ -203,6 +204,12 @@ and
|
|||
.BR localtime_r()
|
||||
are specified by SUSv2, and available since libc 5.2.5.
|
||||
.LP
|
||||
In many implementations, including
|
||||
.IR glibc ,
|
||||
a 0 in
|
||||
.I tm_mday
|
||||
is interpreted as meaning the last day of the preceding month.
|
||||
.LP
|
||||
The glibc version of struct tm has additional fields
|
||||
.sp
|
||||
.RS
|
||||
|
|
Loading…
Reference in New Issue