2 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\" References consulted:
7 .\" GNU glibc-2 source code and manual
8 .\" Dinkumware C library reference http://www.dinkumware.com/
9 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
11 .TH wcsncasecmp 3 (date) "Linux man-pages (unreleased)"
13 wcsncasecmp \- compare two fixed-size wide-character strings, ignoring case
16 .RI ( libc ", " \-lc )
21 .BI "int wcsncasecmp(const wchar_t " s1 [. n "], const wchar_t " s2 [. n "], s\
26 Feature Test Macro Requirements for glibc (see
27 .BR feature_test_macros (7)):
33 _POSIX_C_SOURCE >= 200809L
40 function is the wide-character equivalent of the
43 It compares the wide-character string pointed to
46 and the wide-character string
51 wide characters from each string, ignoring case differences
58 if the wide-character strings at
62 truncated to at most length
65 for case distinctions.
66 It returns a positive integer if truncated
69 greater than truncated
72 It returns a negative integer
75 is smaller than truncated
79 For an explanation of the terms used in this section, see
85 Interface Attribute Value
90 T} Thread safety MT-Safe locale