OS Manuals

libnvme_ns_get_wwid-libnvme3(2)

libnvme_ns_get_wwid - Get wwid.

libnvme_ns_get_wwid(9) libnvme API manual libnvme_ns_get_wwid(9)

libnvme_ns_get_wwid - Get wwid.

int libnvme_ns_get_wwid (const struct libnvme_ns *p , const char **wwid , const char *dflt );

The struct libnvme_ns instance to query.
Where to store the value on success.
Value to store in wwid on failure.

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

libnvme_ns_get_wwid October 2026

nvme-cli 3.2-r0 · os · ingested 2026-10-31