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