message_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

message_store β€” write a new message via sysfs. Bestie, welcome to message_store(9) from the Kernel API Manual: it’s literally the sysfs hook that writes a new message. Periodt. πŸ’…

🌈 SYNOPSIS 🌈

ssize_t message_store (struct device *dev , struct device_attribute
       *attr , const char *buf , size_t count );

🧚 ARGUMENTS 🧚

  • dev β€” the display device. That’s the device in question, no cap.
  • attr β€” the display message attribute. The display-message attribute, exactly as advertised.
  • buf β€” the buffer containing the new message. Your new message lives here.
  • count β€” the size of the message in buf. Yep, the count of that message.

πŸ’… DESCRIPTION πŸ’…

Okay so message_store writes a new message to display or scroll across the display from sysfs. That’s the whole vibe: new message in, display-or-scroll out. Slay. ✨

πŸŽ€ RETURN πŸŽ€

It returns the size of the message on success, else -ERRNO. Iconic when it works, dramatic sigh when it doesn’t. 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/auxdisplay/line-display.c, plus these besties:


Source/version vibes: this page lives under ./drivers/auxdisplay, dated October 2026, and yes bestie, it’s the message_store(9) man page. Bye, go write that message πŸ’–πŸ«Ά

πŸ“¦ where this page comes from