aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorlandley <landley@driftwood>2006-10-30 10:01:19 -0500
committerlandley <landley@driftwood>2006-10-30 10:01:19 -0500
commit64b2e23ff1f2c2b8eacf6da5ac9a58054c8245cf (patch)
treed3ac3ebd2804eaef792264efdbaedd2f1d265571 /lib/lib.h
parent09ea7ac1a269db3c9a3b76840b37a7cb1eccbc24 (diff)
downloadtoybox-64b2e23ff1f2c2b8eacf6da5ac9a58054c8245cf.tar.gz
Add reread(), readall(), and xread() on the bus ride in to work...
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index acdfc998..28888a49 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -19,6 +19,9 @@ char *xmsprintf(char *format, ...);
void xexec(char **argv);
int xopen(char *path, int flags, int mode);
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);
+void xread(int fd, char *buf, size_t count);
char *xgetcwd(void);
char *find_in_path(char *path, char *filename);
void utoa_to_buf(unsigned n, char *buf, unsigned buflen);