|
|
1.1 ! root 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: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.