cec_msg_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ cec_msg_init(9) β€” Kernel API Manual πŸŽ€

okay bestie, welcome to the Kernel API Manual ✨ this one's about cec_msg_init and it's honestly the softest little starter function ever πŸ’–

🌸 NAME 🌸

cec_msg_init β€” initialize the message structure. that's it, that's the whole job, and she does it flawlessly πŸ‘‘

✨ SYNOPSIS ✨

void cec_msg_init (struct cec_msg *msg , __u8 initiator , __u8
       destination );

🫢 ARGUMENTS 🫢

  • msg β€” the message structure, aka the glow-up target πŸ’…
  • initiator β€” the logical address of the initiator, the one who starts the convo πŸ—£οΈ
  • destination β€” the logical address of the destination πŸ’Œ and btw 0xf means broadcast, so everybody hears it, no cap πŸ“’

🌈 DESCRIPTION 🌈

so basically: the whole structure is zeroed out (clean slate, fresh face, main character energy ✨), then the len field gets set to 1 β€” which is literally a poll message, iykyk 🐝 β€” and finally the initiator and destination get filled in πŸŽ€

that's the vibe check, and she passes every time πŸ’―

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/uapi/linux/cec.h, plus the whole friend group:


and that's the whole page, bestie πŸ’œ this cutie lives in ./include/uapi/linux, dated October 2026, and it's been serving Kernel API Manual realness since day one πŸ§šβ€β™€οΈβ­ go forth and init those messages, mwah πŸ«ΆπŸ’–

πŸ“¦ where this page comes from