Skip to contentSkip to conversation

timerfd_create.2: fix timerfd_settime() argument description

PATCH In review Tomislav Jonjic 2 participants 2 messages Apr 30, 2011 – Sep 15, 2011 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 timerfd_create.2: fix timerfd_settime() argument description

The initial expiration of the timer in timerfd_settime() is specified by new_value.it_value, both for relative _and_ absolute timers.

man2/timerfd_create.2 +1 -1
index c09e030..ae9d922 100644
@@ -152,7 +152,7 @@ are zero, the timer expires just once, at the time specified by
 The
 .I flags
 argument is either 0, to start a relative timer
-.RI ( new_value.it_interval
+.RI ( new_value.it_value
 specifies a time relative to the current value of the clock specified by
 .IR clockid ),
 or

--
Tomislav Jonjic

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

Hello Tomislav

Quoted 2 lines · Tomislav Jonjic

The initial expiration of the timer in timerfd_settime() is specified by new_value.it_value, both for relative _and_ absolute timers.

Thanks. Applied for man-pages-3.33.

Cheers,

Michael

Quoted 19 lines
man2/timerfd_create.2 +0 -0
index c09e030..ae9d922 100644
@@ -152,7 +152,7 @@ are zero, the timer expires just once, at the time specified by

 The
 .I flags
 argument is either 0, to start a relative timer
-.RI ( new_value.it_interval
+.RI ( new_value.it_value
 specifies a time relative to the current value of the clock specified by .IR clockid ),
 or

--
Tomislav Jonjic

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html