Returns the resource tag of the NLM owning the calling thread.
#include <library.h> rtag_t getallocresourcetag ( void );
If successful, returns the resource tag allocated for the NLM by LibC. Otherwise, returns NULL if the calling thread has no context.
LibC allocates a resource tag for an NLM when it needs to allocate memory for the NLM. LibC uses the tag for malloc and other functions when threads in the NLM make such requests.