libnvme_ctrl_get_phy_slot-libnvme32
Get phy_slot.
Usage
int libnvme_ctrl_get_phy_slot (const struct libnvme_ctrl *p , const char **phy_slot , const char *dflt );
Arguments
p
|
The struct libnvme_ctrl instance to query. |
|---|---|
phy_slot
|
Where to store the value on success. |
dflt
|
Value to store in phy_slot on failure. |
Return
0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.