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

NAME

6       wcsncasecmp  -  compare two fixed-size wide-character strings, ignoring
7       case
8

SYNOPSIS

10       #define _GNU_SOURCE
11       #include <wchar.h>
12
13       int wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n);
14

DESCRIPTION

16       The wcsncasecmp() function is  the  wide-character  equivalent  of  the
17       strncasecmp(3) function.  It compares the wide-character string pointed
18       to by s1 and the wide-character string pointed to by s2, but at most  n
19       wide  characters  from  each  string, ignoring case differences (towup‐
20       per(3), towlower(3)).
21

RETURN VALUE

23       The wcsncasecmp() function returns zero if the  wide-character  strings
24       at  s1 and s2, truncated to at most length n, are equal except for case
25       distinctions.  It returns a positive integer if truncated s1 is greater
26       than  truncated  s2,  ignoring  case.  It returns a negative integer if
27       truncated s1 is smaller than truncated s2, ignoring case.
28

CONFORMING TO

30       POSIX.1-2008.  This function is not specified in POSIX.1-2001,  and  is
31       not widely available on other systems.
32

NOTES

34       The  behavior  of wcsncasecmp() depends on the LC_CTYPE category of the
35       current locale.
36

SEE ALSO

38       strncasecmp(3), wcsncmp(3)
39

COLOPHON

41       This page is part of release 3.22 of the Linux  man-pages  project.   A
42       description  of  the project, and information about reporting bugs, can
43       be found at http://www.kernel.org/doc/man-pages/.
44
45
46
47GNU                               2009-02-04                    WCSNCASECMP(3)
Impressum