1
0
Fork 0
qmail/case_lowerb.c
D. J. Bernstein af9625ddf9 qmail 1.01
2009-12-18 13:07:04 +01:00

14 lines
193 B
C

#include "case.h"
void case_lowerb(s,len)
char *s;
unsigned int len;
{
unsigned char x;
while (len > 0) {
--len;
x = *s - 'A';
if (x <= 'Z' - 'A') *s = x + 'a';
++s;
}
}