##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::wcsncat

From cppreference.com
< cpp‎ | string‎ | wide

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.

### [edit] 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

### [edit] Return value

`dest`

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

wcscat | appends a copy of one wide string to another (function) [edit]
wcscpy | copies one wide string to another (function) [edit]
C documentation for wcsncat

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/string/wide/wcsncat&oldid=59121"
Category:

- Todo no example