LLAPI\_PARAM\_GET\_PATHS(3) Lustre Library Function LLAPI\_PARAM\_GET\_PATHS(3)

# [NAME](#NAME)

llapi\_param\_get\_paths - get a list of Lustre parameter file paths that match the given pattern

# [SYNOPSIS](#SYNOPSIS)

```
#include <lustre/lustreapi.h>
```

```
int llapi_param_get_paths(const char *pattern, glob_t *paths);
```

# [DESCRIPTION](#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](#RETURN_VALUES)

**0**

on success with the parameter paths stored in *paths*.

[-ve](#ve)

error code on failure and sets errno appropriately.

# [AVAILABILITY](#AVAILABILITY)

**llapi\_param\_get\_paths()** is part of the [**lustre**(7)](/man/enterprise-packages/lustre/lustre.7) user application interface library since release 2.14.0

# [SEE ALSO](#SEE_ALSO)

[**llapi\_param\_get\_value**(3)](/man/enterprise-packages/lustre/llapi_param_get_value.3), [**lustreapi**(7)](/man/enterprise-packages/lustre/lustreapi.7), [**lctl-get\_param**(8)](/man/enterprise-packages/lustre/lctl-get_param.8)

2024-08-27 Lustre User API

---

Document: llapi_param_get_paths(3) from lustre 2.17.59-r1 (Chainguard OS)
Source: https://github.com/lustre/lustre-release
