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

nvme_get_log_cmd_effects - Retrieve nvme command effects log

int nvme_get_log_cmd_effects (int fd , enum nvme_csi csi , struct nvme_cmd_effects_log *effects_log );

File descriptor of nvme device
Command Set Identifier
User address to store the effects log

This log page describes the commands that the controller supports and the effects of those commands on the state of the NVM subsystem.

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

nvme_get_log_cmd_effects January 2023