nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

case_lowers.c (157B)


      1 #include "case.h"
      2 
      3 void case_lowers(s)
      4 char *s;
      5 {
      6   unsigned char x;
      7   while ((x = *s)) {
      8     x -= 'A';
      9     if (x <= 'Z' - 'A') *s = x + 'a';
     10     ++s;
     11   }
     12 }