diff options
author | landley <landley@driftwood> | 2006-10-30 10:01:19 -0500 |
---|---|---|
committer | landley <landley@driftwood> | 2006-10-30 10:01:19 -0500 |
commit | 64b2e23ff1f2c2b8eacf6da5ac9a58054c8245cf (patch) | |
tree | d3ac3ebd2804eaef792264efdbaedd2f1d265571 /lib/lib.h | |
parent | 09ea7ac1a269db3c9a3b76840b37a7cb1eccbc24 (diff) | |
download | toybox-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |