home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume12 / cnews / part01 / libc / strings / bcopy.c < prev    next >
Encoding:
C/C++ Source or Header  |  1987-10-19  |  211 b   |  14 lines

  1. /*
  2.  - bcopy - Berklix equivalent of memcpy
  3.  */
  4.  
  5. bcopy(src, dst, length)
  6. CONST char *src;
  7. char *dst;
  8. int length;
  9. {
  10.     extern VOIDSTAR memcpy();
  11.  
  12.     (void) memcpy((VOIDSTAR)dst, (CONST VOIDSTAR)src, (SIZET)length);
  13. }
  14.