main shrub/shrubtools / shared / byte_cr.c
 1/* Public domain. */
 2
 3#include "byte.h"
 4
 5void byte_copyr(to,n,from)
 6register char *to;
 7register unsigned int n;
 8register char *from;
 9{
10  to += n;
11  from += n;
12  for (;;) {
13    if (!n) return; *--to = *--from; --n;
14    if (!n) return; *--to = *--from; --n;
15    if (!n) return; *--to = *--from; --n;
16    if (!n) return; *--to = *--from; --n;
17  }
18}