1lsm_battery_name_get(3)   Libstoragemgmt C API Manual  lsm_battery_name_get(3)
2
3
4

NAME

6       lsm_battery_name_get - Retrieves the name for the battery.
7

SYNOPSIS

9       const char  * lsm_battery_name_get (lsm_battery *b);
10

ARGUMENTS

12       b           Battery to retrieve name for.
13

VERSION

15       1.3
16

DESCRIPTION

18       Retrieves the name for the battery.
19

NOTE

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

RETURN

25       string. NULL if argument  'b'  is  NULL  or  not  a  valid  lsm_battery
26       pointer.
27
28
29
30April 2022                   lsm_battery_name_get      lsm_battery_name_get(3)
Impressum