projects
/
mmh
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update for the brave new world
[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
}