view sbr/copyip.c @ 0:bce86c4163a3

Initial revision
author kono
date Mon, 18 Apr 2005 23:46:02 +0900
parents
children
line wrap: on
line source

/* 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;
}