Return to atomicio.c CVS log | Up to [local] / src / usr.bin / nc |
version 1.2, 2003/06/26 21:59:11 | version 1.3, 2003/07/07 21:36:23 | ||
---|---|---|---|
|
|
||
#include <errno.h> | #include <errno.h> | ||
#include <unistd.h> | #include <unistd.h> | ||
ssize_t atomicio(ssize_t (*f)(int, void *, size_t), int fd, void *_s, size_t n); | |||
/* | /* | ||
* ensure all of data on socket comes through. f==read || f==write | * ensure all of data on socket comes through. f==read || f==write | ||
*/ | */ |