#ifndef _WIMLIB_FILE_IO_H
#define _WIMLIB_FILE_IO_H
+#include <stdbool.h>
#include <stddef.h>
#include <sys/types.h>
-#include <stdbool.h>
/* Wrapper around a file descriptor that keeps track of offset (including in
* pipes, which don't support lseek()) and a cached flag that tells whether the
extern int
full_pwrite(struct filedes *fd, const void *buf, size_t count, off_t offset);
-extern ssize_t
-raw_pread(struct filedes *fd, void *buf, size_t nbyte, off_t offset);
-
-extern ssize_t
-raw_pwrite(struct filedes *fd, const void *buf, size_t count, off_t offset);
-
#ifndef __WIN32__
# define O_BINARY 0
#endif