DOKK / manpages / debian 12 / libnvme-dev / nvme_directive_send_id_endir.2.en
nvme_directive_send_id_endir(2) libnvme API manual nvme_directive_send_id_endir(2)

nvme_directive_send_id_endir - Directive Send Enable Directive

int nvme_directive_send_id_endir (int fd , __u32 nsid , bool endir , enum nvme_directive_dtype dtype , struct nvme_id_directives *id );

File descriptor of nvme device
Namespace Identifier
Enable Directive
Directive Type
Pointer to structure nvme_id_directives

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_directive_send_id_endir January 2023