source:
trunk/sys/dietlibc/isupper.c
@
56
Last change on this file since 56 was 1, checked in by , 8 years ago | |
---|---|
File size: 202 bytes |
Line | |
---|---|
1 | #include <ctype.h> |
2 | |
3 | int __isupper_ascii ( int ch ); |
4 | int __isupper_ascii ( int ch ) |
5 | { |
6 | return (unsigned int)(ch - 'A') < 26u; |
7 | } |
8 | |
9 | int isupper ( int ch ) __attribute__((weak,alias("__isupper_ascii"))); |
Note: See TracBrowser
for help on using the repository browser.