Removes a file, FIFO, or device by specifying a handle.
#include <nks/fsio.h> int NXFileRemoveWithHandle ( NXHandle_t handle);
(IN) Specifies the handle of a previously opened object.
If successful, returns 0. Otherwise, returns one of the following:
NXFileRemoveWithHandle marks for deletion a file that is already open. Currently this is supported only on NSS volumes. The directory entry is removed, but the file I/O operations may continue on the file until it is closed at which time the file is completely deleted.
Before deleting a read-only file, its attributes must be changed.