CompuServe Messages

#AVL Tree

    06-Sep-86 19:11:07
Sb: #6348-#AVL Tree
Fm: Jeff Brenton 76703,1065
To: Bill Hogsett 72767,1147
memcpy() is a generic routine, usually implement in assembler for the added speed possible. it CAN be done in C, but that would not take advantage of built-in instructions on particular machines, such as the LDIR of the Z80 and MOVS on the 8086. char *memcpy(dest,src,count) char *dest,*src; int count; /* copy count characters [or bytes] from src to dest */ for now, i'll leave the coding up to you, but your compiler SHOULD have an equivalent function – it has been in Unix libraries since before version 7! it _may_ be named move(), or something similar, however.