Defined in header
int remove( const char *fname );
Deletes the file identified by character string pointed to by
|fname||-||pointer to a null-terminated string containing the path identifying the file to delete|
0 upon success or non-zero value on error.
In POSIX the behavior for file types other than regular files is unspecified.
Error during the deletion: 1
| renames a file |
C documentation for remove