ftime appeared in 7th Edition Unix to replace gtime.
Note that the timezone and dst entries are always returned as 0.
This commit is contained in:
parent
16633f3a2d
commit
33b5b3ef75
@ -28,7 +28,7 @@
|
|||||||
.\" @(#)ftime.3 8.1 (Berkeley) 6/4/93
|
.\" @(#)ftime.3 8.1 (Berkeley) 6/4/93
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd June 4, 1993
|
.Dd August 4, 2018
|
||||||
.Dt FTIME 3
|
.Dt FTIME 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -67,9 +67,8 @@ struct timeb
|
|||||||
.Pp
|
.Pp
|
||||||
The structure contains the time since the epoch in seconds,
|
The structure contains the time since the epoch in seconds,
|
||||||
up to 1000 milliseconds of more-precise interval,
|
up to 1000 milliseconds of more-precise interval,
|
||||||
the local time zone (measured in minutes of time westward from Greenwich),
|
The kernel no longer maintains the timezone and dstflag info, so 0 is
|
||||||
and a flag that, if nonzero, indicates that
|
always returned for these fields.
|
||||||
Daylight Saving time applies locally during the appropriate part of the year.
|
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr gettimeofday 2 ,
|
.Xr gettimeofday 2 ,
|
||||||
.Xr settimeofday 2 ,
|
.Xr settimeofday 2 ,
|
||||||
@ -79,4 +78,4 @@ Daylight Saving time applies locally during the appropriate part of the year.
|
|||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
function appeared in
|
function appeared in
|
||||||
.Bx 4.2 .
|
.At v7 .
|
||||||
|
Loading…
Reference in New Issue
Block a user