.\" Extracted by src2man from /build/rpma-UAXlGU/rpma-1.2.0/src/include/librpma.h .\" Text automatically generated by txt2man .TH rpma_srq_cfg_get_rcq_size 3 "10 January 2023" "RPMA" "RPMA Programmer's Manual" .SH NAME \fBrpma_srq_cfg_get_rcq_size \fP- get receive CQ size of the shared RQ .SH SYNOPSIS .nf .fam C #include struct rpma_srq_cfg; int \fBrpma_srq_cfg_get_rcq_size\fP(const struct rpma_srq_cfg *cfg, uint32_t *rcq_size); .fam T .fi .fam T .fi .SH DESCRIPTION \fBrpma_srq_cfg_get_rcq_size\fP() gets the receive CQ size of the shared RQ. .SH RETURN VALUE The \fBrpma_srq_cfg_get_rcq_size\fP() function returns 0 on success or a negative error code on failure. \fBrpma_srq_cfg_get_rcq_size\fP() does not set *rcq_size value on failure. .SH ERRORS \fBrpma_srq_cfg_get_rcq_size\fP() can fail with the following error: .IP \(bu 3 RPMA_E_INVAL - cfg or rcq_size is NULL .SH SEE ALSO \fBrpma_srq_cfg_new\fP(3), \fBrpma_srq_cfg_set_rcq_size\fP(3), \fBlibrpma\fP(7) and https://pmem.io/rpma/