fs_delete_dir

int fs_delete_dir(const char *path)

Deletes an empty directory if it exists.

if (!fs_delete_dir("foo"))
{
    printf("fs_delete_dir failed");
}

Parameters

path[in] Some null-terminated path

Returns

If the directory was deleted.