1lsm_battery_record_copy(3)Libstoragemgmt C API Manuallsm_battery_record_copy(3)
2
3
4
6 lsm_battery_record_copy - Duplicates a battery record.
7
9 lsm_battery * lsm_battery_record_copy (lsm_battery *b);
10
12 b Pointer of lsm_battery to duplicate.
13
15 1.3
16
18 Duplicates a lsm_battery record.
19
21 Pointer of lsm_battery. NULL on memory allocation failure or invalid
22 lsm_battery pointer. Should be freed by lsm_battery_record_free.
23
24
25
26December 2019 lsm_battery_record_copy lsm_battery_record_copy(3)