delete_file

Removes a file from the disk.

Description

int delete_file(const char *filename);
Removes a file from the disk. You can't delete directories, though.
Returns zero on success, non-zero on failure.

Related Discussions

The following threads each have code containing this keyword: Note: You can click on the numbers to jump directly to the posts that reference this page.

Related Projects

The following projects include source code containing this keyword: