io_timeouted(3diet)

io_timeouted3diet

Return a file descriptor over deadline

Usage

#include <io.h>

int64 io_timeouted();

Overview

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.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

From libowfat-dev 0.28-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.