Frees a previously allocated path context.
#include <nks/dirio.h> int NXFreePathContext ( NXPathCtx_t pathCtx);
(IN) Specifies the file system path context to free.
If successful, returns 0. Otherwise, returns the following error code, and the status of the description associated with pathCtx is undefined.
The NXFreePathContext function dismantles the system-maintained state information associated with the passed-in path context, and frees any resources that may be allocated for the purpose of maintaining such information.
Path contexts are useful in creating and opening files and directories as well as searching directories.