Update 'Kanzlei-Kiel'.
This commit is contained in:
12
Kanzlei-Kiel/src/djbdns/djbdns-1.05/case_lowerb.c
Normal file
12
Kanzlei-Kiel/src/djbdns/djbdns-1.05/case_lowerb.c
Normal file
@ -0,0 +1,12 @@
|
||||
#include "case.h"
|
||||
|
||||
void case_lowerb(char *s,unsigned int len)
|
||||
{
|
||||
unsigned char x;
|
||||
while (len > 0) {
|
||||
--len;
|
||||
x = *s - 'A';
|
||||
if (x <= 'Z' - 'A') *s = x + 'a';
|
||||
++s;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user