xref: /reactos/sdk/lib/crt/string/strlwr.c (revision 7115d7ba)
1 
2 #include <precomp.h>
3 
4 /*
5  * @implemented
6  */
7 char * CDECL _strlwr(char *x)
8 {
9 	char  *y=x;
10 	char ch, lower;
11 
12 	while (*y) {
13 		ch = *y;
14 		lower = tolower(ch);
15 		if (ch != lower)
16 			*y = lower;
17 		y++;
18 	}
19 	return x;
20 }
21