diff options
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index bc86e5f..7b9b839 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -346,6 +346,7 @@ long xatol_sfx(const char *numstr, const struct suffix_mult *suffixes); long xatol(const char *numstr); /* Specialized: */ unsigned xatou(const char *numstr); +int xatoi_range(const char *numstr, int lower, int upper); int xatoi(const char *numstr); /* Using xatoi() instead of naive atoi() is not always convenient - * in many places people want *non-negative* values, but store them |