mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-23 08:24:18 +00:00
32 lines
349 B
C
32 lines
349 B
C
/*
|
|
Copyright 1983
|
|
Alcyon Corporation
|
|
8716 Production Ave.
|
|
San Diego, CA 92121
|
|
|
|
*/
|
|
#include "preproc.h"
|
|
char *strcpy(s,t)
|
|
register char *s, *t;
|
|
{
|
|
register char *s1;
|
|
|
|
s1 = s;
|
|
while(*s++ = *t++)
|
|
;
|
|
return(s1);
|
|
}
|
|
|
|
strcmp(s,t)
|
|
register char *s, *t;
|
|
{
|
|
while( *s ) {
|
|
if( *s++ != *t++ ) {
|
|
s--;
|
|
t--;
|
|
break;
|
|
}
|
|
}
|
|
return( *s - *t );
|
|
}
|