C++ Programming/Code/Standard C Library/Functions/strncat

< C++ Programming < Code < Standard C Library < Functions

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
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.