summaryrefslogtreecommitdiff
path: root/src/libstddjb/case_lowers.c
blob: a674f28671111e64269c3a1351c73c95b79380c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* ISC license. */

#include <ctype.h>

#include <skalibs/bytestr.h>

void case_lowers (char *s)
{
  while (*s)
  {
    int c = tolower(*s) ;
    *s++ = (unsigned char)c ;
  }
}