1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include "dietfeatures.h" char* strcpy(register char* s,register const char* t) { char *dest=s; for (;;) { if (!(*s = *t)) return dest; ++s; ++t; #ifndef WANT_SMALL_STRING_ROUTINES if (!(*s = *t)) return dest; ++s; ++t; if (!(*s = *t)) return dest; ++s; ++t; if (!(*s = *t)) return dest; ++s; ++t; #endif } }