Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | string‎ | wide
m (Text replace - "dcl list str" to "dcl list wcs")
m (Text replace - "cpp/string/narrow/dcl" to "cpp/string/wide/dcl")
Line 27: Line 27:
 
===See also===
 
===See also===
 
{{dcl list begin}}
 
{{dcl list begin}}
{{dcl list template | cpp/string/narrow/dcl list wcscat}}
+
{{dcl list template | cpp/string/wide/dcl list wcscat}}
{{dcl list template | cpp/string/narrow/dcl list wcscpy}}
+
{{dcl list template | cpp/string/wide/dcl list wcscpy}}
 
{{dcl list end}}
 
{{dcl list end}}

Revision as of 11:45, 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/wide/dcl list wcscatTemplate:cpp/string/wide/dcl list wcscpy