diff options
author | Rob Landley <rob@landley.net> | 2015-04-03 11:49:31 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-04-03 11:49:31 -0500 |
commit | e10483fdc9ef8b69b2a420e8d991b865e05b85b9 (patch) | |
tree | 72069bd30eb5c716254b695e99d26ec819b49e7b /lib/lib.h | |
parent | 97c536c40eb4cc732b8a11688e0196281e90d81b (diff) | |
download | toybox-e10483fdc9ef8b69b2a420e8d991b865e05b85b9.tar.gz |
Add readfileat() to lib
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -144,6 +144,7 @@ ssize_t writeall(int fd, void *buf, size_t len); off_t lskip(int fd, off_t offset); int mkpathat(int atfd, char *dir, mode_t lastmode, int flags); struct string_list **splitpath(char *path, struct string_list **list); +char *readfileat(int dirfd, char *name, char *buf, off_t len); char *readfile(char *name, char *buf, off_t len); void msleep(long miliseconds); int64_t peek_le(void *ptr, unsigned size); |