aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-02-16 21:08:22 -0500
committerRob Landley <rob@landley.net>2007-02-16 21:08:22 -0500
commitf5757161aff8caeec8e70b9709ccdce96e41dd14 (patch)
treeb2ecd70a091018aa2999d93d64875390688c8634 /lib/lib.h
parentfb6c09e63653b619f6645617d66ba605077d1d42 (diff)
downloadtoybox-f5757161aff8caeec8e70b9709ccdce96e41dd14.tar.gz
Add atolx() which understands extensions for kilobytes and megabytes and such.
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 07cc9cd8..e2d055bc 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -65,6 +65,7 @@ void utoa_to_buf(unsigned n, char *buf, unsigned buflen);
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);