]> diplodocus.org Git - nmh/blob - sbr/copy.c
* I had alphabetized the --configure options in the --help output
[nmh] / 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 }