io_timeouted(3)
π io_timeouted(3) β like, the timeout check-in page π
okay bestie, so this is a page from the Library Functions Manual and it's all about io_timeouted(3), one lil function that goes and finds your overdue file descriptors for you. she's giving hall monitor energy but in a cute way π
β¨ NAME β¨
io_timeouted β return a file descriptor over deadline π
πΈ SYNTAX πΈ
#include <libowfat/io.h>
int64 io_timeouted();
literally that's it. one include, one call, no arguments, we love a low-maintenance icon π
π¦ DESCRIPTION π¦
so here's the tea β io_timeouted returns the next file descriptor that is past it's deadline. like, the one that's late, the one that ghosted its own timer, that one π
and if no descriptors are past their deadlines? she returns -1. no drama, just -1 π
okay this next part MATTERS, bestie, don't skip it π
after io_timeouted() has returned -1, you should wait a second before calling it again. like, actually pause. breathe. touch some grass π±
why tho? because checking for connections past their deadline involves walking through the whole data structure πΆβοΈ and that can thrash the CPU cache needlessly. no cap. it's giving expensive. so treat it as an expensive operation β because it literally is one πΈ
π SEE ALSO π
go read those too, they're the besties of this page fr fr π«Ά
and that's the whole vibe, my love π this was io_timeouted(3) from the Library Functions Manual β that's the footer, that's the sign-off, and yes she really does appear on both the top and the bottom of the page because she's the main character of her own manpage β¨ periodt π
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· GPL-2.0-only
- debian bookworm: libowfat-dev 0.32-4 Β· GPL-2.0-only
- debian trixie: libowfat-dev 0.32-5 Β· GPL-2.0-only
- nixos 26.05: libowfat 0.34
- nixpkgs unstable: libowfat 0.34
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- ubuntu noble: libowfat-dev 0.32-4.1build1 Β· GPL-2.0-only
- ubuntu questing: libowfat-dev 0.32-5
- ubuntu resolute: libowfat-dev 0.34-2 Β· GPL-2.0-only
- ubuntu stonking: libowfat-dev 0.34-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms