diff options
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index 7f4b3ace..dc47e343 100644 --- a/include/util.h +++ b/include/util.h @@ -11,6 +11,11 @@ int wrap(int i, int max); /** + * Count number of digits in int + */ +int numlen(int n); + +/** * Get modifier mask from modifier name. * * Returns the modifer mask or 0 if the name isn't found. |