LLAPI\_LOV\_PATTERN\_STRING(3) Lustre Library Functions LLAPI\_LOV\_PATTERN\_STRING(3)

# [NAME](#NAME)

llapi\_lov\_pattern\_string - convert LOV\_PATTERN mask to string

# [SYNOPSIS](#SYNOPSIS)

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

```
int llapi_lov_pattern_string(enum lov_pattern pattern, char *buf, size_t buflen);
```

# [DESCRIPTION](#DESCRIPTION)

**llapi\_lov\_pattern\_string()** converts the *pattern* mask to a comma-separated string of pattern names in the *buf* buffer, up to *buflen* bytes in length.

# [RETURN VALUES](#RETURN_VALUES)

**llapi\_lov\_pattern\_string()** returns a pointer to the **buf** string on success, or NULL on failure (currently only in case of buffer overflow).

# [AVAILABILITY](#AVAILABILITY)

**llapi\_lov\_pattern\_string**() is part of the [**lustre**(7)](/man/enterprise-packages/lustre/lustre.7) user application interface library since release 2.17.0

# [SEE ALSO](#SEE_ALSO)

[**llapi\_lov\_string\_pattern**(3)](/man/enterprise-packages/lustre/llapi_lov_string_pattern.3), [**lustre**(7)](/man/enterprise-packages/lustre/lustre.7), [**lustreapi**(7)](/man/enterprise-packages/lustre/lustreapi.7)

2025-06-04 Lustre User API

---

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