waitfd
return waitfd(fd, timeoutp, POLLIN, stop);
if (waitfd(sockfd, timeoutp, POLLIN | POLLOUT, NULL) == -1)