message_show(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to the message_show(9) page from the Kernel API Manual β€” this is the one about reading a message via sysfs. message_show β€” read message via sysfs. πŸ’–

✨ SYNOPSIS ✨

ssize_t message_show (struct device *dev , struct device_attribute *attr
       , char *buf );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the display device πŸ–₯️
  • attr β€” the display message attribute 🏷️
  • buf β€” the buffer to read the message into πŸ«™

πŸ’… DESCRIPTION πŸ’…

So here’s the vibe: this reads the current message being displayed or scrolled across the display into buf, for reads from sysfs. It’s the sysfs read-side moment, and it’s giving β€œlet me get that message for you.” ✨ No extra plot twists, periodt.

🫢 RETURN 🫢

It returns the number of characters written to buf. That’s the whole return vibe. πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ β€” source/version: ./drivers/auxdisplay Β· date: October 2026

πŸ“¦ where this page comes from