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
11 .TH WCSCMP 3 2021-03-22 "Linux man-pages (unreleased)" "Linux Programmer's Manual"
13 wcscmp \- compare two wide-character strings
16 .RI ( libc ", " \-lc )
21 .BI "int wcscmp(const wchar_t *" s1 ", const wchar_t *" s2 );
26 function is the wide-character equivalent
30 It compares the wide-character string pointed to by
33 wide-character string pointed to by
38 function returns zero if the wide-character strings at
43 It returns an integer greater than zero if
44 at the first differing position
46 the corresponding wide-character
50 It returns an integer less than zero if
51 at the first differing position
53 the corresponding wide-character
58 For an explanation of the terms used in this section, see
66 Interface Attribute Value
69 T} Thread safety MT-Safe
75 POSIX.1-2001, POSIX.1-2008, C99.