aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 6a398c1a..cb140275 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -38,7 +38,8 @@ void *xstrndup(char *s, size_t n);
void *xstrdup(char *s);
char *xmsprintf(char *format, ...);
void xexec(char **argv);
-int xopen(char *path, int flags, int mode);
+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 readall(int fd, void *buf, size_t count);
@@ -63,3 +64,4 @@ struct mtab_list {
struct mtab_list *getmountlist(int die);
+char *bunzipStream(int src_fd, int dst_fd);