VMS Help
CRTL, wmemcmp
*Conan The Librarian
|
Compares two arrays of wide characters.
Format
#include <wchar.h>
int wmemcmp (const wchar_t *s1, const wchar_t *s2, size_t n);
s1, s2
Pointers to wide-character arrays.
n
The maximum number of wide characters to be compared.
The wmemcmp function compares the first n wide characters of
the array pointed to by s1 with the first n wide characters of
the array pointed to by s2. The wide characters are compared not
according to locale-dependent collation rules, but as integral
objects of type wchar_t.
0 Arrays are equal.
Positive value The first array is greater than the second.
Negative value The first array is less than the second.