source:
trunk/sys/dietlibc/isupper.c
@
180
| Last change on this file since 180 was 1, checked in by , 9 years ago | |
|---|---|
| File size: 202 bytes | |
| Rev | Line | |
|---|---|---|
| [1] | 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.
