Logo Search packages:      
Sourcecode: fastforward version File versions  Download package

str_cpy.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;
  }
}

Generated by  Doxygen 1.6.0   Back to index