GetSearchPathElement

Returns information about a search path, if found.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <netware.h> 
   
  int GetSearchPathElement (
     int     index,
     int    *isDOSFlag,
     char   *path);
  

Parameters

index

(IN) Specifies the search path number.

isDOSFlag

(OUT) Points to a value indicating whether the search path is on the DOS partition. If the value is TRUE, the search path is on the DOS partition.

path

(OUT) Points to the path of the search path.

Return Values

If successful, returns 0 and information about the search path in the isDOSFlag and path parameters. On failure, returns -1.

Remarks

The GetSearchPathElement functions returns the path as a length-preceded string. LibC contains the following functions for manipulating length-preceded strings:

See Also