aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-03-07 17:29:12 +0000
committerEric Andersen <andersen@codepoet.org>2003-03-07 17:29:12 +0000
commita9c6bc41e99e0c28d524060805429c7b742546a7 (patch)
treed22470e744557d02a92e205de822fd418d3190b1 /include/libbb.h
parentbae7c1ac240211bd3183d48888708bfbc4f96a6d (diff)
downloadbusybox-w32-a9c6bc41e99e0c28d524060805429c7b742546a7.tar.gz
busybox-w32-a9c6bc41e99e0c28d524060805429c7b742546a7.tar.bz2
busybox-w32-a9c6bc41e99e0c28d524060805429c7b742546a7.zip
Define bb_xgetlarg as a standard interface for extracting
numbers from getopt which includes careful error checking. -Erik
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index c057ce493..8cb72de8b 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -121,6 +121,7 @@ int recursive_action(const char *fileName, int recurse, int followLinks, int dep
121 void* userData); 121 void* userData);
122 122
123extern int parse_mode( const char* s, mode_t* theMode); 123extern int parse_mode( const char* s, mode_t* theMode);
124extern long bb_xgetlarg(char *arg, int base, long lower, long upper);
124 125
125extern int get_kernel_revision(void); 126extern int get_kernel_revision(void);
126 127