projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
can't reset it if not set up
[unix-history]
/
usr
/
src
/
old
/
dump.4.1
/
l3tol.c
/*
* 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) %G%"
;
#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
}
}