libnvme_reap_passthru(9)

NAME
libnvme_reap_passthru - Reap one async completion

SYNOPSIS
int libnvme_reap_passthru (struct libnvme_transport_handle *hdl , struct libnvme_passthru_completion *completion );

ARGUMENTS

hdl Transport handle

completion
    Completion output structure

DESCRIPTION
Waits for one queued passthru command to complete and stores the completed command pointer, associated cookie, and completion status in completion.

RETURN
0 on success, negative error code otherwise.