mirror of https://github.com/mkerrisk/man-pages
gettimeofday.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
03bd54153c
commit
58c2a94b64
|
@ -74,12 +74,12 @@ argument is a
|
|||
.IR <sys/time.h> ):
|
||||
.sp
|
||||
.in +4n
|
||||
.nf
|
||||
.EX
|
||||
struct timeval {
|
||||
time_t tv_sec; /* seconds */
|
||||
suseconds_t tv_usec; /* microseconds */
|
||||
};
|
||||
.fi
|
||||
.EE
|
||||
.in
|
||||
.sp
|
||||
and gives the number of seconds and microseconds since the Epoch (see
|
||||
|
@ -90,12 +90,12 @@ argument is a
|
|||
.IR "struct timezone" :
|
||||
.sp
|
||||
.in +4n
|
||||
.nf
|
||||
.EX
|
||||
struct timezone {
|
||||
int tz_minuteswest; /* minutes west of Greenwich */
|
||||
int tz_dsttime; /* type of DST correction */
|
||||
};
|
||||
.fi
|
||||
.EE
|
||||
.in
|
||||
.PP
|
||||
If either
|
||||
|
@ -228,31 +228,21 @@ is in force.
|
|||
it does not indicate that DST is in force, it just selects an
|
||||
algorithm.)
|
||||
The daylight saving time algorithms defined are as follows:
|
||||
.PP
|
||||
.in +4n
|
||||
.nf
|
||||
|
||||
.EX
|
||||
\fBDST_NONE\fP /* not on DST */
|
||||
.br
|
||||
\fBDST_USA\fP /* USA style DST */
|
||||
.br
|
||||
\fBDST_AUST\fP /* Australian style DST */
|
||||
.br
|
||||
\fBDST_WET\fP /* Western European DST */
|
||||
.br
|
||||
\fBDST_MET\fP /* Middle European DST */
|
||||
.br
|
||||
\fBDST_EET\fP /* Eastern European DST */
|
||||
.br
|
||||
\fBDST_CAN\fP /* Canada */
|
||||
.br
|
||||
\fBDST_GB\fP /* Great Britain and Eire */
|
||||
.br
|
||||
\fBDST_RUM\fP /* Romania */
|
||||
.br
|
||||
\fBDST_TUR\fP /* Turkey */
|
||||
.br
|
||||
\fBDST_AUSTALT\fP /* Australian style with shift in 1986 */
|
||||
.fi
|
||||
.EE
|
||||
.in
|
||||
.PP
|
||||
Of course it turned out that the period in which
|
||||
|
|
Loading…
Reference in New Issue