scc

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

toupper.c (96B)


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