cec_msg_set_reply_to(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cec_msg_set_reply_to(9) β€” a Kernel API Manual moment

okay bestie, so we're in the Kernel API Manual today and the star of the show is cec_msg_set_reply_to β€” literally the glow-up function for reply messages ✨


🌸 NAME 🌸

cec_msg_set_reply_to β€” fill in destination/initiator in a reply message. that's it, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void cec_msg_set_reply_to (struct cec_msg *msg , struct cec_msg *orig );

it returns void, so no receipts, no return value, it just does the thing πŸ’…


πŸ“ ARGUMENTS πŸ“

  • msg β€” the message structure for the reply. this is the one getting its makeover πŸ‘‘
  • orig β€” the original message structure. the one we're taking notes from, bestie πŸ“

🧚 DESCRIPTION 🧚

so here's what's happening, and it's giving very much "swap era" πŸ”„

Set the msg destination to the orig initiator, and the msg initiator to the orig destination. like, they literally trade places, no cap.

🫢 note note note: msg and orig may be the same pointer, in which case the change is done in place. so it's not weird, it's just efficient. main character energy fr fr.

It also zeroes the reply, timeout and flags fields. poof, gone, reset, fresh start 😌✨


πŸ”₯ SEE ALSO πŸ”₯

like, the whole friend group honestly πŸ’œ


πŸŽ€ and that's the page! brought to you by ./include/uapi/linux, dated October 2026, and yes cec_msg_set_reply_to(9) is still the title of the whole thing. mwah, study hard, iykyk πŸ’–πŸŒˆβ­
πŸ“¦ where this page comes from