subdir_exists()

subdir_exists()#

Check if a subdirectory exists within a specified path.

Prototype

PUBLIC BOOL subdir_exists(
    const char  *path,
    const char  *subdir
);
        

Parameters

Key

Type

Description

path

const char *

The parent directory to search in.

subdir

const char *

The name of the subdirectory to check for.


Return Value

Returns TRUE if the subdirectory exists, otherwise returns FALSE.

Prototype

// Not applicable in JS

Prototype

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