Scroll to navigation

lsm_volume_id_get(3) Libstoragemgmt C API Manual lsm_volume_id_get(3)

NAME

lsm_volume_id_get - Retrieves the ID for the volume.

SYNOPSIS

const char * lsm_volume_id_get (lsm_volume *v);

ARGUMENTS

Volume to retrieve ID for.

VERSION

1.0

DESCRIPTION

Retrieves the ID for the volume.

NOTE

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

RETURN

string. NULL if argument 'v' is NULL or not a valid lsm_volume pointer.

lsm_volume_id_get April 2021