ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.20 by root, Mon Nov 12 09:06:09 2007 UTC vs.
Revision 1.21 by root, Mon Nov 12 09:07:10 2007 UTC

738started. Otherwise an C<ev_timer> watcher with after = C<timeout> (and 738started. Otherwise an C<ev_timer> watcher with after = C<timeout> (and
739repeat = 0) will be started. While C<0> is a valid timeout, it is of 739repeat = 0) will be started. While C<0> is a valid timeout, it is of
740dubious value. 740dubious value.
741 741
742The callback has the type C<void (*cb)(int revents, void *arg)> and gets 742The callback has the type C<void (*cb)(int revents, void *arg)> and gets
743passed an events set like normal event callbacks (with a combination of 743passed an C<revents> set like normal event callbacks (a combination of
744C<EV_ERROR>, C<EV_READ>, C<EV_WRITE> or C<EV_TIMEOUT>) and the C<arg> 744C<EV_ERROR>, C<EV_READ>, C<EV_WRITE> or C<EV_TIMEOUT>) and the C<arg>
745value passed to C<ev_once>: 745value passed to C<ev_once>:
746 746
747 static void stdin_ready (int revents, void *arg) 747 static void stdin_ready (int revents, void *arg)
748 { 748 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines