summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/restartable_rw.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/restartable_rw.h')
-rw-r--r--libs/pbd/pbd/restartable_rw.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/pbd/pbd/restartable_rw.h b/libs/pbd/pbd/restartable_rw.h
new file mode 100644
index 0000000000..ee84e4e295
--- /dev/null
+++ b/libs/pbd/pbd/restartable_rw.h
@@ -0,0 +1,7 @@
+#ifndef __libmisc_restartable_rw__h__
+#define __libmisc_restartable_rw__h__
+
+extern int restartable_write (int fd, unsigned char *buf, size_t cnt);
+extern int restartable_read (int fd, unsigned char *buf, size_t cnt);
+
+#endif // __libmisc_restartable_rw__h__