libnvme_ns_identify(9) libnvme API manual libnvme_ns_identify(9)

libnvme_ns_identify - Issue an 'identify namespace' command

int libnvme_ns_identify (struct libnvme_ns *n , struct nvme_id_ns *ns );

Namespace instance
nvme_id_ns buffer

Writes the data returned by the 'identify namespace' command into ns.

0 on success, negative error code otherwise.

libnvme_ns_identify September 2026