wcsncmp(3C) wcsncmp(3C)
NAME
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.
REFERENCES
wchar(5), wcscmp(3C)
Copyright 1994 Novell, Inc. Page 1