strcoll()

Syntax
  #include <string.h>

  
  int strcoll(const char *p, const char *q);

  
Description

strcoll() compares the two strings interpreting them according to the current locale, using the character ordering given by the ASCII character set.

Return

A negative integer, if p is smaller than q; zero, if both strings are equal; or a positive integer if p is greater than q.

See also

memcmp(),

strcpy(), and

strncmp()