Scroll to navigation

lsm_capability_supported(3) Libstoragemgmt C API Manual lsm_capability_supported(3)

NAME

lsm_capability_supported - Check whether specified capability is supported.

SYNOPSIS

int lsm_capability_supported (lsm_storage_capabilities *cap, lsm_capability_type t);

ARGUMENTS

Pointer of lsm_storage_capabilities to release.
lsm_capability_type. Capability to query. Check the document of desired function for detail.

VERSION

1.0

DESCRIPTION

Retrieves the support status of specified capability.

RETURN

int. Possible values are:
* Non-zero
Capability is supported.
* 0
Capability is unsupported or invalid lsm_storage_capabilities
pointer or invalid lsm_capability_type.

lsm_capability_supported May 2019