]> git.saurik.com Git - apple/libc.git/blob - stdtime/FreeBSD/ftime.3.patch
Libc-498.tar.gz
[apple/libc.git] / stdtime / FreeBSD / ftime.3.patch
1 --- ftime.3 2004-04-15 16:20:14.000000000 -0700
2 +++ ftime.3.edit 2006-07-12 11:19:27.000000000 -0700
3 @@ -38,13 +38,12 @@
4 .Sh NAME
5 .Nm ftime
6 .Nd get date and time
7 -.Sh LIBRARY
8 -.Lb libcompat
9 .Sh SYNOPSIS
10 -.In sys/types.h
11 .In sys/timeb.h
12 .Ft int
13 -.Fn ftime "struct timeb *tp"
14 +.Fo ftime
15 +.Fa "struct timeb *tp"
16 +.Fc
17 .Sh DESCRIPTION
18 .Bf -symbolic
19 This interface is obsoleted by
20 @@ -69,16 +68,24 @@
21 };
22 .Ed
23 .Pp
24 -The structure contains the time since the epoch in seconds,
25 -up to 1000 milliseconds of more-precise interval,
26 -the local time zone (measured in minutes of time westward from Greenwich),
27 +The structure contains the time since the epoch, in seconds;
28 +up to 1000 milliseconds of more-precise interval;
29 +the local time zone (measured in minutes of time westward from Greenwich);
30 and a flag that, if nonzero, indicates that
31 Daylight Saving time applies locally during the appropriate part of the year.
32 +.Sh LEGACY SYNOPSIS
33 +.Fd #include <sys/types.h>
34 +.Fd #include <sys/timeb.h>
35 +.Pp
36 +The include file
37 +.In sys/types.h
38 +is necessary.
39 .Sh SEE ALSO
40 .Xr gettimeofday 2 ,
41 .Xr settimeofday 2 ,
42 .Xr ctime 3 ,
43 -.Xr time 3
44 +.Xr time 3 ,
45 +.Xr compat 5
46 .Sh HISTORY
47 The
48 .Nm