Manpage logo

timeout - reading from and writing to a file descriptor

NAME  SYNTAX  DESCRIPTION  SEE ALSO 

NAME

timeout − reading from and writing to a file descriptor

SYNTAX

#include "timeout.h"

int timeoutread(int t,int fd,char *buf,int len);
int timeoutwrite(int,int,char *,int);

DESCRIPTION

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.

SEE ALSO

wait(3), timeoutconn(3) taia(3).


Updated 2026-06-01 - jenkler.se | uex.se