ssttrrccmmpp() -- String Function (libc)

Compare two strings
#iinncclluuddee <ssttrriinngg.hh>
iinntt ssttrrccmmpp(_s_t_r_i_n_g_1, _s_t_r_i_n_g_2)
cchhaarr *_s_t_r_i_n_g_1, *_s_t_r_i_n_g_2;

ssttrrccmmpp() compares _s_t_r_i_n_g_1  with _s_t_r_i_n_g_2 lexicographically.  It returns zero
if the  strings are identical, returns  a number less than  zero if _s_t_r_i_n_g_1
occurs earlier  alphabetically than _s_t_r_i_n_g_2,  and returns a  number greater
than zero if it occurs later.  This routine is compatible with the ordering
routine needed by qqssoorrtt().

_E_x_a_m_p_l_e
For examples of this function, see the entries for ssttrriinngg.hh and mmaalllloocc().

_S_e_e _A_l_s_o
lliibbcc, qqssoorrtt(), sshheellllssoorrtt(), ssttrriinngg.hh, ssttrrnnccmmpp()
ANSI Standard, section 7.11.4.2
POSIX Standard, section 8.1
