Go to the first, previous, next, last section, table of contents.


strcat

Syntax

#include <string.h>

char *strcat(char *s1, const char *s2);

Description

This function concatenates s2 to the end of s1.

Return Value

s1

Portability

ANSI, POSIX

Example

char buf[100] = "hello";
strcat(buf, " there");


Go to the first, previous, next, last section, table of contents.