PMDK man page

librpma

NAME

rpma_send - initiate the send operation

SYNOPSIS

      #include <librpma.h>

      struct rpma_conn;
      struct rpma_mr_local;
      int rpma_send(struct rpma_conn *conn,
                      const struct rpma_mr_local *src, size_t offset,
                      size_t len, int flags, const void *op_context);

DESCRIPTION

rpma_send() initiates the send operation which transfers a message from the local memory to other side of the connection. The attribute flags set the completion notification indicator:

RETURN VALUE

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

ERRORS

rpma_send() can fail with the following errors:

SEE ALSO

rpma_conn_req_connect(3), rpma_mr_reg(3), librpma(7) and https://pmem.io/rpma/