version 1.1, 2013/10/14 10:32:47
|
version 1.1.1.2, 2014/06/15 20:20:06
|
Line 38 static int fdevent_select_event_set(fdevents *ev, int
|
Line 38 static int fdevent_select_event_set(fdevents *ev, int
|
UNUSED(fde_ndx); |
UNUSED(fde_ndx); |
|
|
/* we should be protected by max-fds, but you never know */ |
/* we should be protected by max-fds, but you never know */ |
assert(fd < ((int)FD_SETSIZE)); | force_assert(fd < ((int)FD_SETSIZE)); |
|
|
if (events & FDEVENT_IN) { |
if (events & FDEVENT_IN) { |
FD_SET(fd, &(ev->select_set_read)); |
FD_SET(fd, &(ev->select_set_read)); |