Mercurial > hg > toybox
diff lib/lib.h @ 1131:f9678ea553c8 draft
Oops, cleaned up ifconfig uses atolx_range() instead of get_int_list(). Check that in.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 28 Nov 2013 21:11:34 -0600 |
parents | 6df194c6de88 |
children | 80c9df5145fe |
line wrap: on
line diff
--- a/lib/lib.h Thu Nov 28 21:06:15 2013 -0600 +++ b/lib/lib.h Thu Nov 28 21:11:34 2013 -0600 @@ -134,6 +134,7 @@ void poke(void *ptr, uint64_t val, int size); struct string_list *find_in_path(char *path, char *filename); long atolx(char *c); +long atolx_range(char *numstr, long low, long high); int numlen(long l); int stridx(char *haystack, char needle); off_t fdlength(int fd);