1io_dontwantwrite(3) Library Functions Manual io_dontwantwrite(3)
2
3
4
6 io_dontwantwrite - signal that you do not want to write to a descriptor
7
9 #include <io.h>
10
11 void io_dontwantwrite(int64 fd);
12
14 io_dontwantwrite tells the next io_wait() that you don't want to write
15 to this descriptor for now. Call io_wantwrite() 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_canwrite(3), io_wantwrite(3), io_fd(3)
25
26
27
28 io_dontwantwrite(3)