lsm_volume_record_array_free - Man Page

Frees the memory of volume array.

Synopsis

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

Arguments

init[]

Array to release memory for.

size

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.

Info

April 2021 Libstoragemgmt C API Manual