str_concat3()

str_concat3()#

Concatenate three strings into a newly allocated string.

Prototype

PUBLIC char *str_concat3(
    const char  *str1,
    const char  *str2,
    const char  *str3
);
        

Parameters

Key

Type

Description

str1

const char *

The first string to concatenate.

str2

const char *

The second string to concatenate.

str3

const char *

The third string to concatenate.


Return Value

Returns a newly allocated string containing the concatenation of str1, str2, and str3, or NULL on failure.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples