COHERENT manpages

This page displays the COHERENT manpage for strcasecmp() [Case-insensitive string comparison].

List of available manpages
Index


strcasecmp() -- Sockets Function (libsocket)

Case-insensitive string comparison
int strcasecmp (left, right)
char *left, *right;

Function strcasecmp()  compares strings left and right.  It returns zero if
the strings  are identical; -1  if left is lexigraphically  less than (that
is,  occurs earlier  in the  alphabet)  than right;  or one  if if  left is
lexicographically  greater  than   right.  Unlike  the  function  strcmp(),
strcasecmp() ignores case when it compares the strings.

See Also

libsocket,
strcmp(),
string.h