projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't call writev() anymore.
[mmh]
/
sbr
/
copy.c
diff --git
a/sbr/copy.c
b/sbr/copy.c
index
577e811
..
0e013ab
100644
(file)
--- a/
sbr/copy.c
+++ b/
sbr/copy.c
@@
-1,18
+1,19
@@
-
/*
/*
- * copy.c -- copy a string and return pointer to NULL terminator
- *
- * $Id$
- */
+** copy.c -- copy a string and return pointer to NULL terminator
+**
+** This code is Copyright (c) 2002, by the authors of nmh. See the
+** COPYRIGHT file in the root directory of the nmh distribution for
+** complete copyright information.
+*/
#include <h/mh.h>
char *
copy(char *from, char *to)
{
#include <h/mh.h>
char *
copy(char *from, char *to)
{
- while ((*to = *from)) {
- to++;
- from++;
- }
- return (to);
+ while ((*to = *from)) {
+ to++;
+ from++;
+ }
+ return (to);
}
}