remove

Syntax:

    #include <cstdio>
    int remove( const char *fname );

The remove() function erases the file specified by fname. The return value of remove() is zero upon success, and non-zero if there is an error.

Related Topics: rename