projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4007c8a66492393b2f5edde875346a63ede8c114
[musl]
/
src
/
ctype
/
iswalpha.c
1
#include <wctype.h>
2
3
static unsigned char table[] = {
4
#include "alpha.h"
5
};
6
7
int iswalpha(wint_t wc)
8
{
9
if (wc<0x20000U)
10
return (table[table[wc>>8]*32+((wc&255)>>3)]>>(wc&7))&1;
11
if (wc<0x2fffeU)
12
return 1;
13
return 0;
14
}