/*\c
* cvt_rm.c - simple implementation of rm to delete multiple files.
* This file only deletes all files supplied by the command line; the
* return value is always 0/1 (success).
*
* If the first character of an argument is `+', this argument is
* considered to be a file containing a list of files to delete. This
* feature is added to avoid too long command lines for M\$DOG \& Co.
*
* For VMS, files beginning with `sys$share:' are not deleted; (this
* entry is used for sys$share:vaxcrtl, and it should not be deleted!!)
*/
#include <stdio.h>
#include <stdlib.h>
#if VMS
# include <string.h>
# include <descrip.h>
int delete_file(char *file,int all);
int lib$delete_file();
#else
# define delete_file(file,all) unlink(file)
#endif