📄 mstrcpe2.c
字号:
/*
** String copy that returns a pointer to the end
** of the destination argument, without using any
** of the library string routines. (Version 2)
*/
#include <string.h>
char *
my_strcpy_end( register char *dst, register char const *src )
{
while( ( *dst++ = *src++ ) != '\0' )
;
return dst - 1;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -