lsm_target_port_record_array_free man page

lsm_target_port_record_array_free — Frees the memory of lsm_target_port array

Synopsis

int lsm_target_port_record_array_free (lsm_target_port *tp[], uint32_t size);

Arguments

tp[]

Array to release memory for.

size

Number of elements.

Version

1.0

Description

Frees the memory for each of lsm_target_port and then the target_port 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_target_port pointer.

Info

lsm_target_port_record_array_free October 2017 Libstoragemgmt C API Manual