1lsm_battery_name_get(3) Libstoragemgmt C API Manual lsm_battery_name_get(3)
2
3
4
6 lsm_battery_name_get - Retrieves the name for the battery.
7
9 const char * lsm_battery_name_get (lsm_battery *b);
10
12 b Battery to retrieve name for.
13
15 1.3
16
18 Retrieves the name for the battery.
19
21 Address returned is valid until lsm_battery gets freed, copy return
22 value if you need longer scope. Do not free returned string.
23
25 string. NULL if argument 'b' is NULL or not a valid lsm_battery
26 pointer.
27
28
29
30February 2020 lsm_battery_name_get lsm_battery_name_get(3)