Difference between revisions of "cpp/string/byte/strncat"
From cppreference.com
m (Text replace - "/sidebar" to "/navbar") |
m (r2.7.3) (Robot: Adding de, es, it, pt, ru) |
||
Line 31: | Line 31: | ||
{{dcl list end}} | {{dcl list end}} | ||
+ | [[de:cpp/string/byte/strncat]] | ||
+ | [[es:cpp/string/byte/strncat]] | ||
[[fr:cpp/string/byte/strncat]] | [[fr:cpp/string/byte/strncat]] | ||
+ | [[it:cpp/string/byte/strncat]] | ||
[[ja:cpp/string/byte/strncat]] | [[ja:cpp/string/byte/strncat]] | ||
+ | [[pt:cpp/string/byte/strncat]] | ||
+ | [[ru:cpp/string/byte/strncat]] | ||
[[zh:cpp/string/byte/strncat]] | [[zh:cpp/string/byte/strncat]] |
Revision as of 16:12, 2 November 2012
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
Example
This section is incomplete Reason: no example |
See also
C documentation for strncat
|