VMS Help
CRTL, remove
*Conan The Librarian
|
Deletes a file.
Format
#include <stdio.h>
int remove (const char *file_spec);
file_spec
A pointer to the string that is an OpenVMS or a UNIX style file
specification. The file specification can include a wildcard
in its version number. So, for example, files of the form
filename.txt;* can be deleted.
If you specify a directory in the file name and it is a search
list that contains an error, Compaq C for OpenVMS Systems
interprets it as a file error.
The remove and delete functions are functionally equivalent in
the Compaq C RTL.
See also delete.
0 Indicates success.
nonzero value Indicates failure.