summaryrefslogtreecommitdiff
path: root/lib/libcompat
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-10-28 02:58:15 +0000
committerWarner Losh <imp@FreeBSD.org>2018-10-28 02:58:15 +0000
commit33b5b3ef7506ecd7ec4fc20b9e62ddae15b9a290 (patch)
tree3a81326a1a8048ef63df363100e64effbbc1fbed /lib/libcompat
parent16633f3a2d30b1ec4b95b696f0c431f22b0e5ec6 (diff)
downloadsrc-test-33b5b3ef7506ecd7ec4fc20b9e62ddae15b9a290.tar.gz
src-test-33b5b3ef7506ecd7ec4fc20b9e62ddae15b9a290.zip
ftime appeared in 7th Edition Unix to replace gtime.
Note that the timezone and dst entries are always returned as 0.
Notes
Notes: svn path=/head/; revision=339832
Diffstat (limited to 'lib/libcompat')
-rw-r--r--lib/libcompat/4.1/ftime.39
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libcompat/4.1/ftime.3 b/lib/libcompat/4.1/ftime.3
index 45dd6c4469dad..90cd85fa34dc4 100644
--- a/lib/libcompat/4.1/ftime.3
+++ b/lib/libcompat/4.1/ftime.3
@@ -28,7 +28,7 @@
.\" @(#)ftime.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd August 4, 2018
.Dt FTIME 3
.Os
.Sh NAME
@@ -67,9 +67,8 @@ struct timeb
.Pp
The structure contains the time since the epoch in seconds,
up to 1000 milliseconds of more-precise interval,
-the local time zone (measured in minutes of time westward from Greenwich),
-and a flag that, if nonzero, indicates that
-Daylight Saving time applies locally during the appropriate part of the year.
+The kernel no longer maintains the timezone and dstflag info, so 0 is
+always returned for these fields.
.Sh SEE ALSO
.Xr gettimeofday 2 ,
.Xr settimeofday 2 ,
@@ -79,4 +78,4 @@ Daylight Saving time applies locally during the appropriate part of the year.
The
.Nm
function appeared in
-.Bx 4.2 .
+.At v7 .