home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / c / yaccsrc2 / ychcpy.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-19  |  190 b   |  13 lines

  1.  
  2. # include "y1.h" 
  3.  
  4. char * chcopy( p, q )
  5. char * p,
  6.      * q;
  7. {
  8.   /* copies string q into p, returning next free char ptr */
  9.   while ( *p = ( *q++ ) )
  10.     ++p;
  11.   return ( p );
  12. }
  13.