File system

File system rmdir

rmdir

// PROTOTYPE
int rmdir(const char* pathname) 

Removes a directory from the file system. The directory must be empty to remove it.

  • pathname: The pathname to the file (Unix-style, with forward slash as the directory separator).