InsertSearchPath

Inserts a search path at a specific location in the list of the search paths NetWare uses to determine where it can load NLM applications.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

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

Parameters

scrID

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

searchPathNumber

(IN) Specifies the search position for the path.

path

(IN) Points to the search path to add.

Return Values

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

Remarks

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

See Also