diff options
Diffstat (limited to 'src/util.c')
| -rw-r--r-- | src/util.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -57,3 +57,12 @@ void all_upper(char *s) s++; } } + +void all_lower(char *s) +{ + while(*s) + { + *s = tolower(*s); + s++; + } +} |