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

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

/* copyip.c - copy a string array and return pointer to end */


char  **copyip (p, q)
register char  **p,
	       **q;
{
    while (*p)
	*q++ = *p++;
    *q = 0;

    return q;
}