rpma_peer_delete(3)
π rpma_peer_delete β the RPMA programmer's manual, bestie edition π
okay so like, welcome to rpma_peer_delete(3), part of the RPMA Programmer's Manual. yes the same RPMA, remote persistent memory access, the whole thing β¨ pull up a chair π
β¨ NAME β¨
rpma_peer_delete β bestie, we are deleting a peer object π
πΈ SYNOPSIS πΈ
#include <librpma.h>
struct rpma_peer;
int rpma_peer_delete(struct rpma_peer **peer_ptr);
π¦ DESCRIPTION π¦
rpma_peer_delete() deletes the peer object. that's it. that's the whole job. it takes your peer and it's like, bye πβ¨
π RETURN VALUE π
The rpma_peer_delete() function returns 0 on success or a negative error code on failure. and listen β rpm_peer_delete() does not set *peer_ptr value to NULL on failure. π
π RETURN VALUE π
(no fr, it's printed twice in the original, we're keeping both, periodt π)
The rpma_peer_delete() function returns 0 on success or a negative error code on failure. rpma_peer_delete() does not set *peer_ptr to NULL on failure. so if it flops, that pointer is still sitting there holding whatever it was holding, do not assume it got nulled out, iykyk π«Ά
π ERRORS π
rpma_peer_delete() can fail with the following error:
RPMA_E_PROVIDERβ deleting the verbs protection domain failed. the verbs protection domain said no π
π SEE ALSO π
rpma_peer_new(3), librpma(7) and https://pmem.io/rpma/ β go read those too, they're iconic, no cap π§
this has been RPMA, dated 01 April 2024 β thanks for coming to my ted talk, love u, go delete responsibly ππ¦πΈπβ¨π
π¦ where this page comes from
- ubuntu noble: librpma-dev 1.3.0-2build2 Β· BSD-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms