X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/b5f3175db054d9930a6e75d2034e367b36e875b8..a04347e5cbe92a5f99231dcdb3d7d0f474bad401:/ev.html?ds=sidebyside diff --git a/ev.html b/ev.html index b82e54e..052c922 100644 --- a/ev.html +++ b/ev.html @@ -6,7 +6,7 @@ - +
@@ -729,7 +729,7 @@ started. Otherwise anev_timer
watcher with after = timeout
repeat = 0) will be started. While 0
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)