.\" Extracted by src2man from include/librpma.h .\" Text automatically generated by txt2man .TH rpma_conn_cfg_set_compl_channel 3 "07 April 2024" "RPMA" "RPMA Programmer's Manual" .SH NAME \fBrpma_conn_cfg_set_compl_channel \fP- set if the completion event channel can be shared by CQ and RCQ .SH SYNOPSIS .nf .fam C #include struct rpma_conn_cfg; int \fBrpma_conn_cfg_set_compl_channel\fP(struct rpma_conn_cfg *cfg, bool shared); .fam T .fi .fam T .fi .SH DESCRIPTION \fBrpma_conn_cfg_set_compl_channel\fP() sets if the completion event channel can be shared by CQ and RCQ or not. The completion event channel is not shared by CQ and RCQ by default. See \fBrpma_conn_cfg_new\fP(3) for details. .SH RETURN VALUE The \fBrpma_conn_cfg_set_compl_channel\fP() function returns 0 on success or a negative error code on failure. .SH ERRORS \fBrpma_conn_cfg_set_compl_channel\fP() can fail with the following error: .IP \(bu 3 RPMA_E_INVAL - cfg is NULL .SH SEE ALSO \fBrpma_conn_cfg_new\fP(3), \fBrpma_conn_wait\fP(3), \fBrpma_conn_cfg_get_compl_channel\fP(3), \fBlibrpma\fP(7) and https://pmem.io/rpma/