strcat [ HP C/iX Library Reference Manual ] MPE/iX 5.0 Documentation
HP C/iX Library Reference Manual
strcat
Appends one string to another.
Syntax
#include <string.h>
char *strcat(char *s1, const char *s2);
Parameters
s1 and s2 Character pointers to null-terminated character strings.
Return Values
x The value of s1.
Description
The strcat function appends the entire string pointed to by s2 including
the terminating null character onto the end of string s1. The first
character of s2 overwrites the terminating null character of s1.
Example
Refer to the example in the strcpy() description.
See Also
strcpy(), strncat(), strncpy(), ANSI C 4.11.3.2, POSIX.1 8.1
MPE/iX 5.0 Documentation