io_tryreadtimeout man page

io_tryreadtimeout ā€” read from a descriptor without blocking

Syntax

#include <io.h>

int io_tryreadtimeout(int64 fd,char* buf,int64 len);

Description

io_tryreadtimeout is identical to io_tryread, with the following exception: if

then io_tryreadtimeout instead returns -2, with errno set to ETIMEDOUT.

See Also

io_nonblock(3), io_waitread(3), io_tryread(3)

Referenced By

io_tryread(3).