version 1.1, 2013/10/14 10:32:47
|
version 1.1.1.3, 2016/11/02 10:35:00
|
Line 1
|
Line 1
|
|
#include "first.h" |
|
|
#include "fdevent.h" |
#include "fdevent.h" |
#include "buffer.h" |
#include "buffer.h" |
#include "log.h" |
#include "log.h" |
Line 38 static int fdevent_select_event_set(fdevents *ev, int
|
Line 40 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)); |