2 * Implementation function behind dupcat() in misc.h.
4 * This function is called with an arbitrary number of 'const char *'
5 * parameters, of which the last one is a null pointer. The wrapper
6 * macro puts on the null pointer itself, so normally callers don't
16 char *dupcat_fn(const char *s1
, ...)
25 sn
= va_arg(ap
, char *);
32 p
= snewn(len
+ 1, char);
38 sn
= va_arg(ap
, char *);