VMS Help  —  CRTL  remove  Description
    If you specify a directory in the filename and it is a search
    list that contains an error, Compaq C for OpenVMS Systems
    interprets it as a file error.

                                   NOTE

       The DECC$ALLOW_REMOVE_OPEN_FILES feature logical controls
       the behavior of the remove function on open files.
       Ordinarily, the operation fails. However, POSIX conformance
       dictates that the operation succeed.

       With DECC$ALLOW_REMOVE_OPEN_FILES enabled, this POSIX
       conformant behavior is achieved.

    When remove is used to delete a symbolic link, the link itself is
    deleted, not the file to which it refers.

    The remove and delete functions are functionally equivalent in
    the Compaq C RTL.

    See also delete.
Close Help