blob: 1285b52aeb99ac783b678a11c68be263da1f94de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* ISC license. */
#include <sys/types.h>
#include <skalibs/bytestr.h>
void case_lowerb (register char *s, size_t len)
{
unsigned char const d = 'a' - 'A' ;
while (len--)
{
if (('A' <= *s) && (*s <= 'Z')) *s += d ;
++s ;
}
}
|