io_dispatch
io_reset(io, events, io_dispatch);
static void io_dispatch(int, short, void *);
void io_dispatch(int, short, void *);