4.4BSD/usr/src/contrib/mh-6.8/sbr/copy.c

Compare this file to the similar file:
Show the results in this format:

/* copy.c - copy a string and return pointer to NULL terminator */


char   *copy (from, to)
register char  *from,
               *to;
{
    while (*to++ = *from++)
	continue;

    return (to - 1);
}