Re: Man page for revised timerfd API

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Geoff Clare
Date: Thursday, September 27, 2007 - 1:20 am

Michael Kerrisk <mtk-manpages@gmx.net> wrote, on 26 Sep 2007:

s/timer_/timerfd_/


It might be worth mentioning here that there is no timerfd function
analogous to timer_getoverrun() because the equivalent information
is available when the file descriptor is read.

[...]

Nit-pick: this should say "last successful read(2)".  Presumably a
read() that failed with EINVAL would not reset the count.


You should also add this error to your read(2) man page.

[...]

s/timer_/timerfd_/ on the two .BR lines above.


s/tiner/timer/


s/timer_/timerfd_/ on the two .BR lines above.

[...]

Another nit-pick, but you should really cast the exp argument to
(unsigned long long) to match the format %llu.  Although uint64_t is
the same size as unsigned long long on all current Linux systems (as
far as I know), one day there might be a system where unsigned long
long is, say, 128 bit.

Regards,
Geoff.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Man page for revised timerfd API, Michael Kerrisk, (Wed Sep 26, 12:12 am)
Re: Man page for revised timerfd API, Davide Libenzi, (Wed Sep 26, 11:06 am)
Re: Man page for revised timerfd API, Michael Kerrisk, (Wed Sep 26, 2:13 pm)
Re: Man page for revised timerfd API, Geoff Clare, (Thu Sep 27, 1:20 am)
Re: Man page for revised timerfd API, Michael Kerrisk, (Thu Sep 27, 3:35 am)
Re: Man page for revised timerfd API, Michael Kerrisk, (Thu Sep 27, 3:50 am)
Re: Man page for revised timerfd API, Davide Libenzi, (Thu Sep 27, 9:45 am)
Re: Man page for revised timerfd API, Michael Kerrisk, (Tue Oct 2, 11:50 pm)
Re: Man page for revised timerfd API, Matti Aarnio, (Wed Oct 3, 1:14 am)
Re: Man page for revised timerfd API, Michael Kerrisk, (Thu Oct 4, 11:19 am)