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: }

Defined functions

strpcpy defined in line 11; used 3 times
Last modified: 1985-07-03
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1041
Valid CSS Valid XHTML 1.0 Strict