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