Skip to content

Commit

Permalink
Fix the documentation of event_pending.
Browse files Browse the repository at this point in the history
svn:r1215
  • Loading branch information
nmathewson committed Apr 21, 2009
1 parent 386279d commit ea8cc76
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions include/event2/event.h
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,12 @@ void event_active(struct event *, int, short);
@param ev an event struct previously passed to event_add()
@param event the requested event type; any of EV_TIMEOUT|EV_READ|
EV_WRITE|EV_SIGNAL
@param tv an alternate timeout (FIXME - is this true?)
@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 1 if the event is pending, or 0 if the event has not occurred
@return 1 if the event is pending (that is to say, it has been added), or 0
if the event is not added.
*/
int event_pending(struct event *, short, struct timeval *);
Expand Down

0 comments on commit ea8cc76

Please sign in to comment.