Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/tzcode/stdtime/ctime.3
Show First 20 Lines • Show All 329 Lines • ▼ Show 20 Lines | |||||
function is not specified by any standard; its function cannot be | function is not specified by any standard; its function cannot be | ||||
completely emulated using the standard functions described above. | completely emulated using the standard functions described above. | ||||
.Sh HISTORY | .Sh HISTORY | ||||
This manual page is derived from | This manual page is derived from | ||||
the time package contributed to Berkeley by | the time package contributed to Berkeley by | ||||
.An Arthur Olson | .An Arthur Olson | ||||
and which appeared in | and which appeared in | ||||
.Bx 4.3 . | .Bx 4.3 . | ||||
.Pp | |||||
The functions | |||||
.Fn asctime , | |||||
.Fn gmtime , | |||||
and | |||||
.Fn localtime | |||||
first appeared in | |||||
.At v5 , | |||||
.Fn difftime | |||||
and | |||||
.Fn mktime | |||||
in | |||||
.Bx 4.3 Reno , | |||||
and | |||||
.Fn timegm | |||||
and | |||||
.Fn timelocal | |||||
in SunOS 4.0. | |||||
.Pp | |||||
The functions | |||||
.Fn asctime_r , | |||||
.Fn ctime_r , | |||||
.Fn gmtime_r , | |||||
and | |||||
.Fn localtime_r | |||||
have been available since | |||||
.Fx 8.0 . | |||||
.Sh BUGS | .Sh BUGS | ||||
Except for | Except for | ||||
.Fn difftime , | .Fn difftime , | ||||
.Fn mktime , | .Fn mktime , | ||||
and the | and the | ||||
.Fn \&_r | .Fn \&_r | ||||
variants of the other functions, | variants of the other functions, | ||||
these functions leave their result in an internal static object and return | these functions leave their result in an internal static object and return | ||||
Show All 29 Lines |