WCSCOLL(3) NEWLIB WCSCOLL(3)NAME
7.9 `wcscoll'--locale-specific wide-character string compare
SYNOPSIS
#include <wchar.h>
int wcscoll(const wchar_t *STRA, const wchar_t * STRB);
DESCRIPTION
`wcscoll' compares the wide-character string pointed to by STRA to the
wide-character string pointed to by STRB, using an interpretation
appropriate to the current `LC_COLLATE' state.
The current implementation of `wcscoll' simply uses `wcscmp' and
does not support any language-specific sorting.
RETURNS
If the first string is greater than the second string, `wcscoll'
returns a number greater than zero. If the two strings are equivalent,
`wcscoll' returns zero. If the first string is less than the second
string, `wcscoll' returns a number less than zero.
PORTABILITY
`wcscoll' is ISO/IEC 9899/AMD1:1995 (ISO C).
SEE ALSOwcscoll is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 WCSCOLL(3)