mkrdir()
#
Create a directory and all its parent directories if they do not exist.
Prototype
PUBLIC int mkrdir(
const char *path,
int mode
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The path of the directory to create. |
|
|
The permissions mode for the directory. |
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