shithub: scc

ref: ff07f46fcbf903b916be3f35063a5004bbb90daf
dir: /lib/c/src/toupper.c/

View raw version
/* See LICENSE file for copyright and license details. */

#define __USE_MACROS
#include <ctype.h>
#undef toupper

int
toupper(int c)
{
	return (islower(c)) ? c & ~0x20 : c;
}