#include <stdio.h> int remove(const char *file);
This function removes the named file from the file system. Unless you have an un-erase program, the file and its contents are gone for good.
Zero on success, nonzero on failure.
ANSI, POSIX
remove("/tmp/data.tmp");
Go to the first, previous, next, last section, table of contents.