Whamcloud - gitweb
LU-17744 ldiskfs: mballoc stats fixes
[fs/lustre-release.git] / lustre / doc / llapi_param_get_paths.3
1 .TH llapi_param_get_paths 3 "2020 Feb 24" "Lustre User API"
2 .SH NAME
3 llapi_param_get_paths \- get a list of Lustre parameter file paths
4 that match the given pattern
5 .SH SYNOPSIS
6 .B #include <lustre/lustreapi.h>
7 .nf
8 .BI "int llapi_param_get_paths(const char" " *pattern, " "glob_t" \
9 " *paths" ")"
10 .SH DESCRIPTION
11 The
12 .B llapi_param_get_paths(\|)
13 function searches the locations in the filesystem that expose
14 Lustre parameters. All file names that match
15 .I pattern
16 and are in
17 the correct locations in the file system are returned.
18
19 .SH RETURN VALUES
20 .TP
21 .B 0
22 on success with the parameter paths stored in
23 .IR paths .
24 .TP
25 -ve
26 error code on failure and sets errno appropriately.
27
28 .SH SEE ALSO
29 .BR llapi_param_get_value (3),
30 .BR lustreapi (7),
31 .BR lctl-get_param (8)