libnvme_ns_get_wwid-libnvme32
Get wwid.
Usage
int libnvme_ns_get_wwid (const struct libnvme_ns *p , const char **wwid , const char *dflt );
Arguments
p
|
The struct libnvme_ns instance to query. |
|---|---|
wwid
|
Where to store the value on success. |
dflt
|
Value to store in wwid on failure. |
Return
0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.