#include "timeout.h" int timeoutread(int t,int fd,char *buf,int len); int timeoutwrite(int,int,char *,int);
timeoutread reads from file descriptor fd len bytes into buf returning 0 on success and -1 in case a timeout has occured. timeoutwrite writes to file descriptor fd len bytes from buf returning 0 on success and -1 in case a timeout has occured.
wait(3), timeoutconn(3) taia(3). 3 qlibs:(timeout)