1io_dontwantread(3) Library Functions Manual io_dontwantread(3)
2
3
4
6 io_dontwantread - signal that you do not want to read from a descriptor
7
9 #include <io.h>
10
11 void io_dontwantread(int64 fd);
12
14 io_dontwantread tells the next io_wait() that you don't want to read
15 from this descriptor for now. Call io_wantread() again if you change
16 your mind.
17
18 You have to have called io_fd on the descriptor first (io_pipe and
19 io_socketpair do this for you). Waiting on descriptors only works for
20 sockets, fifos and pipes. It may also work on devices and TTYs, but
21 that is platform dependent -- you should not rely on that.
22
24 io_wait(3), io_canread(3), io_wantread(3), io_fd(3)
25
26
27
28 io_dontwantread(3)