Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
Main Page
Related Pages
+
Classes
Class List
Class Index
+
Class Members
+
All
_
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
w
x
+
Variables
_
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
w
x
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
+
Variables
_
b
c
d
e
f
h
i
l
n
p
t
v
w
+
Typedefs
_
a
b
c
d
f
i
j
n
s
t
u
v
w
Enumerator
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerator
Macros
Pages
iswalpha.c
Go to the documentation of this file.
1
#include <
wctype.h
>
2
3
static
const
unsigned
char
table
[] = {
4
#include "
alpha.h
"
5
};
6
7
int
iswalpha
(
wint_t
wc)
8
{
9
if
(wc < 0x20000U)
10
{
11
return
(
table
[
table
[wc >> 8] * 32 + ((wc & 255) >> 3)] >> (wc & 7)) & 1;
12
}
13
if
(wc < 0x2fffeU)
14
{
15
return
1;
16
}
17
return
0;
18
}
wint_t
unsigned wint_t
Definition:
wctype.h:11
iswalpha
int iswalpha(wint_t wc)
Definition:
iswalpha.c:7
table
static const unsigned char table[]
Definition:
iswalpha.c:3
wctype.h
alpha.h
src
wchar
iswalpha.c
Generated by
1.8.15