DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

wcscmp(S)


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(M), wcsncmp(S)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005