io_tryreadtimeout(3) | Library Functions Manual | io_tryreadtimeout(3) |
io_tryreadtimeout - read from a descriptor without blocking
#include <libowfat/io.h>
int io_tryreadtimeout(int64 fd,char* buf,int64 len);
io_tryreadtimeout is identical to io_tryread, with the following exception: if
then io_tryreadtimeout instead returns -2, with errno set to ETIMEDOUT.