|
|
1.1 root 1: /* Copyright (c) 1979 Regents of the University of California */
2:
3: static char sccsid[] = "@(#)blkcpy.c 1.1 3/7/81";
4:
5: blkcpy(siz, from, to)
6: long siz;
7: register char *from;
8: register char *to;
9: {
10: register int size = siz;
11:
12: if (from + size < to)
13: while(size-- > 0)
14: *to++ = *from++;
15: else {
16: to += size;
17: from += size;
18: while(size-- > 0)
19: *--to = *--from;
20: }
21: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.