.TH "libnvme_subsystem_get_iopolicy" 2 "libnvme_subsystem_get_iopolicy" "October 2026" "libnvme API manual" LINUX
.SH NAME
libnvme_subsystem_get_iopolicy \- Get iopolicy.
.SH SYNOPSIS
.B "int" libnvme_subsystem_get_iopolicy
.BI "(const struct libnvme_subsystem *p "  ","
.BI "const char **iopolicy "  ","
.BI "const char *dflt "  ");"
.SH ARGUMENTS
.IP "p" 12
The \fIstruct libnvme_subsystem\fP instance to query.
.IP "iopolicy" 12
Where to store the value on success.
.IP "dflt" 12
Value to store in \fIiopolicy\fP on failure.
.SH "RETURN"
0 on success, -ENOENT if the attribute does not
exist, or a negative errno on failure.
