wcsncatのヘルプ・マニュアル
日本語 英語
wcsncat --help
man wcsncat
WCSNCAT(3) Linux Programmer’s Manual WCSNCAT(3)
名前
wcsncat - 2 つのワイド文字文字列を結合する
書式
#include
wchar_t *wcsncat(wchar_t *dest, const wchar_t *src, size_t n);
説明
wcsncat() 関数は strncat(3) に対応するワイド文字関数である。この関数は
、src が指すワイド文字文字列から最大 n 個分のワイド文字をコ ピ ー し て
、dest が指すワイド文字文字列の末尾に貼り付ける。dest の終端には L'\0'
文字を追加する。
これらの文字列は重なっていてはならない。
プログラマは、dest に少なくとも wcslen(dest) + n + 1 個のワイド文字が入
る領域を確保しておかなければならない。
返り値
wcsncat() は dest を返す。
準拠
C99.
関連項目
strncat(3), wcscat(3)
GNU 1999-07-25 WCSNCAT(3)
WCSNCAT(3) Linux Programmer’s Manual WCSNCAT(3)
NAME
wcsncat - concatenate two wide-character strings
SYNOPSIS
#include
wchar_t *wcsncat(wchar_t *dest, const wchar_t *src, size_t n);
DESCRIPTION
The wcsncat() function is the wide-character equivalent of the strn-
cat(3) function. It copies at most n wide characters from the wide-
character string pointed to by src to the end of the wide-character
string pointed to by dest, and adds a terminating L'\0' character.
The strings may not overlap.
The programmer must ensure that there is room for at least wcslen(dest)
+ n + 1 wide characters at dest.
RETURN VALUE
wcsncat() returns dest.
CONFORMING TO
C99.
SEE ALSO
strncat(3), wcscat(3)
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 WCSNCAT(3)