Scroll to navigation

lsm_access_group_record_array_free(3) Libstoragemgmt C API Manual lsm_access_group_record_array_free(3)

NAME

lsm_access_group_record_array_free - Frees the memory of access group array.

SYNOPSIS

int lsm_access_group_record_array_free (lsm_access_group *ag[], uint32_t size);

ARGUMENTS

Array to release memory for.
Number of elements.

VERSION

1.0

DESCRIPTION

Frees the memory for each of the access groups and then the access group array itself.

RETURN

Error code as enumerated by 'lsm_error_number':
* LSM_ERR_OK
On success or not found.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or not a valid lsm_access_group
pointer.

lsm_access_group_record_array_free April 2023