libnvme_get_log(9) libnvme API manual libnvme_get_log(9)

libnvme_get_log - Get log page data

int libnvme_get_log (struct libnvme_transport_handle *hdl , struct libnvme_passthru_cmd *cmd , bool rae , __u32 xfer_len );

Transport handle
Passthru command
Retain asynchronous events
Max log transfer size per request to split the total.

0 on success, the nvme command status if a response was received (see enum nvme_status_field) or a negative error otherwise.

libnvme_get_log September 2026