.\" Extracted by src2man from /build/rpma-11eW7Q/rpma-1.3.0/src/include/librpma.h .\" Text automatically generated by txt2man .TH rpma_peer_cfg_get_descriptor_size 3 "29 May 2023" "RPMA" "RPMA Programmer's Manual" .SH NAME \fBrpma_peer_cfg_get_descriptor_size \fP- get size of the peer cfg descriptor .SH SYNOPSIS .nf .fam C #include struct rpma_peer_cfg; int \fBrpma_peer_cfg_get_descriptor_size\fP(const struct rpma_peer_cfg *pcfg, size_t *desc_size); .fam T .fi .fam T .fi .SH DESCRIPTION \fBrpma_peer_cfg_get_descriptor_size\fP() gets size of the peer configuration descriptor. .SH RETURN VALUE The \fBrpma_peer_cfg_get_descriptor_size\fP() function returns 0 on success or a negative error code on failure. .SH ERRORS \fBrpma_peer_cfg_get_descriptor_size\fP() can fail with the following error: .IP \(bu 3 RPMA_E_INVAL - pcfg or desc_size is NULL .SH SEE ALSO \fBrpma_peer_cfg_get_descriptor\fP(3), \fBrpma_peer_cfg_new\fP(3), \fBlibrpma\fP(7) and https://pmem.io/rpma/