io_waitread man page

io_waitread ā€” read from a descriptor


#include <io.h>

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


io_waitread tries to read len bytes of data from descriptor fd into buf[0], buf[1], ..., buf[len-1]. (The effects are undefined if len is 0 or smaller.) There are several possible results:

See Also

io_nonblock(3), io_waitread(3), io_waitreadtimeout(3)

Referenced By

io_tryread(3), io_tryreadtimeout(3), io_trywrite(3).