|
strcmp int strcmp(const char *s1, const char *s2)
Parameters
s1 A pointer to the first string.
s2 A pointer to the second string.
Return value
The int result of comparing the two strings:
Description Compares two strings. Return value Meaning
>0 s1 > s2
=0 s1 = s2
<0 s1 < s2
Table 21: strcmp return values
E-mail: info@telesys.ru