mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
15 lines
291 B
C
15 lines
291 B
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;
|
|
}
|
|
}
|