PMDK man page

librpma

NAME

rpma_conn_disconnect - tear the connection down

SYNOPSIS

      #include <librpma.h>

      struct rpma_conn;
      int rpma_conn_disconnect(struct rpma_conn *conn);

DESCRIPTION

rpma_conn_disconnect() tears the connection down.

RETURN VALUE

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

ERRORS

rpma_conn_disconnect() can fail with the following errors:

SEE ALSO

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