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

int isgraph(int x) {
  unsigned char c=x&0xff;
  return (c>=33 && c<=126) || (c>=161 && c<=255);
}