7.24.4.4.2 The wcscoll function

Synopsis

1

#include <wchar.h>
int wcscoll(const wchar_t *s1, const wchar_t *s2);

Description

2

The wcscoll function compares the wide string pointed to by s1 to the wide string pointed to by s2, both interpreted as appropriate to the LC_COLLATE category of the current locale.

Returns

3

The wcscoll function returns an integer greater than, equal to, or less than zero, accordingly as the wide string pointed to by s1 is greater than, equal to, or less than the wide string pointed to by s2 when both are interpreted as appropriate to the current locale.