msgb_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME β€” msgb_init(9) ✨

From the Kernel API Manual, bestie πŸ’–: msgb_init initializes the given message buffer struct. That's the whole vibe β€” setup era, no drama, just getting your message buffer struct ready. 🫢

🌸 SYNOPSIS 🌸

The signature is literally this, character for character:

void msgb_init (struct msgbuf *msgb , u8 *ptr , size_t cap );

πŸŽ€ ARGUMENTS πŸŽ€

  • msgb β€” the buffer struct to initialize 🫢
  • ptr β€” pointer to the underlying memory by which the buffer will be backed.
  • cap β€” size of the underlying memory.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this is the setup moment: initialize the given message buffer struct using the provided memory as backing. No cap, that's it. ✨

πŸ’œ SEE ALSO πŸ’œ

The squad and the kernel file are all here, bestie:

Bye bestie! πŸ’…βœ¨ This page comes from the ./drivers/platform/surface/agg... source/version and is dated October 2026 β€” msgb_init(9), out! 🫢

πŸ“¦ where this page comes from