Name

strcmp — Compare two strings, return 0 if equal.

Synopsis

strcmp stringA stringB

Description

The strcmp takes two strings and compares them, returning 0 if they are equal, 1 if the first string is "greater than" the second string, or -1 if the first string is "less than" the second string.