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

NAME

6       lsm_disk_location_get - Retrieves the location for the disk.
7

SYNOPSIS

9       const char * lsm_disk_location_get (lsm_disk *d);
10

ARGUMENTS

12       d           Disk to retrieve location for.
13

VERSION

15       1.3
16

DESCRIPTION

18       Retrieve the disk location.
19

NOTE

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

CAPABILITY

25       LSM_CAP_DISK_LOCATION
26

RETURN

28       string. NULL if argument 'd' is NULL or not a valid lsm_disk pointer or
29       not supported.
30
31
32
33April 2023                   lsm_disk_location_get    lsm_disk_location_get(3)
Impressum