From 78a23a4d5ab27c8af26c0e232c099a0c16907649 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 4 Jun 2013 10:11:55 +0200 Subject: xio: add ioexact operations Break this out so that we only need to have sigint non-static where it is really needed. Signed-off-by: Daniel Borkmann --- ioexact.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ioexact.h (limited to 'ioexact.h') diff --git a/ioexact.h b/ioexact.h new file mode 100644 index 0000000..6234e8e --- /dev/null +++ b/ioexact.h @@ -0,0 +1,7 @@ +#ifndef IOEXACT_H +#define IOEXACT_H + +extern ssize_t read_exact(int fd, void *buf, size_t len, int mayexit); +extern ssize_t write_exact(int fd, void *buf, size_t len, int mayexit); + +#endif /* IOEXACT_H */ -- cgit v1.2.3-54-g00ecf