summary refs log tree commit diff
path: root/misc/subr.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/subr.h')
-rw-r--r--misc/subr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/subr.h b/misc/subr.h
index 8ad42c2..0a6223a 100644
--- a/misc/subr.h
+++ b/misc/subr.h
@@ -24,4 +24,7 @@ int canon_path(const char *path, char **res);
 
 long rand_between(long min, long max);
 
+int read_fully(int fd, void *buf, size_t len);
+int write_fully(int fd, const void *buf, size_t len);
+
 #endif