lsm_battery_record_copy - Man Page

Duplicates a battery record.

Synopsis

lsm_battery  * lsm_battery_record_copy (lsm_battery *b);

Arguments

b

Pointer of lsm_battery to duplicate.

Version

1.3

Description

Duplicates a lsm_battery record.

Return

Pointer of lsm_battery. NULL on memory allocation failure or invalid lsm_battery pointer. Should be freed by lsm_battery_record_free.

Info

March 2021 Libstoragemgmt C API Manual