aboutsummaryrefslogtreecommitdiffstats
path: root/lib/src/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/io.h')
-rw-r--r--lib/src/io.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/src/io.h b/lib/src/io.h
new file mode 100644
index 0000000..bf4e086
--- /dev/null
+++ b/lib/src/io.h
@@ -0,0 +1,13 @@
+/*
+ * Copyright (C) 2008, Brian Cully <bjc@kublai.com>
+ */
+
+#ifndef _IO_H
+#define _IO_H
+
+#include <sys/types.h>
+
+int restartable_read(unsigned char *buf, size_t buflen);
+int restartable_write(const unsigned char *buf, size_t buflen);
+
+#endif