Everything

wcscmp


Compares the contents of two strings specified.

[Format]

#include <wchar.h>

long wcscmp(const wchar_t *s1, const wchar_t *s2);

[Parameters]

s1 Pointer to the reference string to be compared

s2 Pointer to the string to compare to the reference

[Return values]

If string pointed by s1 > string pointed by s2: Positive value

If string pointed by s1 == string pointed by s2: 0

If string pointed by s1 < string pointed by s2: Negative value

[Remarks]

The wcscmp function is the wide-character version of the strcmp function.