build_path()

build_path()#

Build a path string by combining multiple segments.

Prototype

PUBLIC char *build_path(
    const char  *separator,
    ...
);
        

Parameters

Key

Type

Description

separator

const char *

The separator to use between path segments.

...

varargs

The path segments to combine, ending with NULL.


Return Value

Returns the combined path string, or NULL on failure.

Prototype

// Not applicable in JS

Prototype

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