runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

byte_cr.c (337B)


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