1
kqueue와 함께 select()를 사용하기 위해 앱을 수정하고 있습니다. select()는 예외적 인 조건을 폴 할 수있게합니다 :kqueue를 사용하여 예외 조건을 폴링
int select(int nfds,
fd_set *restrict readfds,
fd_set *restrict writefds,
fd_set *restrict errorfds, <---- this thing here
struct timeval *restrict timeout
);
kqueue 문서를 읽은 후에는 그렇게 할 방법이없는 것처럼 보입니다. EVFILT_READ
및 EVFILT_WRITE
이 있지만 EVFILT_ERROR
/EVFILT_EXCEPTIONAL
행에는 아무 것도 없습니다. 예외적 인 조건을 조사하는 것이 가능합니까? 그렇다면 어떻게해야합니까?