rmrdir()

rmrdir()#

Remove a directory and all its contents.

Prototype

PUBLIC int rmrdir(
    const char  *path
);
        

Parameters

Key

Type

Description

path

const char *

The path of the directory to remove.


Return Value

Returns 0 on success, or a negative value on failure.

Prototype

// Not applicable in JS

Prototype

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