copy X
1: /* copy.c - copy a string and return pointer to NULL terminator */ 2: 3: 4: char *copy (from, to) 5: register char *from, 6: *to; 7: { 8: while (*to++ = *from++) 9: continue; 10: 11: return (to - 1); 12: };