lsm_battery_record_free - Man Page

Frees the memory for an individual battery

Synopsis

int lsm_battery_record_free (lsm_battery *b);

Arguments

b

lsm_battery to release memory for.

Version

1.3

Description

Frees the memory for an individual lsm_battery

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.

Info

April 2023 Libstoragemgmt C API Manual