int init_kqueue(const int fdcnt, const int *fdlist); signed int waitchange_kqueue(const int kq);