Scroll to navigation

lsm_volume_record_array_free(3) Libstoragemgmt C API Manual lsm_volume_record_array_free(3)

NAME

lsm_volume_record_array_free - Frees the memory of volume array.

SYNOPSIS

int lsm_volume_record_array_free (lsm_volume *init[], uint32_t size);

ARGUMENTS

Array to release memory for.
Number of elements.

VERSION

1.0

DESCRIPTION

Frees the memory for each of the volumes and then the volume array itself.

RETURN

Error code as enumerated by 'lsm_error_number':
* LSM_ERR_OK
On success or not found.
* LSM_ERR_INVALID_ARGUMENT
When not a valid lsm_volume pointer.

lsm_volume_record_array_free April 2023