home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume7 / rvi / part1 / copy.c < prev    next >
Encoding:
C/C++ Source or Header  |  1986-11-30  |  231 b   |  21 lines

  1. /*    copy - copy data structures
  2.     84/12/18.  A. E. Klietz.
  3. */
  4.  
  5. #include "rv.h"
  6.  
  7. #ifdef copy
  8. #undef copy
  9. #endif
  10.  
  11. #ifndef USG
  12. void
  13. copy(to, from, len)
  14. char *to, *from;
  15. int len;
  16. {
  17.     for (; len > 0; --len)
  18.         *(to++) = *(from++);
  19. }
  20. #endif
  21.