|
|
1.1 ! root 1: /* $Header: strpcpy.c,v 1.1 85/03/14 17:00:27 nicklin Exp $ */ ! 2: ! 3: /* ! 4: * Author: Peter J. Nicklin ! 5: */ ! 6: ! 7: /* ! 8: * strpcpy() copies string s2 to s1 and returns a pointer to the ! 9: * next character after s1. ! 10: */ ! 11: char * ! 12: strpcpy(s1, s2) ! 13: register char *s1; ! 14: register char *s2; ! 15: { ! 16: while (*s1++ = *s2++) ! 17: continue; ! 18: return(--s1); ! 19: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.