MEVENT_MAX
char buf[MEVENT_MAX];
} while (status == MEVENT_MAX);
assert(i < MEVENT_MAX);
struct kevent changelist[MEVENT_MAX];
struct kevent eventlist[MEVENT_MAX];
ret = kevent(mfd, NULL, 0, eventlist, MEVENT_MAX, NULL);