自己写也行
void memcopy(word src_address, word des_address, word length) { word i; word *s_addr, *d_addr; s_addr = (word *)src_address; d_addr = (word *)des_address;
for(i=0;i<length; i++)
{ *d_addr = *s_addr; d_addr++; s_addr++; }
}
[此贴子已经被作者于2007-11-4 10:51:43编辑过] |