Example: rmdirFile Manipulation Functions

Deletes the specified directory.

int rmdir( const char *path);

path The full path of the directory to remove.

For rmdir details, refer to your C language documentation.

Return Values

The function returns zero on success and -1 on failure. It also sets the global variable errno to indicate the specific error.