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