svn commit: r339832 - head/lib/libcompat/4.1

Warner Losh imp at FreeBSD.org
Sun Oct 28 02:58:16 UTC 2018


Author: imp
Date: Sun Oct 28 02:58:15 2018
New Revision: 339832
URL: https://svnweb.freebsd.org/changeset/base/339832

Log:
  ftime appeared in 7th Edition Unix to replace gtime.
  Note that the timezone and dst entries are always returned as 0.

Modified:
  head/lib/libcompat/4.1/ftime.3

Modified: head/lib/libcompat/4.1/ftime.3
==============================================================================
--- head/lib/libcompat/4.1/ftime.3	Sun Oct 28 02:57:50 2018	(r339831)
+++ head/lib/libcompat/4.1/ftime.3	Sun Oct 28 02:58:15 2018	(r339832)
@@ -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 approp
 The
 .Nm
 function appeared in
-.Bx 4.2 .
+.At v7 .


More information about the svn-src-all mailing list