summaryrefslogtreecommitdiff
path: root/byte_cr.c
blob: 3e7a1d5448b9280303a10779f70cbdbf5eaced0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "byte.h"

void byte_copyr(to,n,from)
register char *to;
register unsigned int n;
register char *from;
{
  to += n;
  from += n;
  for (;;) {
    if (!n) return; *--to = *--from; --n;
    if (!n) return; *--to = *--from; --n;
    if (!n) return; *--to = *--from; --n;
    if (!n) return; *--to = *--from; --n;
  }
}