1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\" References consulted:
6 .\" GNU glibc-2 source code and manual
7 .\" Dinkumware C library reference http://www.dinkumware.com/
8 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
10 .TH WCSNCASECMP 3 2021-03-22 "Linux man-pages (unreleased)" "Linux Programmer's Manual"
12 wcsncasecmp \- compare two fixed-size wide-character strings, ignoring case
15 .RI ( libc ", " \-lc )
20 .BI "int wcsncasecmp(const wchar_t *" s1 ", const wchar_t *" s2 ", size_t " n );
24 Feature Test Macro Requirements for glibc (see
25 .BR feature_test_macros (7)):
31 _POSIX_C_SOURCE >= 200809L
38 function is the wide-character equivalent of the
41 It compares the wide-character string pointed to
44 and the wide-character string
49 wide characters from each string, ignoring case differences
56 if the wide-character strings at
60 truncated to at most length
63 for case distinctions.
64 It returns a positive integer if truncated
67 greater than truncated
70 It returns a negative integer
73 is smaller than truncated
79 function is provided in glibc since version 2.1.
81 For an explanation of the terms used in this section, see
89 Interface Attribute Value
92 T} Thread safety MT-Safe locale
99 This function is not specified in POSIX.1-2001,
100 and is not widely available on other systems.