wcscmp()

compare two wide character strings 

Function


SYNOPSIS

#include <wchar.h>

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


DESCRIPTION

The wcscmp() function is used to compare the wide character string pointed to by ws1 to the wide character string pointed to by ws2.


PARAMETERS

ws1 

Is a null-terminated string to compare.

ws2 

Is a null-terminated string to compare.


RETURN VALUES

The wcscmp() function returns a positive integer if ws1 is greater than ws2, zero if ws1 equals ws2, and a negative integer if ws1 is less than ws2.


CONFORMANCE

ANSI/ISO 9899-1990/AM 1-1995.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
wcsncmp(), wcsrchr(), wcsspn(), wcsxfrm()


PTC MKS Toolkit 10.5 Documentation Build 40.