blob: 349eade01a9f78aa2887cee73fcd740fbc7e0d9b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* ISC license. */
#include <skalibs/bytestr.h>
void case_lowers (char *s)
{
unsigned char const d = 'a' - 'A' ;
while (*s)
{
if (('A' <= *s) && (*s <= 'Z')) *s += d ;
++s ;
}
}
|