mirror of https://github.com/mkerrisk/man-pages
stime.2, time.2, difftime.3, rtime.3, core.5: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
f49c451a62
commit
ef2e066053
|
@ -46,7 +46,8 @@ _SVID_SOURCE
|
|||
.BR stime ()
|
||||
sets the system's idea of the time and date.
|
||||
The time, pointed
|
||||
to by \fIt\fP, is measured in seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
|
||||
to by \fIt\fP, is measured in seconds since the
|
||||
Epoch, 1970-01-01 00:00:00 +0000 (UTC).
|
||||
.BR stime ()
|
||||
may only be executed by the superuser.
|
||||
.SH "RETURN VALUE"
|
||||
|
|
|
@ -35,8 +35,8 @@ time \- get time in seconds
|
|||
.BI "time_t time(time_t *" t );
|
||||
.SH DESCRIPTION
|
||||
.BR time ()
|
||||
returns the time as the number of seconds since the Epoch,
|
||||
1970-01-01 00:00:00 +0000 (UTC).
|
||||
returns the time as the number of seconds since the
|
||||
Epoch, 1970-01-01 00:00:00 +0000 (UTC).
|
||||
|
||||
If
|
||||
.I t
|
||||
|
|
|
@ -41,8 +41,8 @@ function returns the number of seconds elapsed
|
|||
between time \fItime1\fP and time \fItime0\fP, represented as a
|
||||
.IR double .
|
||||
Each of the times is specified in calendar time, which means its
|
||||
value is a measurement (in seconds) relative to the Epoch,
|
||||
1970-01-01 00:00:00 +0000 (UTC).
|
||||
value is a measurement (in seconds) relative to the
|
||||
Epoch, 1970-01-01 00:00:00 +0000 (UTC).
|
||||
.SH "CONFORMING TO"
|
||||
SVr4, 4.3BSD, C89, C99.
|
||||
.SH NOTES
|
||||
|
|
|
@ -22,8 +22,8 @@ RFC\ 868 to obtain the time from a remote machine.
|
|||
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 the Epoch,
|
||||
1970-01-01 00:00:00 +0000 (UTC).
|
||||
convert the result to seconds since the
|
||||
Epoch, 1970-01-01 00:00:00 +0000 (UTC).
|
||||
.LP
|
||||
When
|
||||
.I timeout
|
||||
|
|
|
@ -125,7 +125,8 @@ PID of dumped process
|
|||
number of signal causing dump
|
||||
.TP
|
||||
%t
|
||||
time of dump, expressed as seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC)
|
||||
time of dump, expressed as seconds since the
|
||||
Epoch, 1970-01-01 00:00:00 +0000 (UTC)
|
||||
.TP
|
||||
%h
|
||||
hostname (same as \fInodename\fP returned by \fBuname\fP(2))
|
||||
|
|
Loading…
Reference in New Issue