Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

wmemcmp - Compare two wide character strings

&pagelevel(4)&pagelevel

Definition

#include <wchar.h>

int wmemchr(const wchar_t *ws1, const wchar_t *ws2, size_t n);

wmemcmp lexically compares the first n bytes of the two wide character strings ws1 and ws2.

Return val.

< 0

= 0

> 0

ws1 is lexically less than ws2.

ws1 and ws2 sare lexically equal.

ws1 is lexically greater than ws2.

Note

This version of the C runtime system only supports one-byte characters as wide character
codes.

See also

memcmp, wcsstr, wmemchr, wmemcpy