--- libev/ev.html 2007/11/12 09:06:09 1.23 +++ libev/ev.html 2007/11/12 09:07:10 1.24 @@ -6,7 +6,7 @@ - +
@@ -729,7 +729,7 @@ repeat = 0) will be started. While0
is a valid timeout, it is of
dubious value.
The callback has the type void (*cb)(int revents, void *arg)
and gets
-passed an events set like normal event callbacks (with a combination of
+passed an revents
set like normal event callbacks (a combination of
EV_ERROR
, EV_READ
, EV_WRITE
or EV_TIMEOUT
) and the arg
value passed to ev_once
:
static void stdin_ready (int revents, void *arg)