.\" 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_direct_write_to_pmem 3 "29 May 2023" "RPMA" "RPMA Programmer's Manual" .SH NAME \fBrpma_peer_cfg_get_direct_write_to_pmem \fP- check direct write to PMEM support .SH SYNOPSIS .nf .fam C #include struct rpma_peer_cfg; int \fBrpma_peer_cfg_get_direct_write_to_pmem\fP( const struct rpma_peer_cfg *pcfg, bool *supported); .fam T .fi .fam T .fi .SH DESCRIPTION \fBrpma_peer_cfg_get_direct_write_to_pmem\fP() checks the support of the direct write to PMEM. .SH RETURN VALUE The \fBrpma_peer_cfg_get_direct_write_to_pmem\fP() function returns 0 on success or a negative error code on failure. .SH ERRORS \fBrpma_peer_cfg_get_direct_write_to_pmem\fP() can fail with the following error: .IP \(bu 3 RPMA_E_INVAL - pcfg or supported are NULL .SH SEE ALSO \fBrpma_peer_cfg_from_descriptor\fP(3), \fBrpma_peer_cfg_new\fP(3), \fBrpma_peer_cfg_set_direct_write_to_pmem\fP(3), \fBlibrpma\fP(7) and https://pmem.io/rpma/