wcsncmp --
compare two wide character strings with bound
Synopsis
#include <wchar.h>
int wcsncmp(const wchar_t *ws1, const wchar_t *ws2, size_t n);
Description
wcsncmp compares not more than n wide characters
from the array pointed to by ws1 to the array pointed to
by ws2.
The function does not compare wide characters that follow a null wide
character.
Return values
wcsncmp compares its arguments and returns an integer less than,
equal to, or greater than zero, depending on whether the wide string
ws1 is less than, equal to, or greater than the wide string ws2.
The null wide character compares less than any other wide character.