nightmaremail

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

byte_copy.c (261B)


      1 #include "byte.h"
      2 
      3 void byte_copy(char *to, unsigned int n, char *from)
      4 {
      5   for (;;) {
      6     if (!n) return; *to++ = *from++; --n;
      7     if (!n) return; *to++ = *from++; --n;
      8     if (!n) return; *to++ = *from++; --n;
      9     if (!n) return; *to++ = *from++; --n;
     10   }
     11 }