libc.info: strcmp

Go forward to strcoll
Go backward to strchr
Go up to Strings
Go to the top op libc

`strcmp'--character string compare

*Synopsis*
     #include <string.h>
     int strcmp(const char *A, const char *B);
   *Description*
`strcmp' compares the string at A to the string at B.
*Returns*
If `*A' sorts lexicographically after `*B', `strcmp' returns a number
greater than zero.  If the two strings match, `strcmp' returns zero.
If `*A' sorts lexicographically before `*B', `strcmp' returns a number
less than zero.
*Portability*
`strcmp' is ANSI C.
   `strcmp' requires no supporting OS subroutines.