HCoop
/
hcoop
/
zz_old
/
debian
/
djbdns.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
release
[hcoop/zz_old/debian/djbdns.git]
/
case_lowerb.c
1
#include
"case.h"
2
3
void
case_lowerb
(
char
*
s
,
unsigned int
len
)
4
{
5
unsigned char
x
;
6
while
(
len
>
0
) {
7
--
len
;
8
x
= *
s
-
'A'
;
9
if
(
x
<=
'Z'
-
'A'
) *
s
=
x
+
'a'
;
10
++
s
;
11
}
12
}