rpma_mr_remote_delete(3)

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

πŸ’– rpma_mr_remote_delete β€” delete the remote memory region's structure πŸ’–

okay bestie, welcome to the RPMA Programmer's Manual ✨ this one's short and sweet, it's giving "quick lil cleanup era" 🧹🫢


✨ NAME ✨

rpma_mr_remote_delete β€” deletes the remote memory region's structure πŸ’…


🌸 SYNOPSIS 🌸

#include <librpma.h>

struct rpma_mr_remote;
int rpma_mr_remote_delete(struct rpma_mr_remote **mr_ptr);

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, rpma_mr_remote_delete() deletes the remote memory region's structure. that's it. that's the whole job. she comes in, she cleans up, she leaves πŸ‘‘ no cap.


πŸ’€ RETURN VALUE πŸ’€

rpma_mr_remote_delete() returns 0 on success, or a negative error code on failure. slay when it works, sad girl hours when it doesn't 😭

⚠️ important bestie: on failure, rpma_mr_remote_delete() does not set the *mr_ptr value to NULL. like, it just... leaves it. so don't go assuming it's nulled out, fr fr πŸ™ˆ

🚨 ERRORS 🚨

rpma_mr_remote_delete() can fail with the following error:

  • RPMA_E_INVAL β€” mr_ptr is NULL. yeah she needs an actual pointer, you can't hand her nothing πŸ’€

πŸ‘€ SEE ALSO πŸ‘€


and that's the whole page, bestie!! mwah πŸ’‹ this was RPMA, version dated 01 April 2024, and the page you just read is rpma_mr_remote_delete(3). go forth and free your remote memory regions, icon behavior only πŸŒˆβœ¨πŸ’–

πŸ“¦ where this page comes from