summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/liblatin1/latin1-isupper.c
blob: a024548fd9477e177ad980d54055e8b8185a79f0 (plain)
1
2
3
4
5
6
#include <ctype.h>

int isupper(int c) {
  unsigned char x=c&0xff;
  return (x>='A' && x<='Z') || (x>=192 && x<=222 && x!=215);
}