![]() -> Click here to learn how to get live help <- |
STRCATIndexNAMEstrcat, strncat - concatenate two stringsSYNOPSIS#include <string.h> char *strcat(char *dest, const char *src); char *strncat(char *dest, const char *src, size_t n); DESCRIPTIONThe fBstrcat()fP function appends the fIsrcfP string to the fIdestfP string overwriting the ` ' character at the end of fIdestfP, and then adds a terminating ` ' character. The strings may not overlap, and the fIdestfP string must have enough space for the result.The fBstrncat()fP function is similar, except that only the first fInfP characters of fIsrcfP are appended to fIdestfP. RETURN VALUEThe fBstrcat()fP and fBstrncat()fP functions return a pointer to the resulting string fIdestfP.CONFORMING TOSVID 3, POSIX, BSD 4.3, ISO 9899SEE ALSObcopy(3), memccpy(3), memcpy(3), strcpy(3), strncpy(3), wcscat(3), wcsncat(3)
Index |