home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 100-199 / ff110.lzh / Pdc / lib / strcpy.c < prev    next >
C/C++ Source or Header  |  1987-10-28  |  351b  |  18 lines

  1. /*
  2.  * strcpy - copy string src to dst
  3.  */
  4. char *                                 /* dst */
  5. strcpy(dst, src)
  6. char *dst;
  7. CONST char *src;
  8. {
  9.          register char *dscan;
  10.          register CONST char *sscan;
  11.  
  12.          dscan = dst;
  13.          sscan = src;
  14.          while ((*dscan++ = *sscan++) != '\0')
  15.                    continue;
  16.          return(dst);
  17. }
  18.