source:
trunk/sys/dietlibc/towupper.c
@
67
Last change on this file since 67 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.