lsm_pool_record_array_free(3) | Libstoragemgmt C API Manual | lsm_pool_record_array_free(3) |
NAME¶
lsm_pool_record_array_free - Frees the memory of pool array.
SYNOPSIS¶
int lsm_pool_record_array_free (lsm_pool *pa[], uint32_t size);
ARGUMENTS¶
VERSION¶
1.0
DESCRIPTION¶
Frees the memory for each of the pools and then the pool 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_pool pointer.
lsm_pool_record_array_free | May 2019 |