projects
/
mmh
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
1.0.1
[mmh]
/
sbr
/
copy.c
1
2
/*
3
* copy.c -- copy a string and return pointer to NULL terminator
4
*
5
* $Id$
6
*/
7
8
#include <h/mh.h>
9
10
char *
11
copy(char *from, char *to)
12
{
13
while ((*to = *from)) {
14
to++;
15
from++;
16
}
17
return (to);
18
}