Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/string/wide/wcsncat"

From cppreference.com
< cpp‎ | string‎ | wide
m (Text replace - "{{example cpp" to "{{example")
(+see c)
Line 15: Line 15:
  
 
===Return value===
 
===Return value===
 
 
{{tt|dest}}
 
{{tt|dest}}
  
Line 29: Line 28:
 
{{dcl list template | cpp/string/wide/dcl list wcscat}}
 
{{dcl list template | cpp/string/wide/dcl list wcscat}}
 
{{dcl list template | cpp/string/wide/dcl list wcscpy}}
 
{{dcl list template | cpp/string/wide/dcl list wcscpy}}
 +
{{dcl list see c | c/string/wide/wcsncat}}
 
{{dcl list end}}
 
{{dcl list end}}

Revision as of 06:46, 14 May 2012

Template:cpp/string/wide/sidebar

Defined in header <cwchar>
wchar_t *wcsncat( wchar_t *dest, const wchar_t *src, std::size_t count );

Appends a wide string pointed to by src to a wide string pointed to by dest. At most count wide characters are copied. The resulting wide string is null-terminated. If the strings overlap, the behavior is undefined.

Contents

Parameters

dest - pointer to the null-terminated wide string to append to
src - pointer to the null-terminated wide string to copy from
count - maximum number of wide characters to copy

Return value

dest

Example

See also

Template:cpp/string/wide/dcl list wcscatTemplate:cpp/string/wide/dcl list wcscpy
C documentation for wcsncat