libnvme_ns_get_nguid-libnvme32
Get nguid.
Usage
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.