diff options
author | Rob Landley <rob@landley.net> | 2020-02-10 19:47:02 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-02-10 19:47:02 -0600 |
commit | 7d15b37b5c23c628929f161dc7df9121c6070cec (patch) | |
tree | fdf961b6f6b3c80832002ac69d6368fbf6180f5a /lib/lib.h | |
parent | db188cde1f05ec42fd0c56bc9630788003708777 (diff) | |
download | toybox-7d15b37b5c23c628929f161dc7df9121c6070cec.tar.gz |
Factor out readfd()
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |