1: /*
   2:  * Compare strings:  s1>s2: >0  s1==s2: 0  s1<s2: <0
   3:  */
   4: 
   5: strcmp(s1, s2)
   6: register char *s1, *s2;
   7: {
   8: 
   9:     while (*s1 == *s2++)
  10:         if (*s1++=='\0')
  11:             return(0);
  12:     return(*s1 - *--s2);
  13: }

Defined functions

strcmp defined in line 5; used 159 times
Last modified: 1979-01-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 501
Valid CSS Valid XHTML 1.0 Strict