aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/timerfd_create.211
1 files changed, 7 insertions, 4 deletions
diff --git a/man2/timerfd_create.2 b/man2/timerfd_create.2
index f90e2218d0..47117b95da 100644
--- a/man2/timerfd_create.2
+++ b/man2/timerfd_create.2
@@ -17,7 +17,7 @@
.\"
.\" FIXME: Linux 3.0: timerfd_settime() adds a TFD_TIMER_CANCEL_ON_SET flag.
.\"
-.TH TIMERFD_CREATE 2 2009-03-10 Linux "Linux Programmer's Manual"
+.TH TIMERFD_CREATE 2 2011-09-14 Linux "Linux Programmer's Manual"
.SH NAME
timerfd_create, timerfd_settime, timerfd_gettime \-
timers that notify via file descriptors
@@ -167,10 +167,13 @@ that is, the timer will expire when the value of that
clock reaches the value specified in
.IR new_value.it_value ).
-The
+If the
.I old_value
-argument returns a structure containing the setting of the timer that
-was current at the time of the call; see the description of
+argument is not NULL, then the
+.I itimerspec
+structure that it points to is used to return the setting of the timer
+that was current at the time of the call;
+see the description of
.BR timerfd_gettime ()
following.
.\"