From: utzoo!decvax!harpo!seismo!dmy
Newsgroups: net.misc,net.lang.c
Title: "Portable" strcatx
Article-I.D.: seismo.207
Posted: Fri Jan 14 12:15:57 1983
Received: Sat Jan 15 06:30:31 1983


#ifdef intro
Here is the "portable" version, which depends on .
As I did not write it nor test it, I make no claims about it,
but it seems simple enough.  If you want and don't have ,
put out a request on the net -- I'm not sure if it's protected by
license, so I won't send it.
#endif

#include 
/* VARARGS1 */
char *strcatx(dest, va_alist)
char *dest;
va_dcl
{
    va_list argptr;
    char *src;
    
    va_start(argptr);
    while ((src = va_arg(argptr, char *)) != NULL)
	strcat (dest, src);
    va_end(argptr);
}