Difference between revisions of "cpp/string/wide/wcsncat"
From cppreference.com
m (Text replace - "char *" to "wchar_t *") |
|||
Line 2: | Line 2: | ||
{{cpp/string/wide/sidebar}} | {{cpp/string/wide/sidebar}} | ||
{{ddcl | header=cstring | | {{ddcl | header=cstring | | ||
− | wchar_t * | + | wchar_t *wcsncat( wchar_t *dest, const wchar_t *src, std::size_t count ); |
}} | }} | ||
− | Appends a | + | Appends a wide string pointed to by {{tt|src}} to a wide string pointed to by {{tt|dest}}. At most {{tt|count}} wide characters are copied. The resulting wide string is null-terminated. If the strings overlap, the behavior is undefined. |
===Parameters=== | ===Parameters=== | ||
{{param list begin}} | {{param list begin}} | ||
− | {{param list item | dest | pointer to the null-terminated | + | {{param list item | dest | pointer to the null-terminated wide string to append to}} |
− | {{param list item | src | pointer to the null-terminated | + | {{param list item | src | pointer to the null-terminated wide string to copy from}} |
− | {{param list item | count | maximum number of characters to copy}} | + | {{param list item | count | maximum number of wide characters to copy}} |
{{param list end}} | {{param list end}} | ||
Revision as of 12:03, 25 November 2011
Template:cpp/string/wide/sidebar
Defined in header <cstring>
|
||
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