byte_cr.c
changeset 0 c045670f36e9
equal deleted inserted replaced
-1:000000000000 0:c045670f36e9
       
     1 #include "byte.h"
       
     2 
       
     3 void byte_copyr(to,n,from)
       
     4 register char *to;
       
     5 register unsigned int n;
       
     6 register char *from;
       
     7 {
       
     8   to += n;
       
     9   from += n;
       
    10   for (;;) {
       
    11     if (!n) return; *--to = *--from; --n;
       
    12     if (!n) return; *--to = *--from; --n;
       
    13     if (!n) return; *--to = *--from; --n;
       
    14     if (!n) return; *--to = *--from; --n;
       
    15   }
       
    16 }