projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history]
/
usr
/
src
/
sys
/
stand
/
bcopy.c
/*-
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
*
* %sccs.include.redist.c%
*
* @(#)bcopy.c 8.1 (Berkeley) %G%
*/
/*
* This is designed to be small, not fast.
*/
void
bcopy
(
s1
,
s2
,
n
)
const void
*
s1
;
void
*
s2
;
unsigned
n
;
{
register
const char
*
f
=
s1
;
register
char
*
t
=
s2
;
while
(
n
!=
0
) {
*
t
++ = *
f
++;
n
--;
}
}