Namespaces
Variants
Views
Actions

strncat

From cppreference.com
< c‎ | string‎ | byte
Revision as of 17:40, 2 November 2012 by P12bot (Talk | contribs)

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

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

Contents

Parameters

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

Return value

dest

Example

See also

Template:c/string/byte/dcl list strcatTemplate:c/string/byte/dcl list strcpy
C++ documentation for strncat