wcscmp(3C)


wcscmp -- compare two wide character strings

Synopsis

   #include <wchar.h>
   

int wcscmp(const wchar_t *ws1, const wchar_t *ws2);

Description

wcscmp makes a comparison between the wide character string pointed to by ws1 and the wide character string pointed to by ws2.

Return values

wcscmp compares its arguments and returns an integer less than, equal to, or greater than zero, depending on whether wide character string ws1 is less than, equal to, or greater than wide character string ws2. The null wide character compares less than any other wide character.

References

wchar(5), wcsncmp(3C)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004