Return to io.c CVS log | Up to [local] / src / usr.bin / rsync |
version 1.7, 2019/02/16 16:58:14 | version 1.8, 2019/02/16 16:58:39 | ||
---|---|---|---|
|
|
||
#include "extern.h" | #include "extern.h" | ||
/* | /* | ||
* Use this for debugging deadlocks. | |||
* All poll events will use it and catch time-outs. | |||
*/ | |||
#define POLL_TIMEOUT (INFTIM) | |||
/* | |||
* A non-blocking check to see whether there's POLLIN data in fd. | * A non-blocking check to see whether there's POLLIN data in fd. | ||
* Returns <0 on failure, 0 if there's no data, >0 if there is. | * Returns <0 on failure, 0 if there's no data, >0 if there is. | ||
*/ | */ |