1io_timeouted(3)            Library Functions Manual            io_timeouted(3)
2
3
4

NAME

6       io_timeouted - return a file descriptor over deadline
7

SYNTAX

9       #include <io.h>
10
11       int64 io_timeouted();
12

DESCRIPTION

14       io_timeouted  returns  the next file descriptor that is past it's dead‐
15       line.  If no descriptors are past their deadlines, it returns -1.
16
17       After io_timeouted() returned -1, you should wait a second before call‐
18       ing  it  again.   Checking for connections past their deadline involves
19       walking through the whole data structure,  which  may  thrash  the  CPU
20       cache needlessly.  Treat it as an expensive operation.
21

SEE ALSO

23       io_wait(3), io_timeout(3)
24
25
26
27                                                               io_timeouted(3)
Impressum