platform_profile_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… platform_profile_store(9) πŸ’…

okay so bestie, welcome to platform_profile_store(9) β€” literally the kernel API manual page, and yes we're reading it together, it's giving study date energy πŸŽ€

This one is platform_profile_store β€” the function that sets the profile for the legacy sysfs interface. That's the whole vibe. Legacy. Sysfs. Profile-setting. Slay. πŸ¦‹


✨ SYNOPSIS ✨

ssize_t platform_profile_store (struct kobject *kobj , struct
kobj_attribute *attr , const char *buf , size_t count );

four arguments, one ssize_t coming back at you, no cap πŸ’…


🌸 ARGUMENTS 🌸

  • kobj β€” the kobject. that's it, that's the whole description. it's the kobject, bestie 🫢
  • attr β€” the attribute. iconic, no notes ✨
  • buf β€” the buffer to read from. this is where the good stuff lives πŸŽ€
  • count β€” the number of bytes to read. respect the count, always 😌

πŸ’– RETURN πŸ’–

the number of bytes read πŸ”₯ that's the whole return story, periodt.

ngl this manpage is short and sweet and we respect that β€” not every page needs to be a whole saga πŸ’€

🌈 SEE ALSO 🌈

okay so this list is LONG and honestly kind of main character energy β€” literally every related function in the family tree πŸ‘‘

like, the whole friend group showed up to the function party 🧚✨


so yeah, that's the page! short, sweet, sets a profile, returns a byte count, done. go be iconic with it πŸ’œ

later bestie β€” this gem came from ./drivers/acpi, dated October 2026, and it lives in the Kernel API Manual πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from