parse_protocol_change(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the parse_protocol_change(9) page from the Kernel API Manual β€” the icon itself, parse_protocol_change, and its whole job is literally parses a protocol change request ✨


πŸŽ€ SYNOPSIS πŸŽ€

int parse_protocol_change (struct rc_dev *dev , u64 *protocols , const char *buf );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the rc_dev device, main character energy fr fr
  • protocols β€” pointer to the bitmask of current protocols, lowkey the whole mood board
  • buf β€” pointer to the buffer with a list of changes, aka the group chat receipts πŸ“¨

🌸 DESCRIPTION 🌸

okay so here's the tea, no cap β€” this function reads what you wrote and updates the protocol mask accordingly:

  • Writing "+proto" will add a protocol to the protocol mask πŸ’…
  • Writing "-proto" will remove a protocol from the protocol mask 🫢
  • Writing "proto" will enable only "proto" β€” exclusive era πŸ‘‘
  • Writing "none" will disable all protocols πŸ’€

and then it returns the number of changes performed or a negative error code β€” so like, keep an eye on that return value bestie, negative means something went sideways 😭πŸ”₯


🧚 SEE ALSO 🧚

Kernel file ./drivers/media/rc/rc-main.c β€” and here's the whole related squad, iykyk:


kisses and slay, bestie πŸ’‹ β€” this page lives in ./drivers/media/rc, dated October 2026, and it's parse_protocol_change(9) forever and ever πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from