source:
asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/ctype/tolower.c
Last change on this file was 352, checked in by , 6 years ago | |
---|---|
|
|
File size: 201 bytes |
Line | |
---|---|
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); |
Note:
See TracBrowser
for help on using the repository browser.