fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Functions
timeout.c File Reference

read/write timeout handling More...

#include <unistd.h>
#include "error.h"
#include "iopause.h"
#include "timeout.h"
Include dependency graph for timeout.c:

Go to the source code of this file.

Functions

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

Detailed Description

read/write timeout handling

Author
djb qmail
Returns
same as read(2) or write(2); -1 on error

Definition in file timeout.c.

Function Documentation

◆ timeoutread()

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

Definition at line 14 of file timeout.c.

Here is the call graph for this function:

◆ timeoutwrite()

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

Definition at line 38 of file timeout.c.

Here is the call graph for this function: