diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-10 01:31:04 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-10 01:31:04 +0100 |
commit | 72b2291551712d6182c798b23884bf50f2cf244e (patch) | |
tree | f00bfefd67bc2fb9bd705b443f76df728d6303b7 /doc/man/sleep-until.1 | |
parent | fix error (diff) | |
download | sleep-until-72b2291551712d6182c798b23884bf50f2cf244e.tar.gz sleep-until-72b2291551712d6182c798b23884bf50f2cf244e.tar.bz2 sleep-until-72b2291551712d6182c798b23884bf50f2cf244e.tar.xz |
update doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | doc/man/sleep-until.1 | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/doc/man/sleep-until.1 b/doc/man/sleep-until.1 index 7567eb4..6672fcf 100644 --- a/doc/man/sleep-until.1 +++ b/doc/man/sleep-until.1 @@ -3,12 +3,36 @@ sleep-until - sleeps until a specified time .SH SYNOPSIS .B sleep-until +.IR clockname ... .IR timepoint ... .SH DESCRIPTION Pause until \fItimepoint\fP. \fItimepoint\fP is the number of -seconds since Epoch, in UTC but not accounting for leap seconds. +seconds since Epoch, in UTC but not accounting for leap seconds, +by default. If \fIclockname\fP is specifed, \fItimepoint\fP is +the number of seconds since the zerotime of that clock. \fItimepoint\fP may be an arbitrary floating point number. Pause is continued when interrupted. +.PP +On Linux 4.2.2 the clocks that can be used are: +.TP +* +\fBCLOCK_REALTIME\fP +.TP +* +\fBCLOCK_MONOTONIC\fP +.TP +* +\fBCLOCK_BOOTTIME\fP +.TP +* +\fBCLOCK_REALTIME_ALARM\fP +.TP +* +\fBCLOCK_BOOTTIME_ALARM\fP +.PP +Note that the neither course clocks, \fBCLOCK_MONOTONIC_RAW\fP +(the proper implementation of a monotonic clock), and +\fBCLOCK_TAI\fP does not work. .SH EXIT STATUS .TP 0 @@ -18,7 +42,8 @@ The command was successful. The command failed. .SH SEE ALSO .BR sleep (1), -.BR date (1) +.BR date (1), +.BR clock_gettime (3) .SH AUTHORS Principal author, Mattias Andrée. See the COPYING file for the full list of authors. |