| 415 | } |
| 416 | |
| 417 | void clear() |
| 418 | { |
| 419 | slct_count = 0; |
| 420 | #if defined(HAVE_POLL) |
| 421 | slct_poll.clear(); |
| 422 | #else |
| 423 | slct_width = 0; |
| 424 | FD_ZERO(&slct_fdset); |
| 425 | #endif |
| 426 | slct_main = nullptr; |
| 427 | slct_port = nullptr; |
| 428 | #ifdef WIRE_COMPRESS_SUPPORT |
| 429 | slct_zport = nullptr; |
| 430 | #endif |
| 431 | } |
| 432 | |
| 433 | void select(timeval* timeout) |
| 434 | { |
no outgoing calls
no test coverage detected