aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2011-12-12 15:19:52 -0600
committerRob Landley <rob@landley.net>2011-12-12 15:19:52 -0600
commitad63f4bfd38c3728268983f15345010248614b01 (patch)
tree7290043ce015b59e530117ac01cbf1f7a5dfc3f4 /lib/lib.h
parent6b4eb6b44ea2140e0378dd49916f88719546cbc5 (diff)
downloadtoybox-ad63f4bfd38c3728268983f15345010248614b01.tar.gz
Forgot to check in loopfiles_rw changes needed by truncate.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/lib.h b/lib/lib.h
index fb2215cf..61df58b4 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -90,7 +90,8 @@ char *itoa(int n);
long atolx(char *c);
off_t fdlength(int fd);
char *xreadlink(char *name);
-void loopfiles_rw(char **argv, int flags, void (*function)(int fd, char *name));
+void loopfiles_rw(char **argv, int flags, int permissions, int failok,
+ void (*function)(int fd, char *name));
void loopfiles(char **argv, void (*function)(int fd, char *name));
char *get_rawline(int fd, long *plen, char end);
char *get_line(int fd);