rpma_conn_req_delete(3)
π rpma_conn_req_delete(3) π
okay bestie, welcome to the RPMA Programmer's Manual section for rpma_conn_req_delete(3) β yes it's a whole mouthful, yes it's giving very demure very mindful C library energy, and yes we're gonna get through it together π«Ά
β¨ NAME β¨
rpma_conn_req_delete β bestie, this one deletes the connection requests. that's the whole job. that's the assignment. and it ate π
πΈ SYNOPSIS πΈ
#include <librpma.h>
struct rpma_conn_req;
int rpma_conn_req_delete(struct rpma_conn_req **req_ptr);
likeβ¦ look at her. double pointer. she's confident. she knows what she wants π
π¦ DESCRIPTION π¦
so here's the tea: rpma_conn_req_delete() deletes the connection requests β both incoming and outgoing. incoming? gone. outgoing? also gone. no cap, she does not play favorites π
it's giving equal opportunity cleanup. iconic behaviour honestly.
π RETURN VALUE π
rpma_conn_req_delete() returns 0 on success, or a negative error code on failure.
and listen β this part is important, so lock in π₯: rpma_conn_req_delete() sets *req_ptr value to NULL on success and on failure. both. either way. she's setting it to NULL and that is not up for discussion. no half-finished pointers left behind in this household periodt π
π ERRORS π
not to be dramatic but rpma_conn_req_delete() can fail with the following errors:
RPMA_E_INVALβreq_ptrisNULLπ (bestie. you passed her nothing.)RPMA_E_PROVIDERrdma_destroy_qp(3)oribv_destroy_cq(3)failedrdma_reject(3)orrdma_ack_cm_event(3)failed (passive side only)rdma_destroy_id(3)failed (active side only)
lowkey note the side notes: some of these are passive side only and one is active side only. don't mix them up, she will know π§
π SEE ALSO π
go read her friends, they're all slaying in their own lanes:
and that's the page, bestie!! this was RPMA, dated 01 April 2024 β mwah, sending you a little rpma_conn_req_delete(3) kiss on the forehead, go free your pointers 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