table of contents
lsm_disk_location_get(3) | Libstoragemgmt C API Manual | lsm_disk_location_get(3) |
NAME¶
lsm_disk_location_get - Retrieves the location for the disk.
SYNOPSIS¶
const char * lsm_disk_location_get (lsm_disk *d);
ARGUMENTS¶
- d
- Disk to retrieve location for.
VERSION¶
1.3
DESCRIPTION¶
Retrieve the disk location.
NOTE¶
Address returned is valid until lsm_disk gets freed, copy return value if you need longer scope. Do not free returned string.
CAPABILITY¶
LSM_CAP_DISK_LOCATION
RETURN¶
string. NULL if argument 'd' is NULL or not a valid lsm_disk pointer or not supported.
lsm_disk_location_get | January 2023 |