mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 03:48:17 +00:00
d528e63477
Like e884290d29
, this is also a hack and is missing locale awareness.
21 lines
214 B
C
21 lines
214 B
C
|
|
#include <precomp.h>
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
char * CDECL _strlwr(char *x)
|
|
{
|
|
char *y=x;
|
|
char ch, lower;
|
|
|
|
while (*y) {
|
|
ch = *y;
|
|
lower = tolower(ch);
|
|
if (ch != lower)
|
|
*y = lower;
|
|
y++;
|
|
}
|
|
return x;
|
|
}
|