Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
603 B

.TH io_timeouted 3
io_timeouted \- return a file descriptor over deadline
.B #include <libowfat/io.h>
int64 \fBio_timeouted\fP();
io_timeouted returns the next file descriptor that is past it's deadline.
If no descriptors are past their deadlines, it returns -1.
After io_timeouted() returned -1, you should wait a second before
calling it again. Checking for connections past their deadline involves
walking through the whole data structure, which may thrash the CPU
cache needlessly. Treat it as an expensive operation.
io_wait(3), io_timeout(3)