shithub: riscv

ref: 65ef69a85d1c0f4694a361f5a0a99bdbb4f2cd95
dir: /sys/src/libc/port/toupper.c/

View raw version
#include	<ctype.h>

int
toupper(int c)
{

	if(c < 'a' || c > 'z')
		return c;
	return _toupper(c);
}

int
tolower(int c)
{

	if(c < 'A' || c > 'Z')
		return c;
	return _tolower(c);
}