Initial revision

This commit is contained in:
ceriel
1987-01-06 11:41:50 +00:00
parent 3788350d7c
commit a7aa5d93ff
38 changed files with 1227 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
/* return negative, zero or positive value if
resp. s < t, s == t or s > t
*/
int
strcmp(s, t)
register char *s, *t;
{
while (*s == *t++)
if (*s++ == '\0')
return 0;
return *s - *--t;
}