1lsm_battery_record_array_frLeieb(s3t)oragemgmt C APIlMsamn_ubaalttery_record_array_free(3)
2
3
4
6 lsm_battery_record_array_free - Frees the memory of battery array.
7
9 int lsm_battery_record_array_free (lsm_battery *bs[], uint32_t count);
10
12 bs[] Array to release memory for.
13
14 count Number of elements.
15
17 1.3
18
20 Frees the memory for each of the batteries and then the battery array
21 itself.
22
24 Error code as enumerated by 'lsm_error_number':
25 * LSM_ERR_OK
26 On success or not found.
27 * LSM_ERR_INVALID_ARGUMENT
28 When any argument is NULL or not a valid lsm_battery pointer.
29
30
31
32December 2019 lsm_battery_record_arrlasym__fbraetetery_record_array_free(3)