| author | tomas@localhost |
| Thu, 01 Nov 2007 14:46:11 +0100 | |
| changeset 0 | c045670f36e9 |
| permissions | -rw-r--r-- |
#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; } }