Home
       0205-cpparg.c - scc - simple c99 compiler
  HTML git clone git://git.simple-cc.org/scc
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
       0205-cpparg.c (181B)
       ---
            1 #define TOLOWER(c) ((((unsigned)c) - 'A' < 26) ? ((c) | 32) : (c))
            2 
            3 int
            4 main(void)
            5 {
            6         char c, *s = "Bla";
            7 
            8         c = TOLOWER((unsigned char)*s);
            9         if (c != 'b')
           10                 return 1;
           11 
           12         return 0;
           13 }