view sbr/copyip.c @ 17:76d91e545ea8 default tip

addrsbr and dtimep fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 24 Nov 2014 14:49:25 +0900
parents bce86c4163a3
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;
}