projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
date and time created 82/06/26 14:01:31 by sam
[unix-history]
/
usr
/
src
/
usr.bin
/
ex
/
bcopy.c
/* block copy from from to to, count bytes */
static char
*
sccsid
=
"@(#)bcopy.c 7.1 %G%"
;
bcopy
(
from
,
to
,
count
)
#ifdef vax
char
*
from
, *
to
;
int
count
;
{
asm
(
" movc3 12(ap),*4(ap),*8(ap)"
);
}
#else
register
char
*
from
, *
to
;
register
int
count
;
{
while
((
count
--) >
0
)
/* mjm */
*
to
++ = *
from
++;
}
#endif