diff lib/lib.h @ 102:aa4fa2543a65

Add atolx() which understands extensions for kilobytes and megabytes and such.
author Rob Landley <rob@landley.net>
date Fri, 16 Feb 2007 21:08:22 -0500
parents 4c81e6375719
children 19b5567f0a1b
line wrap: on
line diff
--- a/lib/lib.h	Wed Feb 14 02:20:37 2007 -0500
+++ b/lib/lib.h	Fri Feb 16 21:08:22 2007 -0500
@@ -65,6 +65,7 @@
 void itoa_to_buf(int n, char *buf, unsigned buflen);
 char *utoa(unsigned n);
 char *itoa(int n);
+long atolx(char *c);
 off_t fdlength(int fd);
 struct dirtree *read_dirtree_node(char *path);
 struct dirtree *read_dirtree(char *path, struct dirtree *parent);