strncat [C++ Reference]
Keywords: c,string,strncat
Date: 2009-01-28T08:11:04-0800

[[strncat]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## strncat

Syntax:

        #include <cstring>
        char *strncat( char *str1, const char *str2, size_t count );

The function strncat() concatenates at most count characters of str2 onto str1, adding a null termination. The resulting string is returned.

Related Topics: strcat, strchr, strncmp, strncpy

Another set of related (but non-standard) functions are strlcpy and strlcat.

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •