1 /* 2 * reimplementation of Daniel Bernstein's byte library. 3 * placed in the public domain by Uwe Ohse, uwe@ohse.de. 4 */ 5 #include "byte.h" 6 7 void byte_copyr(char * to,unsigned int n,const char * from)8byte_copyr (char *to, unsigned int n, const char *from) 9 { 10 for (;;) { 11 if (!n--) return; 12 to[n]=from[n]; 13 14 if (!n--) return; 15 to[n]=from[n]; 16 17 if (!n--) return; 18 to[n]=from[n]; 19 20 if (!n--) return; 21 to[n]=from[n]; 22 } 23 } 24