diff options
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -42,8 +42,11 @@ int xcreate(char *path, int flags, int mode); int xopen(char *path, int flags); FILE *xfopen(char *path, char *mode); ssize_t reread(int fd, void *buf, size_t count); +ssize_t rewrite(int fd, void *buf, size_t count); ssize_t readall(int fd, void *buf, size_t count); +ssize_t writeall(int fd, void *buf, size_t count); void xread(int fd, char *buf, size_t count); +void xwrite(int fd, char *buf, size_t count); char *xgetcwd(void); char *xabspath(char *path); struct string_list *find_in_path(char *path, char *filename); |