LLAPI_LOV_PATTERN_STRING(3)

NAME
llapi_lov_pattern_string - convert LOV_PATTERN mask to string

SYNOPSIS
#include <lustre/lustreapi.h>

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

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
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
llapi_lov_pattern_string() is part of the lustre(7) user application interface library since release 2.17.0

SEE ALSO
llapi_lov_string_pattern(3), lustre(7), lustreapi(7)