2 * concat.c -- concatenate a variable number (minimum of 1)
3 * of strings in managed memory
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.
15 concat (char *s1, ...)
21 len = strlen (s1) + 1;
23 while ((cp = va_arg(list, char *)))
27 dp = sp = mh_xmalloc(len);
32 while ((cp = va_arg (list, char *)))