Deleted Added
full compact
2c2
< '\" Copyright (c)1996-2002 by Hartmut Brandt
---
> '\" Copyright (c)1996-2006 by Hartmut Brandt
5c5
< '\" Author: Hartmut Brandt
---
> '\" Author: harti@freebsd.org <Hartmut Brandt>
31c31
< .TH rpoll 3 "21 Oct 1996" "BEGEMOT" "BEGEMOT Library"
---
> .TH rpoll 3 "8 Dec 2006" "BEGEMOT" "BEGEMOT Library"
38c38
< .BR "typedef void (*poll_f)(int " "fd" ", int " "mask" ", void *" "arg);"
---
> .BR "typedef void (*poll_f)(int " "fd" ", int " "mask" ", void *" "arg" ");"
40c40
< .BR "typedef void (*timer_f)(int " "tid" ", void *" "arg);"
---
> .BR "typedef void (*timer_f)(int " "tid" ", void *" "arg" ");"
47c47
< .BR "int poll_start_timer(u_int " "msecs" ", int " "repeat" ", timer_f " "func,"
---
> .BR "int poll_start_timer(u_int " "msecs" ", int " "repeat" ", timer_f " "func" ","
49c49
< .BR "void *" "arg);"
---
> .BR "void *" "arg" ");"
52a53,56
> .BR "int poll_start_utimer(unsigned long long " "usecs" ", int " "repeat" ",
> .if n .ti +.5i
> .BR "timer_f " "func" ", void *" "arg" ");"
> .LP
116c120,122
< .BR poll_start_timer .
---
> .BR poll_start_timer
> or
> .BR poll_start_utimer .
118c124,137
< is the number of milliseconds, after which the timer event will be generated.
---
> is the number of milliseconds in
> .BR poll_start_timer
> while
> .I usecs
> is the number of microseconds in
> .BR poll_start_utimer ,
> after which the timer event will be generated.
> If the functions use the
> .BR poll (2)
> system call, then
> .I usecs
> is rounded to milliseconds and
> .BR poll_start_timer
> is called.
126c145,147
< returnes a timer id, which may be used to cancel the timer with
---
> and
> .B poll_start_utimer
> return a timer id, which may be used to cancel the timer with
154,155c175
< .B poll_register
< and
---
> .B poll_register ,
157c177,180
< return a handle which may be used to unregister the file descriptor or cancel the timer.
---
> and
> .B poll_start_utimer
> return a handle which may be used to unregister the file descriptor or
> cancel the timer.