Removes an empty directory entry.
#include <nks/dirio.h>
int NXDirRemove (
NXPathCtx_t pathCtx,
const void *pathname);
(IN) Specifies a file system path context. Along with the pathname parameter, it specifies the directory entry to remove.
(IN) Points to a null-terminated Unicode or ASCII string, which specifies the name of the directory to remove.
If successful, returns 0. Otherwise, returns one of the following error codes:
NXDirRemove removes an empty subdirectory.