Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | string‎ | wide
m (Text replace - "{{cpp/title| str" to "{{cpp/title| wcs")
m (Text replace - "{{cpp/string/narrow/sidebar}}" to "{{cpp/string/wide/sidebar}}")
Line 1: Line 1:
 
{{cpp/title| wcsncat}}
 
{{cpp/title| wcsncat}}
{{cpp/string/narrow/sidebar}}
+
{{cpp/string/wide/sidebar}}
 
{{ddcl | header=cstring |
 
{{ddcl | header=cstring |
 
char *strncat( char *dest, const char *src, size_t count );
 
char *strncat( char *dest, const char *src, size_t count );

Revision as of 11:30, 25 November 2011

Template:cpp/string/wide/sidebar

Defined in header <cstring>
char *strncat( char *dest, const char *src, size_t count );

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

Contents

Parameters

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

Return value

dest

Example

Template:example cpp

See also

Template:cpp/string/narrow/dcl list strcatTemplate:cpp/string/narrow/dcl list strcpy