projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mhshow: Automatically invoke (one) pager for the whole message, if on TTY.
[mmh]
/
sbr
/
concat.c
diff --git
a/sbr/concat.c
b/sbr/concat.c
index
4c3fcff
..
5c519e9
100644
(file)
--- a/
sbr/concat.c
+++ b/
sbr/concat.c
@@
-11,6
+11,17
@@
#include <h/utils.h>
+static char *
+copy(char *from, char *to)
+{
+ while ((*to = *from)) {
+ to++;
+ from++;
+ }
+ return (to);
+}
+
+
char *
concat(char *s1, ...)
{