From 24a8ca468df5a45c3588f933e41fb8174066d4c8 Mon Sep 17 00:00:00 2001
From: root ev_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) -- cgit v1.2.3