diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2015-04-13 06:54:25 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2015-04-18 13:20:39 +0200 |
| commit | 80d27367abe27f7007125c692c59858e1e4bbd8c (patch) | |
| tree | 627a0fe1733a71f682e858fe76fd4d35be51949f /man2/timerfd_create.2 | |
| parent | 5a3eb9cd35b0ee9e2ae5ef741a79d03f4eb70c3f (diff) | |
| download | man-pages-80d27367abe27f7007125c692c59858e1e4bbd8c.tar.gz | |
timerfd_create.2: Tweaks to Cyrill Gorcunov's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/timerfd_create.2')
| -rw-r--r-- | man2/timerfd_create.2 | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/man2/timerfd_create.2 b/man2/timerfd_create.2 index 371591f64f..da8a859491 100644 --- a/man2/timerfd_create.2 +++ b/man2/timerfd_create.2 @@ -268,18 +268,21 @@ and .BR epoll (7). .TP .BR ioctl "(2)" -The following commands are supported: +The following timerfd-specific command is supported: +.RS +.TP .B TFD_IOC_SET_TICKS -to adjust the number of the timer expirations that have occurred. -It take a pointer to nonzero 8-byte integer +Adjust the number of timer expirations that have occurred. +The argument is a pointer to a nonzero 8-byte integer .RI ( uint64_t *) containing the new number of expirations. -Once the number is set any waiter on the timer is woken up. +Once the number is set, any waiter on the timer is woken up. The only purpose of this command is to restore the expirations -in a sake of checkpoint/restore procedure. -It requires the kernel to be built with +for the purpose of checkpoint/restore. +This operation is available only if the kernel was configured with the .BR CONFIG_CHECKPOINT_RESTORE -support. +option. +.RE .TP .BR close (2) When the file descriptor is no longer required it should be closed. |
