|
|
BSD 4.3reno
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#ifndef lint
static char sccsid[] = "@(#)l3tol.c 5.1 (Berkeley) 6/5/85";
#endif not lint
l3tol(lp, cp, n)
long *lp;
char *cp;
int n;
{
register i;
register char *a, *b;
a = (char *)lp;
b = cp;
for(i=0;i<n;i++) {
#ifdef interdata
*a++ = 0;
*a++ = *b++;
*a++ = *b++;
*a++ = *b++;
#else
*a++ = *b++;
*a++ = *b++;
*a++ = *b++;
*a++ = 0;
#endif
}
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.