]> diplodocus.org Git - nmh/blob - sbr/copy.c
Sigh. I put the documentation about the -tls switch in the long description,
[nmh] / sbr / copy.c
1
2 /*
3 * copy.c -- copy a string and return pointer to NULL terminator
4 *
5 * This code is Copyright (c) 2002, by the authors of nmh. See the
6 * COPYRIGHT file in the root directory of the nmh distribution for
7 * complete copyright information.
8 */
9
10 #include <h/mh.h>
11
12 char *
13 copy(char *from, char *to)
14 {
15 while ((*to = *from)) {
16 to++;
17 from++;
18 }
19 return (to);
20 }