source:
trunk/sys/dietlibc/towupper.c
@
46
Last change on this file since 46 was 1, checked in by , 8 years ago | |
---|---|
File size: 123 bytes |
Line | |
---|---|
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.