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

NAME

6       io_trywritetimeout - write to a descriptor without blocking
7

SYNTAX

9       #include <io.h>
10
11       int io_trywritetimeout(int64 fd,const char* buf,int64 len);
12

DESCRIPTION

14       io_trywritetimeout  is  identical  to  io_trywrite,  with the following
15       exception: if
16
17
18       ·  io_trywrite returns -1 (the descriptor is not  ready  for  writing),
19          and
20
21       ·  the descriptor has a timeout, and
22
23       ·  the write attempt was after the descriptor's timeout,
24
25       then  io_trywritetimeout  instead returns -2, with errno set to ETIMED‐
26       OUT.
27

SEE ALSO

29       io_nonblock(3), io_waitwrite(3), io_trywrite(3)
30
31
32
33                                                         io_trywritetimeout(3)
Impressum