1io_wantwrite(3)            Library Functions Manual            io_wantwrite(3)
2
3
4

NAME

6       io_wantwrite - signal that you want to write to a descriptor
7

SYNTAX

9       #include <io.h>
10
11       void io_wantwrite(int64 fd);
12

DESCRIPTION

14       io_wantwrite  tells  the  next io_wait() that you want to write to this
15       descriptor.  Call io_dontwantwrite() again if you change your mind.
16
17       The next time you call io_wait(), it will look whether this  descriptor
18       becomes  writeable,  too.   You  can  then  use  io_canwrite() to check
19       whether the descriptor has become writable.
20
21       You have to have called io_fd on  the  descriptor  first  (io_pipe  and
22       io_socketpair  do this for you).  Waiting on descriptors only works for
23       sockets, fifos and pipes.  It may also work on devices  and  TTYs,  but
24       that is platform dependent -- you should not rely on that.
25

SEE ALSO

27       io_wait(3), io_canwrite(3), io_wantwrite(3), io_fd(3)
28
29
30
31                                                               io_wantwrite(3)
Impressum