getnlmname

Returns the name of the NLM specified by the NLM handle.

Library:LibC
Service:Library

Syntax

  #include <library.h> 
   
  char *getnlmname    (
     void   *handle, 
     char   *name);
  

Parameters

handle

(IN) Points to the handle of the NLM. If NULL is passed, returns the calling thread's NLM name.

name

(IN/OUT) Points to the name of the NLM. If NULL is passed, the function allocates enough memory for the name and returns it anyway. The caller must free the allocated memory.

Return Values

On failure, returns NULL and the contents of the name parameter are undefined.

See Also