fill in ev_evports.c (not tested)