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
wctrans.c
Go to the documentation of this file.
1
#include <
string.h
>
2
#include <
wctype.h
>
3
4
wctrans_t
wctrans
(
const
char
*
class
)
5
{
6
if
(!
strcmp
(
class
,
"toupper"
))
7
{
8
return
(
wctrans_t
)1;
9
}
10
11
if
(!
strcmp
(
class
,
"tolower"
))
12
{
13
return
(
wctrans_t
)2;
14
}
15
16
return
0;
17
}
string.h
wctype.h
wctrans
wctrans_t wctrans(const char *class)
Definition:
wctrans.c:4
strcmp
int strcmp(const char *s1, const char *s2)
Compares two null-terminated byte strings lexicographically.
Definition:
strcmp.c:12
wctrans_t
const int * wctrans_t
Definition:
wctype.h:10
src
wchar
wctrans.c
Generated by
1.8.15