summaryrefslogtreecommitdiff
path: root/newlib/libc/ctype/_tolower.c
blob: 968dcf738c9cfb7f534d6fb3be0334cd754216fd (plain)
1
2
3
4
5
6
7
8
9
#include <_ansi.h>
#include <ctype.h>

#undef _tolower
int
_DEFUN(_tolower,(c),int c)
{
	return isupper(c) ? (c) - 'A' + 'a' : c;
}