wcpcpyのヘルプ・マニュアル
日本語 英語
wcpcpy --help
man wcpcpy
WCPCPY(3) Linux Programmer’s Manual WCPCPY(3)
名前
wcpcpy - ワイド文字文字列をコピーし、その末尾を指すポインタを返す
書式
#define _GNU_SOURCE
#include
wchar_t *wcpcpy(wchar_t *dest, const wchar_t *src);
説明
wcpcpy() 関数は、 stpcpy(3) 関数に対応するワイド文字関数である。この関
数は src が指すワイド文字文字列を、終端の L'\0' を含めて、 dest が指 す
配列にコピーする。
これらの文字列は重なっていてはならない。
プ ログラマは、dest が指す領域に少なくともワイド文字 wcslen(src)+1 個分
の領域を確保しなければならない。
返り値
wcpcpy() は、ワイド文字文字列 dest の末尾、つまり終端の L'\0' 文字を 指
すポインタを返す。
準拠
この関数は GNU 拡張である。
関連項目
strcpy(3), wcscpy(3), feature_test_macros(7)
GNU 1999-07-25 WCPCPY(3)
WCPCPY(3) Linux Programmer’s Manual WCPCPY(3)
NAME
wcpcpy - copy a wide-character string, returning a pointer to its end
SYNOPSIS
#define _GNU_SOURCE
#include
wchar_t *wcpcpy(wchar_t *dest, const wchar_t *src);
DESCRIPTION
The wcpcpy() function is the wide-character equivalent of the stpcpy(3)
function. It copies the wide-character string pointed to by src,
including the terminating L'\0' character, to the array pointed to by
dest.
The strings may not overlap.
The programmer must ensure that there is room for at least
wcslen(src)+1 wide characters at dest.
RETURN VALUE
wcpcpy() returns a pointer to the end of the wide-character string
dest, that is, a pointer to the terminating L'\0' character.
CONFORMING TO
This function is a GNU extension.
SEE ALSO
strcpy(3), wcscpy(3), feature_test_macros(7)
COLOPHON
This page is part of release 3.22 of the Linux man-pages project. A
description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU 1999-07-25 WCPCPY(3)