mirror of https://github.com/mkerrisk/man-pages
Clarify meaning of midnight on 1 Jan 1900/1970.
This commit is contained in:
parent
67c27c77cc
commit
ef55629d84
10
man3/rtime.3
10
man3/rtime.3
|
@ -5,7 +5,7 @@
|
|||
.\"
|
||||
.\" Slightly polished, aeb, 2003-04-06
|
||||
.\"
|
||||
.TH RTIME 3 2003-04-04 "" "Linux Programmer's Manual"
|
||||
.TH RTIME 3 2008-07-12 "GNU" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
rtime \- get time from a remote machine
|
||||
.SH SYNOPSIS
|
||||
|
@ -19,9 +19,11 @@ rtime \- get time from a remote machine
|
|||
This function uses the Time Server Protocol as described in
|
||||
RFC\ 868 to obtain the time from a remote machine.
|
||||
.LP
|
||||
The Time Server Protocol gives the time in seconds since midnight 1900-01-01,
|
||||
The Time Server Protocol gives the time in seconds since
|
||||
00:00:00 UTC, 1 Jan 1900,
|
||||
and this function subtracts the appropriate constant in order to
|
||||
convert the result to seconds since midnight 1970-01-01, the Unix Epoch.
|
||||
convert the result to seconds since
|
||||
00:00:00, UTC, 1 Jan 1970, the Unix Epoch.
|
||||
.LP
|
||||
When
|
||||
.I timeout
|
||||
|
@ -54,7 +56,7 @@ Only IPV4 is supported.
|
|||
Some
|
||||
.I in.timed
|
||||
versions only support TCP.
|
||||
Try the above example program with
|
||||
Try the example program with
|
||||
.I use_tcp
|
||||
set to 1.
|
||||
.LP
|
||||
|
|
Loading…
Reference in New Issue