projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
362d6b2becdebbae8c123de7a3f580abe8536c02
[musl]
/
tolower.c
1
#include <ctype.h>
2
#include "libc.h"
3
4
int tolower(int c)
5
{
6
if (isupper(c)) return c | 32;
7
return c;
8
}
9
10
int __tolower_l(int c, locale_t l)
11
{
12
return tolower(c);
13
}
14
15
weak_alias(__tolower_l, tolower_l);