diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-11-21 15:02:46 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-11-21 23:34:22 +0100 |
| commit | 4b76fffb6aca4ebad81ec43c4558f2c5849f93f2 (patch) | |
| tree | e023177590210980aef85834df73c671d5643236 /man2/timerfd_create.2 | |
| parent | cc83f4d1bbd250ca72d4bbac65195e7e6519cdbf (diff) | |
| download | man-pages-4b76fffb6aca4ebad81ec43c4558f2c5849f93f2.tar.gz | |
timerfd_create.2: Rework description of clocks as a hanging list
Done in part as preparation for following patches.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/timerfd_create.2')
| -rw-r--r-- | man2/timerfd_create.2 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/man2/timerfd_create.2 b/man2/timerfd_create.2 index edb2407701..bad455dddf 100644 --- a/man2/timerfd_create.2 +++ b/man2/timerfd_create.2 @@ -66,10 +66,7 @@ and returns a file descriptor that refers to that timer. The .I clockid argument specifies the clock that is used to mark the progress -of the timer, and must be either -.B CLOCK_REALTIME -or -.BR CLOCK_MONOTONIC . +of the timer, and must one of the following: .\" FIXME .\" Additional clocks are now supported: .\" CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM @@ -79,12 +76,15 @@ or .\" CLOCK_BOOTTIME .\" Since Linux 3.15 .\" commit 4a2378a943f09907fb1ae35c15de917f60289c14 +.TP .B CLOCK_REALTIME -is a settable system-wide clock. +A settable system-wide real-time clock. +.TP .B CLOCK_MONOTONIC -is a nonsettable clock that is not affected -by discontinuous changes in the system clock -(e.g., manual changes to system time). +A nonsettable monotonically increasing clock that measures time +from some unspecified point in the past that does not change +after system startup. +.PP The current value of each of these clocks can be retrieved using .BR clock_gettime (2). |
