extern int Debug;
extern char tmpFileName[FILENAMESIZE];
void *rmfile ()
rmfile is used by /rdb programs like justify and compute which process tables more than once or create intermediate translation files.
Because rmfile does not return and takes no arguments, it can be used to do housekeeping before exiting when trapped signals return control to the calling program. For example: signal (SIGINT, rmfile);
It is assumed that rmfile will be used for such interruptions or other error conditions and so the exit status is non-zero. If the exit status is considered useful, rmfile should not be used to clean up temporary files created by a program that has completed successfully.
If the global variable Debug is set to non-zero, (either in the program code or as recognized by the command line parser), then rmfile does not remove the temporary file. This is a debugging feature which allows examination of the intermediate files.