COHERENT manpages

This page displays the COHERENT manpage for strcat() [Concatenate two strings].

List of available manpages
Index


strcat() -- String Function (libc)

Concatenate two strings
#include <string.h>
char *strcat(string1, string2)
char *string1, *string2;

strcat()  appends all  characters in  string2 onto the  end of  string1. It
returns the modified string1.

Example

For an example of this function, see the entry for string.h.

See Also

libc,
string.h,
strncat()
ANSI Standard, §7.11.3.2
POSIX Standard, §8.1

Notes

string1 must  point to enough space to hold  itself and string2; otherwise,
another portion of the program may be overwritten.