Scroll to navigation

lsm_disk_record_array_free(3) Libstoragemgmt C API Manual lsm_disk_record_array_free(3)

NAME

lsm_disk_record_array_free - Free the memory of lsm_disk array.

SYNOPSIS

int lsm_disk_record_array_free (lsm_disk *disk[], uint32_t size);

ARGUMENTS

Array to release memory for.
Number of elements.

VERSION

1.0

DESCRIPTION

Frees the memory resources for an array of lsm_disk.

RETURN

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

lsm_disk_record_array_free April 2021