1lsm_disk_location_get(3) Libstoragemgmt C API Manual lsm_disk_location_get(3)
2
3
4
6 lsm_disk_location_get - Retrieves the location for the disk.
7
9 const char * lsm_disk_location_get (lsm_disk *d);
10
12 d Disk to retrieve location for.
13
15 1.3
16
18 Retrieve the disk location.
19
21 Address returned is valid until lsm_disk gets freed, copy return value
22 if you need longer scope. Do not free returned string.
23
25 LSM_CAP_DISK_LOCATION
26
28 string. NULL if argument 'd' is NULL or not a valid lsm_disk pointer or
29 not supported.
30
31
32
33April 2019 lsm_disk_location_get lsm_disk_location_get(3)