projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
consolidate *_l ctype/wctype functions into their non-_l source files
[oweals/musl.git]
/
src
/
ctype
/
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);