摘要: If the source and destination overlap, memcpy does not ensure that the original source bytes in the overlapping region are copied before being overwritten. Use memmove to handle overlapping regions
如果原始资料source和目的单元格destination(的地址)重复了。在重复区域的原始source的字节被覆盖以前,memcpy不能保证这些区域被拷贝。使用memove来处理重复的区域。
阅读全文
posted @
2008-10-15 10:31 黑色天使 阅读(2692) |
评论 (5) |
编辑 收藏