Difference between revisions of "cpp/string/byte/strncat"
From cppreference.com
m (moved cpp/string/narrow/strncat to cpp/string/byte/strncat: narrow -> byte) |
m (Text replace - "cpp/string/narrow" to "cpp/string/byte") |
||
Line 1: | Line 1: | ||
{{cpp/title| strncat}} | {{cpp/title| strncat}} | ||
− | {{cpp/string/ | + | {{cpp/string/byte/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 ); | ||
Line 27: | Line 27: | ||
===See also=== | ===See also=== | ||
{{dcl list begin}} | {{dcl list begin}} | ||
− | {{dcl list template | cpp/string/ | + | {{dcl list template | cpp/string/byte/dcl list strcat}} |
− | {{dcl list template | cpp/string/ | + | {{dcl list template | cpp/string/byte/dcl list strcpy}} |
{{dcl list end}} | {{dcl list end}} |
Revision as of 17:35, 26 November 2011
Template:cpp/string/byte/sidebar
Defined in header <cstring>
|
||
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