Return to atomicio.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.10, 2001/05/08 22:48:07 | version 1.10.8.1, 2003/09/16 20:50:42 | ||
---|---|---|---|
|
|
||
#include "atomicio.h" | #include "atomicio.h" | ||
/* | /* | ||
* ensure all of data on socket comes through. f==read || f==write | * ensure all of data on socket comes through. f==read || f==vwrite | ||
*/ | */ | ||
ssize_t | ssize_t | ||
atomicio(f, fd, _s, n) | atomicio(f, fd, _s, n) | ||
ssize_t (*f) (); | ssize_t (*f) (int, void *, size_t); | ||
int fd; | int fd; | ||
void *_s; | void *_s; | ||
size_t n; | size_t n; |