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

NAME

6       io_eagain - tell io_wait that you got an EAGAIN
7

SYNTAX

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

DESCRIPTION

14       If  io_wait() said that you can read from a descriptor, you try to read
15       from it, and you get EAGAIN, you  need  to  tell  io_wait().   This  is
16       important  for  edge  triggered  event  notification schemes like Linux
17       2.4's SIGIO, or you will lose events.
18
19       io_tryread(), io_trywrite() and io_sendfile()  and  iob_send()  already
20       take care of this for you.
21
22       This  function  is  only  of  interest  if you integrate io_wait() with
23       legacy code that uses read/write directly.
24

SEE ALSO

26       io_wait(3)
27
28
29
30                                                                  io_eagain(3)
Impressum