getnlmloadpath

Returns the file system path of the executable for the NLM owning the calling thread.

Library:LibC
Service:Library

Syntax

  #include <library.h> 
   
  char *getnlmloadpath   (
     char    *loadpath);
  

Parameters

loadpath

(IN/OUT) Points to the file system path of the NLM executable. If NULL is passed in, the function allocates enough room for the path and returns it. The caller must free the returned string.

Return Values

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