svn commit: r362165 - head/contrib/tzcode/stdtime
Gordon Bergling
gbe at FreeBSD.org
Sun Jun 14 05:08:15 UTC 2020
Author: gbe (doc committer)
Date: Sun Jun 14 05:08:15 2020
New Revision: 362165
URL: https://svnweb.freebsd.org/changeset/base/362165
Log:
Add a HISTORY section to ctime(3)
Reviewed by: bcr (mentor)
Approved by: bcr (mentor)
Obtained from: OpenBSD
MFC after: 7 days
Differential Revision: https://reviews.freebsd.org/D24635
Modified:
head/contrib/tzcode/stdtime/ctime.3
Modified: head/contrib/tzcode/stdtime/ctime.3
==============================================================================
--- head/contrib/tzcode/stdtime/ctime.3 Sun Jun 14 01:22:19 2020 (r362164)
+++ head/contrib/tzcode/stdtime/ctime.3 Sun Jun 14 05:08:15 2020 (r362165)
@@ -335,6 +335,33 @@ the time package contributed to Berkeley by
.An Arthur Olson
and which appeared in
.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
Except for
.Fn difftime ,
More information about the svn-src-all
mailing list