|
|
coherent
strcmp() String Function strcmp() Compare two strings #include <string.h> iinntt ssttrrccmmpp(_s_t_r_i_n_g_1, _s_t_r_i_n_g_2) cchhaarr *_s_t_r_i_n_g_1, *_s_t_r_i_n_g_2; strcmp compares string1 with string2 lexicographically. It returns zero if the strings are identical, returns a number less than zero if string1 occurs earlier alphabetically than string2, and returns a number greater than zero if it occurs later. This routine is compatible with the ordering routine needed by qsort. ***** Example ***** For examples of this function, see the entries for string functions and malloc. ***** See Also ***** qsort(), shellsort(), string functions, string.h, strncmp() COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.