summaryrefslogtreecommitdiff
path: root/contrib/tzcode
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2020-06-14 05:08:15 +0000
committerGordon Bergling <gbe@FreeBSD.org>2020-06-14 05:08:15 +0000
commit5e3ca52e78b4b1a8015d6e27019160eff8e49d64 (patch)
treefd6dc511af76191e41f22a5af9ca343ac54f4c1f /contrib/tzcode
parent9d6fc9963e9169e8d993f475c9db23875f70323b (diff)
downloadsrc-test-5e3ca52e78b4b1a8015d6e27019160eff8e49d64.tar.gz
src-test-5e3ca52e78b4b1a8015d6e27019160eff8e49d64.zip
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
Notes
Notes: svn path=/head/; revision=362165
Diffstat (limited to 'contrib/tzcode')
-rw-r--r--contrib/tzcode/stdtime/ctime.327
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/tzcode/stdtime/ctime.3 b/contrib/tzcode/stdtime/ctime.3
index 8fa2f13d6379f..a23dc3dca8a49 100644
--- a/contrib/tzcode/stdtime/ctime.3
+++ b/contrib/tzcode/stdtime/ctime.3
@@ -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 ,