delete a file
#include <stdio.h> int remove( const char *filename );
The remove() function deletes the file whose name is the string pointed to by filename.
The remove() function returns zero if the operation succeeds, non-zero if it fails. When an error has occurred, errno contains a value that indicates the type of error that has been detected.
#include <stdio.h> void main() { remove( "vm.tmp" ); }
ANSI
All (except DOS/PM)