e flag, not c flag
[unix-history] / usr / src / old / dump.4.1 / l3tol.c
CommitLineData
76797561
DF
1/*
2 * Copyright (c) 1980 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 */
6
19fa80e7 7#ifndef lint
76797561
DF
8static char sccsid[] = "@(#)l3tol.c 5.1 (Berkeley) %G%";
9#endif not lint
19fa80e7
SL
10
11l3tol(lp, cp, n)
12long *lp;
13char *cp;
14int n;
15{
16 register i;
17 register char *a, *b;
18
19 a = (char *)lp;
20 b = cp;
21 for(i=0;i<n;i++) {
22#ifdef interdata
23 *a++ = 0;
24 *a++ = *b++;
25 *a++ = *b++;
26 *a++ = *b++;
27#else
28 *a++ = *b++;
29 *a++ = *b++;
30 *a++ = *b++;
31 *a++ = 0;
32#endif
33 }
34}