2.14.12 strcoll

Declaration:

int strcoll(const char *str1, const char *str2);

Compares string str1 to str2. The result is dependent on the LC_COLLATE setting of the location.

Returns zero if str1 and str2 are equal. Returns less than zero or greater than zero if str1 is less than or greater than str2 respectively.

Tagged: