io_trywritetimeout(3)
io_trywritetimeout(3) β Library Functions Manual π¦β¨
β¨ NAME β¨
io_trywritetimeout β write to a descriptor without blocking π
πΈ SYNTAX πΈ
#include <libowfat/io.h>
int io_trywritetimeout(int64 fd,const char* buf,int64 len);
π DESCRIPTION π
Okay bestie, listen: io_trywritetimeout is identical to io_trywrite, with one specific exception, and it's giving timeout drama. If all of these are true:
io_trywritereturns-1(the descriptor is not ready for writing), and- the descriptor has a timeout, and
- the write attempt was after the descriptor's timeout,
then io_trywritetimeout instead returns -2, with errno set to ETIMEDOUT. No cap. π«Ά
π SEE ALSO π
io_nonblock(3)io_waitwrite(3)io_trywrite(3)
That's the whole vibe, bestie β signing off from the Library Functions Manual as io_trywritetimeout(3) πβ¨ with no date in sight, just timeless iconic energy π
π¦ 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