* [PATCH] clock_getres.2: Document CLOCK_TAI
@ 2020-03-21 4:03 Benjamin Peterson
2020-03-21 22:08 ` Benjamin Peterson
0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Peterson @ 2020-03-21 4:03 UTC (permalink / raw)
To: mtk.manpages; +Cc: linux-man
Signed-off-by: Benjamin Peterson <benjamin@python.org>
---
man2/clock_getres.2 | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/man2/clock_getres.2 b/man2/clock_getres.2
index 3fb0ac61c..0f619ab0b 100644
--- a/man2/clock_getres.2
+++ b/man2/clock_getres.2
@@ -137,6 +137,16 @@ Requires per-architecture support,
and probably also architecture support for this flag in the
.BR vdso (7).
.TP
+.BR CLOCK_TAI " (since Linux 3.10; Linux-specific)"
+.\" Added in commit 1ff3c9677bff7e468e0c487d0ffefe4e901d33f4
+System-wide clock derived from wall time ignoring leap seconds. This clock does
+experience discontinuities and backwards jumps caused by NTP inserting leap
+seconds as
+.BR CLOCK_REALTIME
+does.
+.IP
+The acronym TAI refers to International Atomic Time.
+.TP
.B CLOCK_MONOTONIC
Clock that cannot be set and represents monotonic time since\(emas described
by POSIX\(em"some unspecified point in the past".
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] clock_getres.2: Document CLOCK_TAI
2020-03-21 4:03 [PATCH] clock_getres.2: Document CLOCK_TAI Benjamin Peterson
@ 2020-03-21 22:08 ` Benjamin Peterson
2020-03-26 7:48 ` Michael Kerrisk (man-pages)
0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Peterson @ 2020-03-21 22:08 UTC (permalink / raw)
To: mtk.manpages; +Cc: linux-man
Signed-off-by: Benjamin Peterson <benjamin@python.org>
---
man2/clock_getres.2 | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/man2/clock_getres.2 b/man2/clock_getres.2
index 3fb0ac61c..7b25b8f65 100644
--- a/man2/clock_getres.2
+++ b/man2/clock_getres.2
@@ -137,6 +137,16 @@ Requires per-architecture support,
and probably also architecture support for this flag in the
.BR vdso (7).
.TP
+.BR CLOCK_TAI " (since Linux 3.10; Linux-specific)"
+.\" Added in commit 1ff3c9677bff7e468e0c487d0ffefe4e901d33f4
+System-wide clock derived from wall time but ignoring leap seconds. This clock does
+not experience discontinuities and backwards jumps caused by NTP inserting leap
+seconds as
+.BR CLOCK_REALTIME
+does.
+.IP
+The acronym TAI refers to International Atomic Time.
+.TP
.B CLOCK_MONOTONIC
Clock that cannot be set and represents monotonic time since\(emas described
by POSIX\(em"some unspecified point in the past".
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] clock_getres.2: Document CLOCK_TAI
2020-03-21 22:08 ` Benjamin Peterson
@ 2020-03-26 7:48 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 3+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-03-26 7:48 UTC (permalink / raw)
To: Benjamin Peterson; +Cc: mtk.manpages, linux-man
Hello Benjamin,
Thanks! Patch applied. (Just for the future, when you send a second
version of a patch, it make life a little easier for me if you note
what has changed.)
Cheers,
Michael
On 3/21/20 11:08 PM, Benjamin Peterson wrote:
> Signed-off-by: Benjamin Peterson <benjamin@python.org>
> ---
> man2/clock_getres.2 | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/man2/clock_getres.2 b/man2/clock_getres.2
> index 3fb0ac61c..7b25b8f65 100644
> --- a/man2/clock_getres.2
> +++ b/man2/clock_getres.2
> @@ -137,6 +137,16 @@ Requires per-architecture support,
> and probably also architecture support for this flag in the
> .BR vdso (7).
> .TP
> +.BR CLOCK_TAI " (since Linux 3.10; Linux-specific)"
> +.\" Added in commit 1ff3c9677bff7e468e0c487d0ffefe4e901d33f4
> +System-wide clock derived from wall time but ignoring leap seconds. This clock does
> +not experience discontinuities and backwards jumps caused by NTP inserting leap
> +seconds as
> +.BR CLOCK_REALTIME
> +does.
> +.IP
> +The acronym TAI refers to International Atomic Time.
> +.TP
> .B CLOCK_MONOTONIC
> Clock that cannot be set and represents monotonic time since\(emas described
> by POSIX\(em"some unspecified point in the past".
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-26 7:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 4:03 [PATCH] clock_getres.2: Document CLOCK_TAI Benjamin Peterson
2020-03-21 22:08 ` Benjamin Peterson
2020-03-26 7:48 ` Michael Kerrisk (man-pages)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).