scc

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

tolower.c (116B)


      1 #define __USE_MACROS
      2 #include <ctype.h>
      3 #undef tolower
      4 
      5 int
      6 tolower(int c)
      7 {
      8 	return (isupper(c)) ? c | 0x20 : c;
      9 }