---
name: "io_timeouted"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/io_timeouted"
---

# io\_timeouted(3)

return a file descriptor over deadline

## NAME

io\_timeouted - return a file descriptor over deadline

## SYNTAX

**#include \<libowfat/io.h\>**

int64 **io\_timeouted**();

## DESCRIPTION

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.

## SEE ALSO

[io\_wait(3)](/io_wait/3.md), [io\_timeout(3)](/io_timeout/3.md)
