The strcoll function

Name

strcoll -- 

Synopsis

#include <string.h>

void *strcoll (char *s1, char *s2);

Description

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

Returns

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

See Also

The strcmp function

Implementation Notes

The XGC library supports the "C" locale only.