]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
stime.2, time.2, utimensat.2, ctime.3, difftime.3, ftime.3, getspnam.3, mq_receive...
authorMichael Witten <mfwitten@gmail.com>
Sun, 17 Jan 2010 03:53:52 +0000 (04:53 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 17 Jan 2010 03:55:05 +0000 (04:55 +0100)
All definitions of the Epoch have been refactored to the following:

  1970-01-01 00:00:00 +0000 (UTC)

That form is more consistent, logical, precise, and internationally
recognizable than the other variants.

Also, some wording has been altered as well.

Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
19 files changed:
man2/stime.2
man2/time.2
man2/utimensat.2
man3/ctime.3
man3/difftime.3
man3/ftime.3
man3/getspnam.3
man3/mq_receive.3
man3/mq_send.3
man3/rtime.3
man3/sem_wait.3
man3/strftime.3
man3/strptime.3
man3/timeradd.3
man4/rtc.4
man5/core.5
man5/proc.5
man7/icmp.7
man7/time.7

index 530d2234d73a7f7a2c90c89e683d2e0bcb69acdc..534e297061595b8b8c94ff5f203d609695c0b959 100644 (file)
@@ -45,8 +45,8 @@ _SVID_SOURCE
 .SH DESCRIPTION
 .BR stime ()
 sets the system's idea of the time and date.
-Time, pointed
-to by \fIt\fP, is measured in seconds from 00:00:00 UTC January 1, 1970.
+The time, pointed
+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"
index 5fae9d95c51d6711801208294acf2f7df3b8983c..c4b7679b145ace741bc375bc242e17a03fb3b445 100644 (file)
@@ -35,8 +35,8 @@ time \- get time in seconds
 .BI "time_t time(time_t *" t );
 .SH DESCRIPTION
 .BR time ()
-returns the time since the Epoch
-(00:00:00 UTC, January 1, 1970), measured in seconds.
+returns the time as the number of seconds since the Epoch,
+1970-01-01 00:00:00 +0000 (UTC).
 
 If
 .I t
index 96dd4bedb627fbae44ae7014b9d9ef4e03fbacd3..a6e153426bac4594e23306b4f03268d21b2e4348 100644 (file)
@@ -84,9 +84,9 @@ specifies the new "last access time" (\fIatime\fP);
 specifies the new "last modification time" (\fImtime\fP).
 Each of the elements of
 .I times
-specifies a time in seconds and nanoseconds
-since the Epoch (00:00:00, 1 Jan 1970, UTC),
-in a structure of the following form:
+specifies a time as the the number of seconds and nanoseconds
+since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
+This information is conveyed in a structure of the following form:
 .in +4n
 .nf
 
index 754468009e618962f81fea492f736aa22f7cbce4..5a104598f11b7db544492abc3970715c13939b3d 100644 (file)
@@ -78,8 +78,7 @@ and
 functions all take
 an argument of data type \fItime_t\fP which represents calendar time.
 When interpreted as an absolute time value, it represents the number of
-seconds elapsed since 00:00:00 on January 1, 1970, Coordinated Universal
-Time (UTC).
+seconds elapsed since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
 .PP
 The
 .BR asctime ()
index 556775131d265440a3af397de6d1392f242fe6d0..79887b10a3f5ba429b5ba205e5079e5ec4a5f96b 100644 (file)
@@ -40,9 +40,9 @@ The
 function returns the number of seconds elapsed
 between time \fItime1\fP and time \fItime0\fP, represented as a
 .IR double .
-The two times are specified in calendar time, which represents the time
-elapsed since the Epoch
-(00:00:00 on January 1, 1970, Coordinated Universal Time (UTC)).
+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).
 .SH "CONFORMING TO"
 SVr4, 4.3BSD, C89, C99.
 .SH NOTES
index 0c6b28227a3296856f5dfe4bfb571aec1ed902e9..dc429940788698491a7c8deabff781729ae0fe74 100644 (file)
@@ -36,8 +36,8 @@ ftime \- return date and time
 .sp
 .BI "int ftime(struct timeb *" tp );
 .SH DESCRIPTION
-This function returns the current time, in seconds and milliseconds
-since the Epoch (00:00:00 UTC, 1 January 1970).
+This function returns the current time as seconds and milliseconds
+since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
 The time is returned in
 .IR tp ,
 which is declared as follows:
index 3d8ec7b666653ad061a97ccdb76a2865eb4b2aed..38cb6a7c107c053c0c42c99439d305fc8d1aecce 100644 (file)
@@ -194,7 +194,7 @@ struct spwd {
     char *sp_namp;     /* Login name */
     char *sp_pwdp;     /* Encrypted password */
     long  sp_lstchg;   /* Date of last change (measured
-                          in days since 1 Jan 1970) */
+                          in days since 1970-01-01 00:00:00 +0000 (UTC)) */
     long  sp_min;      /* Min # of days between changes */
     long  sp_max;      /* Max # of days between changes */
     long  sp_warn;     /* # of days before password expires
@@ -202,7 +202,7 @@ struct spwd {
     long  sp_inact;    /* # of days after password expires
                           until account is disabled */
     long  sp_expire;   /* Date when account expires (measured
-                          in days since 1 Jan 1970) */
+                          in days since 1970-01-01 00:00:00 +0000 (UTC)) */
     unsigned long sp_flag;  /* Reserved */
 };
 .fi
index 32343a0be4091aa64764fcc2fcd37136300e89eb..9a558120daf776e08f274c0f351a9661d74630dd 100644 (file)
@@ -83,7 +83,7 @@ flag is not enabled for the message queue description, then
 points to a structure which specifies a ceiling on the time for which
 the call will block.
 This ceiling is an absolute timeout in seconds and nanoseconds
-since the Epoch (midnight on the morning of 1 January 1970),
+since the Epoch, 1970-01-01 00:00:00 +0000 (UTC), and it is
 specified in the following structure:
 .sp
 .in +4n
index 97e8bec43571f3dadf5c5b59587f0bdc8ce24f6b..05c0d65f4b8ad3d51eb9f5913fd8c4a3893d4270 100644 (file)
@@ -89,7 +89,7 @@ flag is not enabled for the message queue description, then
 points to a structure which specifies a ceiling on the time for which
 the call will block.
 This ceiling is an absolute timeout in seconds and nanoseconds
-since the Epoch (midnight on the morning of 1 January 1970),
+since the Epoch, 1970-01-01 00:00:00 +0000 (UTC), and it is
 specified in the following structure:
 .sp
 .in +4n
index 24be7590c8cafc796d24bd86c458fd42d38b0429..cd84f44ec8b5dfeb773368217cea1fd72950c7d7 100644 (file)
@@ -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
-00:00:00 UTC, 1 Jan 1970, the Unix Epoch.
+convert the result to seconds since the Epoch,
+1970-01-01 00:00:00 +0000 (UTC).
 .LP
 When
 .I timeout
index 526f57d62578c1d3508f8c6cf49a718baad21e34..062e436e5a20c3bdbd74b4918f8455a68f5ac32d 100644 (file)
@@ -77,7 +77,7 @@ should block if the decrement cannot be immediately performed.
 The
 .I abs_timeout
 argument points to a structure that specifies an absolute timeout
-in seconds and nanoseconds since the Epoch (00:00:00, 1 January 1970).
+in seconds and nanoseconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
 This structure is defined as follows:
 
 .nf
index ce8655a84df4d0bce61f06737f135684beaa7a73..aacf8823cacb03ed63356959bec7180d9e199147 100644 (file)
@@ -182,8 +182,7 @@ For a version including the seconds, see
 below.
 .TP
 .B %s
-The number of seconds since the Epoch, that is, since 1970-01-01
-00:00:00 UTC. (TZ)
+The number of seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC). (TZ)
 .TP
 .B %S
 The second as a decimal number (range 00 to 60).
index 148ed0727f7d04b44c7425e2a4b45701036ed09f..ffcb4e9c99a4a9e1d84d43b7cc3241df508ce6bd 100644 (file)
@@ -374,8 +374,7 @@ is accepted as a synonym for
 Finally
 .TP
 .B %s
-The number of seconds since the Epoch,
-that is, since 1970-01-01 00:00:00 UTC.
+The number of seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
 Leap seconds are not counted unless leap second support is available.
 .LP
 The glibc implementation does not require whitespace between
index e766e61a95889d7325d2a6e6713c41ffcb55265e..ca385e4b32eee7918d48846ce56248e23e03e6dd 100644 (file)
@@ -96,8 +96,7 @@ zeros out the
 .I timeval
 structure pointed to by
 .IR tvp ,
-so that it represents the time at midnight
-on the morning of 1 January 1970 (the Epoch).
+so that it represents the Epoch: 1970-01-01 00:00:00 +0000 (UTC).
 
 .BR timerisset ()
 returns true (nonzero) if either field of the
index 02e9f5f2f025db2156694152f45564ad292613db..88b954e60d2cfafd4b90dca12badd026b425ede4 100644 (file)
@@ -59,7 +59,7 @@ and
 .BR time (2),
 as well as setting timestamps on files, etc.
 The system clock reports seconds and microseconds since a start point,
-defined to be the POSIX Epoch: Jan 1, 1970, 0:00 UTC.
+defined to be the POSIX Epoch: 1970-01-01 00:00:00 +0000 (UTC).
 (One common implementation counts timer interrupts, once
 per "jiffy", at a frequency of 100, 250, or 1000 Hz.)
 That is, it is supposed to report wall clock time, which RTCs also do.
index 8e0c60766b69610c26db4f501fcf1b3f8f3f0ccf..e4282bbc1fc1a59b452ac706df1f4ee649c500e7 100644 (file)
@@ -125,7 +125,7 @@ PID of dumped process
 number of signal causing dump
 .TP
 %t
-time of dump, expressed as seconds since the Epoch (00:00h, 1\ Jan 1970, 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))
index 8d0df389cf275621497d82d610bae8bd41f2c58d..9b8757eb11e94fc0c09a997eba75deff5da4d15c 100644 (file)
@@ -1683,7 +1683,7 @@ each subsequent column is the total for a particular interrupt.
 The number of context switches that the system underwent.
 .TP
 \fIbtime 769041601\fP
-boot time, in seconds since the Epoch (January 1, 1970).
+boot time, in seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
 .TP
 \fIprocesses 86031\fP
 Number of forks since boot.
index 7d6654f8764b61b13efc1e211ecb224da24f3059..70ad655cb34f041b1faab030ae7d222a1946f3f5 100644 (file)
@@ -176,7 +176,7 @@ routing table and the redirect routes are expired after some time.
 .PP
 The 64-bit timestamp returned by
 .B ICMP_TIMESTAMP
-is in milliseconds since January 1, 1970.
+is in milliseconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
 .PP
 Linux ICMP internally uses a raw socket to send ICMPs.
 This raw socket may appear in
index 69c08cd2e4ffef13ca3c1f94cf00f91753ea763e..7c22da0a0ee5b58f1aa6834cf33612f9040f6eb2 100644 (file)
@@ -124,7 +124,7 @@ HRTs are not supported on all hardware architectures.
 .SS "The Epoch"
 Unix systems represent time in seconds since the
 .IR Epoch ,
-which is defined as 0:00:00 UTC on the morning of 1 January 1970.
+1970-01-01 00:00:00 +0000 (UTC).
 
 A program can determine the
 .I "calendar time"