概述
手写几个重要的库函数 strcpy,memcpy,memset
相关连接:http://www.cnblogs.com/t427/archive/2012/11/13/2768855.html
http://blog.csdn.net/winglet/article/details/2831605
1.strcpy
<span style="font-family:Microsoft YaHei;font-size:14px;">char * strcpy(char *dst,const char *src)
{
assert(dst != NULL && src != NULL);
char *ret = dst; //[3]
while ((*dst++=*src++)!='