Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_toupper.c « ctype « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: db4e00dd04a7dc03c557c6a3208685f6426acf97 (plain)
1
2
3
4
5
6
7
8
9
#include <_ansi.h>
#include <ctype.h>

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