Logo Search packages:      
Sourcecode: ucspi-tcp version File versions  Download package

byte_copy.c

#include "byte.h"

void byte_copy(to,n,from)
register char *to;
register unsigned int n;
register char *from;
{
  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;
  }
}

Generated by  Doxygen 1.6.0   Back to index