Returns information about a search path, if found.
#include <netware.h> int GetSearchPathElement ( int index, int *isDOSFlag, char *path);
(IN) Specifies the search path number.
(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.
(OUT) Points to the path of the search path.
If successful, returns 0 and information about the search path in the isDOSFlag and path parameters. On failure, returns -1.
The GetSearchPathElement functions returns the path as a length-preceded string. LibC contains the following functions for manipulating length-preceded strings: