rmrcontentdir()
#
Remove the contents of a directory without deleting the directory itself.
Prototype
PUBLIC int rmrcontentdir(
const char *path
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The path of the directory whose contents will be removed. |
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