tags 641513 fixed-upstream thanks Hi Josh!
On Wed, Sep 14, 2011 at 5:45 AM, Josh Triplett <j...@joshtriplett.org> wrote: > Package: manpages-dev > Version: 3.32-0.2 > Severity: normal > File: /usr/share/man/man2/timerfd_settime.2.gz > > timerfd_settime(2) states that "The old_value argument returns a > structure containing the setting of the timer that was current at the > time of the call"; however, it does not mention that the caller can pass > NULL to ignore that value. Only the example shows that the caller can > pass NULL. Thanks for the report. For upstream 3.33, I applied the patch below. Cheers, Michael --- a/man2/timerfd_create.2 +++ b/man2/timerfd_create.2 @@ -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. .\" -- 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, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org