rpma_srq_delete(3)

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

rpma_srq_delete πŸ’… delete the shared RQ object

okay so bestie, we're in the RPMA Programmer's Manual today (that's the librpma girlies, the remote persistent memory crew 🧚) and the page we're reading is literally all about saying bye-bye to one little thing. slay.


✨ NAME ✨

rpma_srq_delete β€” delete the shared RQ object 🫢


✨ SYNOPSIS ✨

#include <librpma.h>

struct rpma_srq;
int rpma_conn_req_delete(struct rpma_srq **srq_ptr);

yeah, that's the whole thing. copy it character for character, no cap. πŸ’–


✨ DESCRIPTION ✨

rpma_srq_delete() deletes the shared RQ object. that's it, that's the vibe. it's the goodbye function, the "we're done here" moment, the closing credits 🌸


✨ RETURN VALUE ✨

so here's the tea πŸ“ β€” rpma_srq_delete() returns 0 when it works out, or a negative error code when it does not.

and the detail that lowkey matters most: on success and on failure, rpma_srq_delete() sets the *srq_ptr value to NULL. so either way, that pointer is getting zeroed out. periodt. πŸ’…


✨ ERRORS ✨

rpma_srq_delete() can fail with the following errors, bestie, and there are exactly two so no surprises:


✨ SEE ALSO ✨


this page is brought to you by RPMA and dated 01 April 2024, and yes, it's still filed under the name rpma_srq_delete(3) πŸ¦‹ k byeeee, go free that shared RQ πŸ¦‹

πŸ“¦ where this page comes from