https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204529

--- Comment #1 from Michael Cress <michael.cr...@cress.us> ---
Looking at time.h on Linux, I see

struct tm
{
  int tm_sec;                   /* Seconds.     [0-60] (1 leap second) */
.
.
.
  int tm_yday;                  /* Days in year.[0-365] */
.
.
}

So, it seems the 0-60 range is due to a leap second. I am assuming that the
0-365 range is due to leap year range also. Can the struct time be modified to
include documentation about this for tm_sec and tm_yday?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to