RPMA_MR_REMOTE_GET_FLUSH_TYPE(3)
π rpma_mr_remote_get_flush_type β the remote MR flush-type getter, bestie edition π
okay so we're in the RPMA Programmer's Manual and today's main character is rpma_mr_remote_get_flush_type, a little function that tells you which flush types a remote memory region has going for it. no cap, that's the whole vibe. π¦
β¨ NAME β¨
rpma_mr_remote_get_flush_type β get a remote memory region's flush types
like, literally what it says on the tin. π
π SYNOPSIS π
#include <librpma.h>
struct rpma_mr_remote;
int rpma_mr_remote_get_flush_type(const struct rpma_mr_remote *mr, int *flush_type);
copy that exactly, bestie, don't be out here freehanding the signature π
πΈ DESCRIPTION πΈ
so basically rpma_mr_remote_get_flush_type() gets the flush types that the remote memory region supports. that's it. that's the function. she's a getter, she's lowkey iconic for it, she does one job and she does it well. β¨
π RETURN VALUE π
rpma_mr_remote_get_flush_type() returns 0 on success, or a negative error code on failure. and listen β on failure she does not set the *flush_type value. not even a little. so don't go reading that variable hoping for crumbs, because you will get nothing. π
π ERRORS π
rpma_mr_remote_get_flush_type() can fail with the following error:
RPMA_E_INVALβmrorflush_typeisNULL. bestie. you passed a null. the vibe check failed. π«
π SEE ALSO π
go read those too, iykyk π§
okay and one lil sign-off because you deserve it: this lil slice of documentation is from RPMA, dated 01 April 2024, and it's the rpma_mr_remote_get_flush_type(3) page, fr fr. mwah. go forth and flush 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