projects
/
mmh
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8d7b6f54d11b4fd8e3a0c21463befbe956459b13
[mmh]
/
sbr
/
copyip.c
1
2
/*
3
* copyip.c -- copy a string array and return pointer to end
4
*
5
* $Id$
6
*/
7
8
#include <h/mh.h>
9
10
11
char **
12
copyip (char **p, char **q, int len_q)
13
{
14
while (*p && --len_q > 0)
15
*q++ = *p++;
16
17
*q = NULL;
18
19
return q;
20
}