DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T m

⟦0afb99133⟧ TextFile

    Length: 735 (0x2df)
    Types: TextFile
    Names: »multcpy.c«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« 
        └─⟦e5a54fb17⟧ 
            └─⟦this⟧ »pp-5.0/Lib/util/multcpy.c« 

TextFile

/* multcpy: copy several strings */

# ifndef lint
static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Lib/util/RCS/multcpy.c,v 5.0 90/09/20 16:17:35 pp Exp Locker: pp $";
# endif

/*
 * $Header: /cs/research/pp/hubris/pp-beta/Lib/util/RCS/multcpy.c,v 5.0 90/09/20 16:17:35 pp Exp Locker: pp $
 *
 * $Log:	multcpy.c,v $
 * Revision 5.0  90/09/20  16:17:35  pp
 * rcsforce : 5.0 public release
 * 
 */



#include <varargs.h>

/* VARARGS 2 */
char *
multcpy (to, va_alist)
register char   *to;
va_dcl
{
	register va_list ap;
	register char   *from;

	va_start(ap);

	while(from = va_arg(ap, char *)){
		while(*to++ = *from++);
		to--;
	}
	va_end(ap);
	return (to);            /* return pointer to end of str         */
}