Removes a file, FIFO, device, etc.
#include <nks/fsio.h> int NXRemove ( NXPathCtx_t pathCtx, const void *pathname);
(IN) Specifies the file system path context. Along with the pathname parameter, it specifies the object.
(IN) Points to the Unicode or ASCII name of the object to remove.
If successful, returns 0. Otherwise, returns one of the following error codes:
NXRemove removes a named file object. After a filename is successfully removed, attempts to open that file by the same name fail unless the file is recreated.
Before deleting a read-only file, its attributes must be changed.