| 283 | } |
| 284 | |
| 285 | int fstack_accept(int sockfd, struct sockaddr* addr, socklen_t* addrlen, Timeout timeout) { |
| 286 | return photon::net::DOIO_ONCE(ff_accept(sockfd, (linux_sockaddr*) addr, addrlen), |
| 287 | g_engine->wait_for_fd_readable(sockfd, timeout)); |
| 288 | } |
| 289 | |
| 290 | int fstack_close(int fd) { |
| 291 | return ff_close(fd); |
no test coverage detected