Provided by: librpma-dev_1.2.0-1_amd64
NAME
rpma_peer_cfg_get_direct_write_to_pmem - check direct write to PMEM support
SYNOPSIS
#include <librpma.h> struct rpma_peer_cfg; int rpma_peer_cfg_get_direct_write_to_pmem( const struct rpma_peer_cfg *pcfg, bool *supported);
DESCRIPTION
rpma_peer_cfg_get_direct_write_to_pmem() checks the support of the direct write to PMEM.
RETURN VALUE
The rpma_peer_cfg_get_direct_write_to_pmem() function returns 0 on success or a negative error code on failure.
ERRORS
rpma_peer_cfg_get_direct_write_to_pmem() can fail with the following error: • RPMA_E_INVAL - pcfg or supported are NULL
SEE ALSO
rpma_peer_cfg_from_descriptor(3), rpma_peer_cfg_new(3), rpma_peer_cfg_set_direct_write_to_pmem(3), librpma(7) and https://pmem.io/rpma/