event_pending

Checks if a specific event is pending or scheduled.

@param ev an event previously passed to event_add() @param events the requested event type; any of EV_TIMEOUT|EV_READ| EV_WRITE|EV_SIGNAL @param tv if this field is not NULL, and the event has a timeout, this field is set to hold the time at which the timeout will expire.

@return true if the event is pending on any of the events in 'what', (that is to say, it has been added), or 0 if the event is not added.

extern (C) nothrow
int
event_pending
(
const(event)* ev
,
short events
,
timeval* tv
)

Meta