| LLAPI_PARAM_GET_PATHS(3) | Lustre Library Function | 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.
AVAILABILITY
llapi_param_get_paths() is part of the lustre(7) user application interface library since release 2.14.0
SEE ALSO
| 2024-08-27 | Lustre User API |