1WCSCASECMP(3)              Linux Programmer's Manual             WCSCASECMP(3)
2
3
4

NAME

6       wcscasecmp - compare two wide-character strings, ignoring case
7

SYNOPSIS

9       #include <wchar.h>
10
11       int wcscasecmp(const wchar_t *s1, const wchar_t *s2);
12

DESCRIPTION

14       The  wcscasecmp() function is the wide-character equivalent of the str‐
15       casecmp() function. It compares the wide-character string pointed to by
16       s1  and  the wide-character string pointed to by s2, ignoring case dif‐
17       ferences (towupper(), towlower()).
18

RETURN VALUE

20       The wcscasecmp() function returns zero if the wide-character strings at
21       s1 and s2 are equal except for case distinctions. It returns a positive
22       integer if s1 is greater than s2, ignoring case. It returns a  negative
23       integer if s1 is smaller than s2, ignoring case.
24

CONFORMING TO

26       This function is a GNU extension.
27

SEE ALSO

29       strcasecmp(3), wcscmp(3)
30

NOTES

32       The  behaviour  of wcscasecmp() depends on the LC_CTYPE category of the
33       current locale.
34
35
36
37GNU                               1999-07-25                     WCSCASECMP(3)
Impressum