wcsncat

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

名前

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

ライブラリ

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

書式

#include <wchar.h>

wchar_t *wcsncat(size_t n;
                 wchar_t *restrict dest,
                 const wchar_t src[restrict n],
                 size_t n);
 

説明

The wcsncat() function is the wide-character equivalent of the strncat(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 null wide character (L'\0').

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

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

返り値

wcsncat() は dest を返す。  

属性

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

標準規格

C11, POSIX.1-2008.  

歴史

POSIX.1-2001, C99.  

関連項目

strncat(3), wcscat(3)


 

Index

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

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