Deleted Added
full compact
time2posix.3 (84306) time2posix.3 (141846)
1.\" $FreeBSD: head/lib/libc/stdtime/time2posix.3 84306 2001-10-01 16:09:29Z ru $
1.\" $FreeBSD: head/lib/libc/stdtime/time2posix.3 141846 2005-02-13 22:25:33Z ru $
2.\"
3.Dd May 1, 1996
4.Dt TIME2POSIX 3
5.Os
6.Sh NAME
7.Nm time2posix ,
8.Nm posix2time
9.Nd convert seconds since the Epoch

--- 63 unchanged lines hidden (view full) ---

73That is,
74every local time_t
75corresponds to a single POSIX time_t.
76The
77.Fn posix2time
78function is less well-behaved:
79for a positive leap second hit the result is not unique,
80and for a negative leap second hit the corresponding
2.\"
3.Dd May 1, 1996
4.Dt TIME2POSIX 3
5.Os
6.Sh NAME
7.Nm time2posix ,
8.Nm posix2time
9.Nd convert seconds since the Epoch

--- 63 unchanged lines hidden (view full) ---

73That is,
74every local time_t
75corresponds to a single POSIX time_t.
76The
77.Fn posix2time
78function is less well-behaved:
79for a positive leap second hit the result is not unique,
80and for a negative leap second hit the corresponding
81POSIX time_t doesn't exist so an adjacent value is returned.
81POSIX time_t does not exist so an adjacent value is returned.
82Both of these are good indicators of the inferiority of the
83POSIX representation.
84.Pp
85The following table summarizes the relationship between time_t
86and its conversion to,
87and back from,
88the POSIX representation over the leap second inserted at the end of June,
891993.

--- 31 unchanged lines hidden ---
82Both of these are good indicators of the inferiority of the
83POSIX representation.
84.Pp
85The following table summarizes the relationship between time_t
86and its conversion to,
87and back from,
88the POSIX representation over the leap second inserted at the end of June,
891993.

--- 31 unchanged lines hidden ---