scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

toupper.c (97B)


      1 #include <ctype.h>
      2 
      3 #undef toupper
      4 
      5 int
      6 toupper(int c)
      7 {
      8 	return (islower(c)) ? c & ~0x20 : c;
      9 }