NeoMutt
2025-05-10
Teaching an old dog new tricks
DOXYGEN
Toggle main menu visibility
Home
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
e
f
g
h
i
k
l
m
n
o
p
r
s
t
w
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
w
x
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
Libraries
APIs
GitHub
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
wcscasecmp.c
Go to the documentation of this file.
1
29
#include "config.h"
30
#include <wchar.h>
31
#include <wctype.h>
32
41
int
wcscasecmp
(
const
wchar_t
*a,
const
wchar_t
*b)
42
{
43
if
(!a && !b)
44
return
0;
45
if
(!a && b)
46
return
-1;
47
if
(a && !b)
48
return
1;
49
50
for
(; *a || *b; a++, b++)
51
{
52
int
i = towlower(*a);
53
if
((i - towlower(*b)) != 0)
54
return
i;
55
}
56
return
0;
57
}
wcscasecmp
int wcscasecmp(const wchar_t *a, const wchar_t *b)
Compare two wide-character strings, ignoring case.
Definition:
wcscasecmp.c:41