2002-09-16 01:09:56 +00:00
|
|
|
#include "case.h"
|
|
|
|
|
2006-11-07 17:56:05 +00:00
|
|
|
void case_lowerb(void *S,size_t len) {
|
2003-09-01 15:28:51 +00:00
|
|
|
char* s=(char*)S;
|
2002-09-16 01:09:56 +00:00
|
|
|
unsigned char x;
|
|
|
|
while (len > 0) {
|
|
|
|
--len;
|
|
|
|
x = *s - 'A';
|
|
|
|
if (x <= 'Z' - 'A') *s = x + 'a';
|
|
|
|
++s;
|
|
|
|
}
|
|
|
|
}
|