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

nvme_get_log_supported_log_pages - Retrieve nmve supported log pages

int nvme_get_log_supported_log_pages (int fd , bool rae , struct nvme_supported_log_pages *log );

File descriptor of nvme device
Retain asynchronous events
Array of LID supported and Effects data structures

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

nvme_get_log_supported_log_pages January 2023