memcpy,如果牵涉到文件映射,应检测dest buf的属性,如果是read_only则会被中断 http://blog.youkuaiyun.com/yeming81/article/details/2046193