Concatenation of char*-strings, append s2 to s1.

Concatenation of char*-strings, append s2 to s1. The target string s1 must be long enough to accommodate the second string s2.

Name Type Default Description
s1 char* - Target string
2 s2 char* - String to be appended to s1

Preconditions
s1 minimum the lengths s1+s2
s1and s2 must be 0-terminated
int main()
{
    char	*s1 = alloc(256);
strcpy(s1, "con"); strcat(s1, "cat");
// s1 = "concat" showmessage(s1);
release(s1);
return 0; }

Since

Available
priint:comet InDesign® Plug-Ins, comet_pdf, Illustrator

Alphabetic index HTML hierarchy of classes or Java