Reference

libnvme_subsystem_get_iopolicy-libnvme3(2)

Get iopolicy.

NAME

libnvme_subsystem_get_iopolicy - Get iopolicy.

SYNOPSIS

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.