2 Proprietary Rand Corporation
, 1981.
3 Further distribution of
this software
4 subject to the terms of the Rand
9 int copy_size
; /* if this is non-zero, assume represents */
10 /* actual size of copy_space */
17 register char *r1
, *r2
;
20 /* first time through */
21 cpend
= copy_space
+ (copy_size
? copy_size
: sizeof copy_space
);
22 copy_ptr
= copy_space
;
25 for (r1
= copy_ptr
; r1
< cpend
; ) {
26 if ((*r1
++ = *r2
++) == 0) {
32 write(2, "getcopy out of space\n", 21);