aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-02-10 19:47:02 -0600
committerRob Landley <rob@landley.net>2020-02-10 19:47:02 -0600
commit7d15b37b5c23c628929f161dc7df9121c6070cec (patch)
treefdf961b6f6b3c80832002ac69d6368fbf6180f5a /lib/lib.h
parentdb188cde1f05ec42fd0c56bc9630788003708777 (diff)
downloadtoybox-7d15b37b5c23c628929f161dc7df9121c6070cec.tar.gz
Factor out readfd()
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index e2914a09..66b39d67 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -209,6 +209,7 @@ off_t lskip(int fd, off_t offset);
int mkpathat(int atfd, char *dir, mode_t lastmode, int flags);
int mkpath(char *dir);
struct string_list **splitpath(char *path, struct string_list **list);
+char *readfd(int fd, char *ibuf, off_t *plen);
char *readfileat(int dirfd, char *name, char *buf, off_t *len);
char *readfile(char *name, char *buf, off_t len);
void msleep(long milliseconds);