llapi_param_get_paths(3)

NAME
llapi_param_get_paths - get a list of Lustre parameter file paths that match the given pattern

SYNOPSIS
#include <lustre/lustreapi.h>
int llapi_param_get_paths(const char *pattern, glob_t *paths)

DESCRIPTION
The llapi_param_get_paths() function searches the locations in the filesystem that expose Lustre parameters. All file names that match pattern and are in the correct locations in the file system are returned.

RETURN VALUES

0   on success with the parameter paths stored in paths.

-ve error code on failure and sets errno appropriately.

SEE ALSO
llapi_param_get_value(3), lustreapi(7), lctl-get_param(8)