lsm_battery_record_array_free

lsm_battery_record_array_fLibstoragemgmt C APIlsmnbattery_record_array_free(3)



NAME
       lsm_battery_record_array_free - Frees the memory of battery array.

SYNOPSIS
       int lsm_battery_record_array_free (lsm_battery *bs[], uint32_t count);

ARGUMENTS
       bs[]        Array to release memory for.

       count       Number of elements.

VERSION
       1.3

DESCRIPTION
       Frees the memory for each of the batteries and then the battery array
       itself.

RETURN
       Error code as enumerated by 'lsm_error_number':
           * LSM_ERR_OK
               On success or not found.
           * LSM_ERR_INVALID_ARGUMENT
               When any argument is NULL or not a valid lsm_battery pointer.



May 2018                 lsm_battery_record_arlsm_battery_record_array_free(3)