qiaoyihan2013-12-21 16:37:24
分析的不错
memmove的实现,linux内核感觉更巧妙一点,不需要临时空间转存
1 /**
2 * memmove - Copy one area of memory to another
3 * @dest: Where to copy to
4 * @src: Where to copy from
5 * @count: The size of the area.
6 *
7 * Unlike memcpy(), memmove() copes with overlapping areas.
8 */