source:
trunk/sys/dietlibc/towupper.c
@
204
Last change on this file since 204 was 1, checked in by , 8 years ago | |
---|---|
File size: 123 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | #include <wctype.h> |
2 | ||
3 | wint_t towupper(wint_t c) { | |
4 | if ( (unsigned int)(c - 'a') < 26u ) | |
5 | c += 'A' - 'a'; | |
6 | return c; | |
7 | } | |
8 |
Note: See TracBrowser
for help on using the repository browser.