RDMA_EVENT_STR(3)

✨ RDMA_EVENT_STR ✨

okay so bestie, welcome to the Librdmacm Programmer's Manual πŸ’– this lil page is section 3, RDMA_EVENT_STR(3), and it's about exactly one tiny iconic function. pull up a chair, we're doing this together 🫢


πŸ’… NAME

rdma_event_str β€” returns a string representation of an rdma cm event.

like. it takes an event. it gives you words back. that's the whole thing, no cap 🌸


🌟 SYNOPSIS

#include <rdma/rdma_cma.h>

char * rdma_event_str (enumrdma_cm_event_type event );"

(ngl the header line above is copy-pasted verbatim, enumrdma_cm_event_type and the trailing " are literally how it's written, so don't come for me 😭 i keep it exactly as-is, that's the rule πŸ’€)


πŸŽ€ ARGUMENTS

  • event β€” the asynchronous event. yes it's asynchronous, it's out here living its own timeline, main character energy fr fr ⭐

πŸ¦‹ DESCRIPTION

Returns a string representation of an asynchronous event.

that's it, that's the function. you hand it an event, it hands you back a cute lil string that says what the event is. it's giving translator but make it rdma πŸ’œ


πŸ‘‘ RETURN VALUE

Returns a pointer to a static character string corresponding to the event.

heads up bestie: it's static, so don't go free()-ing it, don't go mutating it, just vibe with it and read it. periodt πŸ’…

πŸ”₯ SEE ALSO


and that's the page!! you absolutely ate this, i'm so proud πŸ₯Ήβœ¨

librdmacm 🌈 dated 2007-05-15 β€” yeah she's vintage, she's a classic, she's been serving since 2007 and she still slays πŸ‘‘πŸ’– bye bestie, go read the SEE ALSO, iykyk 🧚

πŸ“¦ where this page comes from