Reference

libnvme_ns_get_uuid-libnvme3(2)

Get uuid.

NAME

libnvme_ns_get_uuid - Get uuid.

SYNOPSIS

int libnvme_ns_get_uuid (const struct libnvme_ns *p , const unsigned char **uuid , const unsigned char *dflt );

ARGUMENTS

p

The struct libnvme_ns instance to query.

uuid

Where to store the value on success.

dflt

Value to store in uuid on failure.

RETURN

0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.