MicrOS
strcat.c File Reference
#include "../string.h"

Functions

char * strcat (char *destination, const char *source)
 Concatenate strings. More...
 

Function Documentation

◆ strcat()

char* strcat ( char *  destination,
const char *  source 
)

Concatenate strings.

Appends a copy of the source string to the destination string. The terminating null character in destination is overwritten by the first character of source, and a null-character is included at the end of the new string formed by the concatenation of both in destination.

Parameters
destinationPointer to the destination array, which should contain a C string, and be large enough to contain the concatenated resulting string.
sourceC string to be appended. This should not overlap destination.
Returns
Destination is returned.