Initializing help system before first use

XPRMgetdsopath

XPRMgetdsopath


Purpose
Get the directory list where DSO files are searched for.
Synopsis
int XPRMgetdsopath(char *path, int len);
Arguments
path 
Array of chars where the path is returned
len 
The size of the array path
Return value
0 if successful, 1 if path is truncated, -1 in case of error.
Further information
This function returns the path currently used by Mosel for searching modules. Note that the returned path includes both the default search path (deduced from the location of the Mosel runtime library) and the path set up either via the environment variable MOSEL_DSO or the function XPRMsetdsopath.
Related topics