char* strcpy(char* dst, const char* src) { assert((dst!=NULL) && (src!=NULL)); char* retAddr = dst; while ((*dst++ = *src++) != '\0') { ; } return retAddr; }
posted on 2014-05-14 21:28 小风儿_xf 阅读(124) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 小风儿_xf Powered by .NET 9.0 on Kubernetes