STRCMP(3)

NAME
6.20 `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.

SEE ALSO
strcmp is part of the library. The full documentation for is maintained as a Texinfo manual. If info and are properly installed at your site, the command

    info

will give you access to the complete manual.