platform_pr...choices_show(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… platform_pr...choices_show(9) β€” like, the whole vibe

okay so bestie, welcome to the Kernel API Manual entry for platform_pr...choices_show(9). yes the name is truncated, no i don't know why, yes we're moving on. this one's a little show-off function that shows off the available profile choices for the legacy sysfs interface ✨


🌸 NAME 🌸

platform_profile_choices_show β€” Show the available profile choices for legacy sysfs interface

like, it's literally giving "here are your options, bestie" energy πŸ‘‘


✨ SYNOPSIS ✨

ssize_t platform_profile_choices_show (struct kobject *kobj , struct
kobj_attribute *attr , char *buf );

copy it exactly like that, spacing and all, don't come for me 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • kobj β€” The kobject. that's it, that's the whole description, she's mysterious πŸ’…
  • attr β€” The attribute. same deal, iconic minimalism πŸŽ€
  • buf β€” The buffer to write to. this is where the output goes, main character destination fr πŸ“

πŸ”₯ RETURN πŸ”₯

The number of bytes written. that's the whole return section, short and slay πŸ’–

ngl if you were hoping for a dramatic error story here, there isn't one in the source. just bytes. we respect the restraint.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/acpi/platform_profile.c β€” she's the source of truth, go say hi πŸ‘‹

that's the whole crew, the entire friend group, no one left behind 🫢🌈


🌟 tiny reminder bestie: this page is all about platform_profile_choices_show, so don't go confusing her with choices_show(9) β€” they're cousins, not twins, and the manpage doesn't tell us more than that, so i'm not gonna make stuff up 😌

kisses and kernel modules, this one lives in ./drivers/acpi and it's stamped October 2026 β€” go off, queen πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from