Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
186 B

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