Scroll to navigation

lsm_battery_record_free(3) Libstoragemgmt C API Manual lsm_battery_record_free(3)

NAME

lsm_battery_record_free - Frees the memory for an individual battery

SYNOPSIS

int lsm_battery_record_free (lsm_battery *b);

ARGUMENTS

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.

lsm_battery_record_free April 2023