rpma_conn_req_delete(3)

πŸ“¦
version 1.3.0 Β· 3 versions
, in ubuntu noble

πŸ’– 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:

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