Newer
Older
ubixos / Dump / hybos / lib / string / tolower.c
@Christopher W. Olsen Christopher W. Olsen on 5 Nov 2018 102 bytes Sync

char *tolower(char* s)
{
	while(*s++)
		if(*s >= 'A' && *s <= 'Z')
			*s += 'a' - 'A';

	return s;
}