lsm_battery_system_id_get man page

lsm_battery_system_id_get — Retrieves the system ID for the battery.

Synopsis

const char  * lsm_battery_system_id_get (lsm_battery *b);

Arguments

b

Battery to retrieve system ID for.

Version

1.3

Description

Retrieves the system id for the specified battery.

Note

Address returned is valid until lsm_battery gets freed, copy return value if you need longer scope. Do not free returned string.

Return

string. NULL if argument 'b' is NULL or not a valid lsm_battery pointer.

Info

lsm_battery_system_id_get October 2017 Libstoragemgmt C API Manual