Strcat - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

strcat

concatenate strings
Synopsis
#include <string.h>
char *strcat(char *s1, const char *s2);
Description
The
function appends a copy of the null-terminated string pointed
strcat
to by
to the end of the null-terminated string pointed to by
s2
returns a pointer to the new
behavior of
strcat
Error Conditions
The
function does not return an error condition.
strcat
Example
#include <string.h>
char string1[50];
string1[0] = 'A';
string1[1] = 'B';
string1[2] = '\0';
strcat(string1, "CD");
See Also
strncat
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
string, which is null-terminated. The
s1
is undefined if the two strings overlap.
/* new string is "ABCD" */
C/C++ Run-Time Library
. It
s1
3-121

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents