Implementation of strcpy () library functions

xiaoxiao2021-03-06  41

Char * STRCPY (Char * DST, Const Char * src) {Assert (null! = src); assert (null! = dst); assert (DST! = src);

Char * cp = dst; while ('/ 0'! = (* CP = * src ); return dst;} Reference article http://dev.9cbs.net/develop/Article/17/17569.shtmhtp:/ /dev.9cbs.net/develop/Article/16/16680.shtm

转载请注明原文地址:https://www.9cbs.com/read-53042.html

New Post(0)