Mercurial > hg > Applications > mh
view sbr/copy.c @ 0:bce86c4163a3
Initial revision
author | kono |
---|---|
date | Mon, 18 Apr 2005 23:46:02 +0900 |
parents | |
children |
line wrap: on
line source
/* copy.c - copy a string and return pointer to NULL terminator */ char *copy (from, to) register char *from, *to; { while (*to++ = *from++) continue; return (to - 1); }