basic: introduce generic ascii_strlower_n() call and make use of it everywhere

This commit is contained in:
Lennart Poettering
2016-01-07 19:43:26 +01:00
parent d424da2ae0
commit b577e3d589
5 changed files with 32 additions and 29 deletions

View File

@@ -130,7 +130,9 @@ char *strstrip(char *s);
char *delete_chars(char *s, const char *bad);
char *truncate_nl(char *s);
char *ascii_strlower(char *path);
char ascii_tolower(char x);
char *ascii_strlower(char *s);
char *ascii_strlower_n(char *s, size_t n);
bool chars_intersect(const char *a, const char *b) _pure_;