summaryrefslogtreecommitdiff
path: root/ioexact.h
diff options
context:
space:
mode:
Diffstat (limited to 'ioexact.h')
-rw-r--r--ioexact.h7
1 files changed, 7 insertions, 0 deletions
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 */