⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wcpcpy.c

📁 Newlib 嵌入式 C库 标准实现代码
💻 C
字号:
/*FUNCTION	<<wcpcpy>>---copy a wide-character string returning a pointer to its endANSI_SYNOPSIS	#include <wchar.h>	wchar_t *wcpcpy(wchar_t *<[s1]>, const wchar_t *,<[s2]>);TRAD_SYNOPSIS	wchar_t *wcpcpy(<[s1]>, <[s2]>	wchar_t *<[s1]>;	const wchar_t *<[s2]>;DESCRIPTION	The <<wcpcpy>> function copies the wide-character string pointed to by	<[s2]> (including the terminating null wide-character code) into the	array pointed to by <[s1]>. If copying takes place between objects that	overlap, the behaviour is undefined. RETURNS	This function returns a pointer to the end of the destination string,	thus pointing to the trailing '\0'.PORTABILITY<<wcpcpy>> is a GNU extension.No supporting OS subroutines are required.*/#include <_ansi.h>#include <wchar.h>wchar_t *_DEFUN (wcpcpy, (s1, s2),	wchar_t * s1 _AND	_CONST wchar_t * s2){  while ((*s1++ = *s2++))    ;  return --s1;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -