diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-07 21:36:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-07 21:36:53 +0000 |
commit | 83036cf1c12eac42e9fcb4e6691ecc46dc8e654e (patch) | |
tree | c5d3ac18eb1b07a15bce95ace0ce7adb91c6f596 /usr.bin/nc/atomicio.c | |
parent | a738290cbdde31b237de1a4fec2f5511fdf9ead7 (diff) |
protos
Diffstat (limited to 'usr.bin/nc/atomicio.c')
-rw-r--r-- | usr.bin/nc/atomicio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/nc/atomicio.c b/usr.bin/nc/atomicio.c index 02289f0a2a4..4437b6717bb 100644 --- a/usr.bin/nc/atomicio.c +++ b/usr.bin/nc/atomicio.c @@ -29,6 +29,8 @@ #include <errno.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 */ |