1
0
Fork 0
qmail/str_cpy.c
D. J. Bernstein af9625ddf9 qmail 1.01
2009-12-18 13:07:04 +01:00

16 lines
330 B
C

#include "str.h"
unsigned int str_copy(s,t)
register char *s;
register char *t;
{
register int len;
len = 0;
for (;;) {
if (!(*s = *t)) return len; ++s; ++t; ++len;
if (!(*s = *t)) return len; ++s; ++t; ++len;
if (!(*s = *t)) return len; ++s; ++t; ++len;
if (!(*s = *t)) return len; ++s; ++t; ++len;
}
}