Newer
Older
UbixOS / Dump / hybos / lib / string / toupper.c
@cwolsen cwolsen on 31 Oct 2018 130 bytes Big Dump

char *toupper(char *s)
{
	char *c = '\0';
	while(*s++)
		if(*s >= 'a' && *s <= 'z')
			*s += 'A' - 'a';
	
	return c;
}