Reference

libnvme_ns_get_nguid-libnvme3(2)

Get nguid.

NAME

libnvme_ns_get_nguid - Get nguid.

SYNOPSIS

int libnvme_ns_get_nguid (const struct libnvme_ns *p , const uint8_t **nguid , const uint8_t *dflt );

ARGUMENTS

p

The struct libnvme_ns instance to query.

nguid

Where to store the value on success.

dflt

Value to store in nguid on failure.

RETURN

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