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