strcat


Character string concatenation

[Classification]

Standard library

[Syntax]

#include <string.h>

char __near * __far strcat(char __near *s1, const char __near *s2); (C90)

char __near * __far strcat(char __near * restrict s1, const char __near * restrict s2); (C99) [V1.07 or later]

char __far * __far _COM_strcat_ff(char __far *s1, const char __far *s2); (C90)

char __far * __far _COM_strcat_ff(char __far * restrict s1, const char __far * restrict s2); (C99) [V1.07 or later]

[Return value]

Returns the value of s1.

[Description]

This function concatenates the duplication of the character string indicated by s2 to the end of the character string indicated by s1, including the null character (\0). The first character of s2 overwrites the null character (\0) at the end of s1.

The operation is undefined if the copy source and copy destination areas overlap.