diff options
author | deraadt <> | 2003-07-07 21:36:23 +0000 |
---|---|---|
committer | deraadt <> | 2003-07-07 21:36:23 +0000 |
commit | 545a3e3447ee7cbf1f80ada801d1047a4b8b7da3 (patch) | |
tree | 6f3aa3a2721ffb6a18eaa64d303c9a29d4ee8535 /src/usr.bin/nc/atomicio.c | |
parent | d288b2fefd42f6c13dc4f5fb684823316c61e5de (diff) | |
download | openbsd-545a3e3447ee7cbf1f80ada801d1047a4b8b7da3.tar.gz openbsd-545a3e3447ee7cbf1f80ada801d1047a4b8b7da3.tar.bz2 openbsd-545a3e3447ee7cbf1f80ada801d1047a4b8b7da3.zip |
protos
Diffstat (limited to 'src/usr.bin/nc/atomicio.c')
-rw-r--r-- | src/usr.bin/nc/atomicio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr.bin/nc/atomicio.c b/src/usr.bin/nc/atomicio.c index 02289f0a2a..4437b6717b 100644 --- a/src/usr.bin/nc/atomicio.c +++ b/src/usr.bin/nc/atomicio.c | |||
@@ -29,6 +29,8 @@ | |||
29 | #include <errno.h> | 29 | #include <errno.h> |
30 | #include <unistd.h> | 30 | #include <unistd.h> |
31 | 31 | ||
32 | ssize_t atomicio(ssize_t (*f)(int, void *, size_t), int fd, void *_s, size_t n); | ||
33 | |||
32 | /* | 34 | /* |
33 | * ensure all of data on socket comes through. f==read || f==write | 35 | * ensure all of data on socket comes through. f==read || f==write |
34 | */ | 36 | */ |