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

NAME

6       io_timeout - set time limit on descriptor
7

SYNTAX

9       #include <io.h>
10
11       void io_timeout(int64 fd,tai6464 deadline);
12

DESCRIPTION

14       The io library keeps track of an optional ``timeout'' for each descrip‐
15       tor. The timeout is a specific moment in  time,  stored  in  a  tai6464
16       variable.
17
18       io_timeout(d,t) sets the timeout for descriptor d to t.
19
20       io_timeout has no return value; it always succeeds. (Space to store the
21       timeout was already allocated as part of the  descriptor.)  It  has  no
22       effect if d is not the number of a descriptor.
23
24       Note  that  you  have  to call io_timeouted to be notified of timeouts,
25       just like you are calling io_canread or io_canwrite for read and  write
26       notification.
27

SEE ALSO

29       io_waituntil(3), io_timeouted(3)
30
31
32
33                                                                 io_timeout(3)
Impressum