.\" Extracted by src2man from include/librpma.h .\" Text automatically generated by txt2man .TH rpma_conn_get_qp_num 3 "07 April 2024" "RPMA" "RPMA Programmer's Manual" .SH NAME \fBrpma_conn_get_qp_num \fP- get the connection's qp_num .SH SYNOPSIS .nf .fam C #include struct rpma_conn; int \fBrpma_conn_get_qp_num\fP(const struct rpma_conn *conn, uint32_t *qp_num); .fam T .fi .fam T .fi .SH DESCRIPTION \fBrpma_conn_get_qp_num\fP() obtains the unique identifier of the connection. .SH RETURN VALUE The \fBrpma_conn_get_qp_num\fP() function returns 0 on success or a negative error code on failure. \fBrpma_conn_get_qp_num\fP() does not set *qp_num value on failure. .SH ERRORS \fBrpma_conn_get_qp_num\fP() can fail with the following error: .IP \(bu 3 RPMA_E_INVAL - conn or qp_num is NULL .SH SEE ALSO \fBrpma_conn_req_new\fP(3), \fBrpma_ep_next_conn_req\fP(3), \fBrpma_conn_req_connect\fP(3), \fBlibrpma\fP(7) and https://pmem.io/rpma/