wcscat

Section: C Library Functions (3)
Updated: 2026-02-08
Index JM Home Page roff page
 

名前

wcscat - 2 つのワイド文字文字列を結合する  

ライブラリ

標準 C ライブラリ (libc,~-lc)  

書式

#include <wchar.h>

wchar_t *wcscat(wchar_t *restrict dest, const wchar_t *restrict src);
 

説明

The wcscat() function is the wide-character equivalent of the strcat(3) function. It copies the wide-character string pointed to by src, including the terminating null wide character (L'\0'), to the end of the wide-character string pointed to by dest.

これらの文字列は重なっていてはならない。

プログラマは、少なくとも wcslen(dest)+wcslen(src)+1 文字の ワイド文字が入るだけの領域を dest に対して確保しなければならない。  

返り値

wcscat() は dest を返す。  

属性

この節で使用されている用語の説明については、 attributes(7) を参照。
インターフェース属性値
wcscat() Thread safetyMT-Safe
 

標準規格

C11, POSIX.1-2008.  

歴史

POSIX.1-2001, C99.  

関連項目

strcat(3), wcpcpy(3), wcscpy(3), wcsncat(3)


 

Index

名前
ライブラリ
書式
説明
返り値
属性
標準規格
歴史
関連項目

This document was created by man2html, using the manual pages.