<b>int strcmp(char *s, char *t)</b>




Document: The C Standard Library

next Mathematical Functions: math.h
up String Functions: string.h
gif char *strcat(char *schar *t)

int strcmp(char *s, char *t)

Compare the strings pointed to by s and t. The return value is zero if the two strings are identical; it is negative if s would come before t in an alphabetical ordering; and positive if t would come before s.



McMullin@eeng.dcu.ie
Fri Mar 29 14:35:38 GMT 1996