io_timeouted(3)

io_timeouted3

Return a file descriptor over deadline

Usage

#include <libowfat/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

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–11
  2. 12–13

From libowfat-dev 0.32-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.