io_dontwantread(3)
π io_dontwantread(3) π
okay bestie, so this one lives in the Library Functions Manual and it's literally called io_dontwantread β yes that's the whole vibe of the page, we're in the libowfat/io.h cinematic universe now π¦
β¨ NAME β¨
io_dontwantread β the little function that says "not right now, babe" to a descriptor π
πΈ SYNTAX πΈ
#include <libowfat/io.h>
void io_dontwantread(int64 fd);
π DESCRIPTION π
so io_dontwantread is you telling the next io_wait() that you do not want to read from this descriptor for now. like, respectfully, not today. π
changed your mind? iconic. just call io_wantread() again and we're so back π
before any of this works tho, you have to have called io_fd on the descriptor first β and ngl, io_pipe and io_socketpair already do that for you, so they're the besties who handle it π«Ά
β οΈ real talk: waiting on descriptors only works for sockets, fifos and pipes. it may also work on devices and TTYs, but that is platform dependent β you should not rely on that. no cap, don't build your whole personality on it π
π SEE ALSO π
and that's the whole page, bestie β¨ this was io_dontwantread(3) from the Library Functions Manual β slay, go tell your descriptors how you feel π
πΈπ
π¦ 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