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

⟦52d7e7633⟧ TextFile

    Length: 499 (0x1f3)
    Types: TextFile
    Names: »bcopy.c«

Derivation

└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z« 
        └─⟦ca79c7339⟧ 
            └─⟦this⟧ »DVIware/laser-setters/mctex/lib/bcopy.c« 

TextFile

#ifndef lint
static char rcsid[] = "$Header: /usr/src/local/tex/local/mctex/lib/RCS/bcopy.c,v 3.1 89/08/22 21:42:07 chris Exp $";
#endif

/*
 * Sample bcopy() routine.
 * This should be rewritten to be as fast as possible for your
 * machine.
 */
bcopy(from, to, count)
	register char *from, *to;
	register int count;
{

	if (from == to)
		return;
	if (from > to) {
		while (--count >= 0)
			*to++ = *from++;
	} else {
		from += count;
		to += count;
		while (--count >= 0)
			*--to = *--from;
	}
}