STRCOLL(3) NEWLIB STRCOLL(3)NAME
6.21 `strcoll'--locale-specific character string compare
SYNOPSIS
#include <string.h>
int strcoll(const char *STRA, const char * STRB);
DESCRIPTION
`strcoll' compares the string pointed to by STRA to the string pointed
to by STRB, using an interpretation appropriate to the current `LC_COL‐
LATE' state.
RETURNS
If the first string is greater than the second string, `strcoll'
returns a number greater than zero. If the two strings are equivalent,
`strcoll' returns zero. If the first string is less than the second
string, `strcoll' returns a number less than zero.
PORTABILITY
`strcoll' is ANSI C.
`strcoll' requires no supporting OS subroutines.
SEE ALSO
strcoll 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 STRCOLL(3)