1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
10 .\" References consulted:
11 .\" GNU glibc-2 source code and manual
12 .\" Dinkumware C library reference http://www.dinkumware.com/
13 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
15 .TH WMEMCMP 3 2013-11-05 "GNU" "Linux Programmer's Manual"
17 wmemcmp \- compare two arrays of wide-characters
22 .BI "int wmemcmp(const wchar_t *" s1 ", const wchar_t *" s2 ", size_t " n );
27 function is the wide-character equivalent of the
32 wide-characters starting at
36 wide-characters starting at
42 zero if the wide-character arrays of size
49 It returns an integer greater than
50 zero if at the first differing position
55 corresponding wide-character
59 It returns an integer less than zero if
60 at the first differing position
71 .SS Multithreading (see pthreads(7))
74 function is thread-safe.