Move a couple of functions from osl.c to fd.c.
[osl.git] / fd.h
diff --git a/fd.h b/fd.h
index 0ca272d45ab733fb3bddad8eb187d24c41201c88..4b802062d7207344ef3441542a3fe090ba18bd67 100644 (file)
--- a/fd.h
+++ b/fd.h
@@ -12,6 +12,8 @@ int para_fchdir(int fd);
 int mmap_full_file(const char *filename, int open_mode, void **map,
        size_t *size, int *fd_ptr);
 int osl_munmap(void *start, size_t length);
+int write_all(int fd, const char *buf, size_t *len);
+int write_file(const char *filename, const void *buf, size_t size);
 
 /**
  * A wrapper for mkdir(2).