AddSearchPathAtEnd

Adds the search path to the end of the search path list that NetWare uses to determine where it can load NLM applications.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <netware.h> 
   
  int   AddSearchPathAtEnd (
     scr_t        scrID,
     const char   *path);
  

Parameters

scrID

(IN) Specifies the screen that is used to print any messages generated from this operation.

path

(IN) Specifies the search path to add.

Return Values

If successful, returns a search path number for the path. Otherwise, return -1.

Remarks

The AddSearchPathAtEnd function adds the specified path to the end of the list of paths to search. To insert a search path in a specific location in the list, see InsertSearchPath.

The NetWare server has set no limit on the number of search paths that can be added.

See Also