aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-09-03 15:41:55 -0500
committerRob Landley <rob@landley.net>2016-09-03 15:41:55 -0500
commit7528a9628443b2d8e57b7bece698a5a6a0a3fe18 (patch)
tree88d17020076eaa496e5a4f6ce59d4420c30d4fe4 /lib/lib.h
parent7b7fec9cc6c67382ab4144d98e72c881858281f4 (diff)
downloadtoybox-7528a9628443b2d8e57b7bece698a5a6a0a3fe18.tar.gz
Move genericish function to lib.
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 43d6b1ff..5cd991c9 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -225,6 +225,7 @@ int regexec0(regex_t *preg, char *string, long len, int nmatch,
regmatch_t pmatch[], int eflags);
char *getusername(uid_t uid);
char *getgroupname(gid_t gid);
+void do_lines(int fd, void (*call)(char **pline, long len));
#define HR_SPACE 1 // Space between number and units
#define HR_B 2 // Use "B" for single byte units