| LLAPI_LOV_STRING_PATTERN(3) | Lustre Library Functions | LLAPI_LOV_STRING_PATTERN(3) |
NAME
llapi_lov_string_pattern - convert pattern name string to LOV_PATTERN mask
SYNOPSIS
#include <lustre/lustreapi.h>
int llapi_lov_string_pattern(const char *string, enum lov_pattern *pattern);
DESCRIPTION
llapi_lov_string_pattern() converts the comma-separated list of LOV pattern names in string to a mask of LOV_PATTERN_* flags returned in pattern.
RETURN VALUES
llapi_lov_string_pattern() returns 0 on success, or -EINVAL on failure (in which case, errno is set appropriately).
AVAILABILITY
llapi_lov_string_pattern() is part of the lustre(7) user application interface library since release 2.17.0
SEE ALSO
| 2025-06-04 | Lustre User API |