PMDK man page

librpma

NAME

rpma_cq_wait - wait for a completion

SYNOPSIS

      #include <librpma.h>

      struct rpma_cq;
      int rpma_cq_wait(struct rpma_cq *cq);

DESCRIPTION

rpma_cq_wait() waits for an incoming completion. If it succeeds the completion can be collected using rpma_cq_get_completion(3).

RETURN VALUE

The rpma_cq_wait() function returns 0 on success or a negative error code on failure.

ERRORS

rpma_cq_wait() can fail with the following errors:

SEE ALSO

rpma_conn_get_cq(3), rpma_conn_get_rcq(3), rpma_cq_get_completion(3), rpma_cq_get_fd(3), librpma(7) and https://pmem.io/rpma/