[49340e]: gendef / compat_string.c Maximize Restore History

Download this file

compat_string.c    20 lines (14 with data), 230 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#ifdef CONFIG_H
#include <config.h>
#endif
#ifndef HAVE_STRLWER
#include <ctype.h>
#include "compat_string.h"
char *strlwr(char *s) {
while(*s != '\x0') {
*s = tolower(*s);
s++;
}
return s;
}
#endif /* HAVE_STRLWER */