diff lib/lib.h @ 185:29e2051296fd

Add loopfiles() function, make catv use it.
author Rob Landley <rob@landley.net>
date Thu, 29 Nov 2007 17:49:50 -0600
parents f16c8e5e9435
children 5d523752715a
line wrap: on
line diff
--- a/lib/lib.h	Tue Nov 27 01:44:27 2007 -0600
+++ b/lib/lib.h	Thu Nov 29 17:49:50 2007 -0600
@@ -73,6 +73,7 @@
 long atolx(char *c);
 off_t fdlength(int fd);
 char *xreadlink(char *name);
+void loopfiles(char **argv, void (*function)(int fd, char *name));
 
 // getmountlist.c
 struct mtab_list {