sym_get_choice_menu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sym_get_choice_menu(9)

okay so bestie, welcome to the Kernel API Manual ✨ this one's a little function from the kernel's config machinery and honestly? it's giving "small but essential." let's get into it πŸŽ€


✨ NAME ✨

sym_get_choice_menu β€” get the parent choice menu if present 🫢

like, it goes and fetches the parent choice menu for you, but only if present. no cap.


🌸 SYNOPSIS 🌸

struct menu * sym_get_choice_menu (const struct symbol *sym );

that's it. that's the whole vibe. one arg, returns a menu pointer. iconic πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sym β€” a symbol pointer ✨ literally just a pointer to a struct symbol. hand it over and let the function do its thing.

⭐ RETURN ⭐

a choice menu πŸ’– but specifically: if this function is called against a choice member. so the tea is β€” you call it on a choice member, you get the choice menu back. that's the deal, fr fr.


🌈 SEE ALSO 🌈


lowkey reminder: this page is from the Kernel API Manual β€” section 9, kernel API, iykyk 🧚

anyway bestie that's the whole page, go forth and get those choice menus πŸ’œ


signing off from ./scripts/kconfig β€” dated October 2026, page sym_get_choice_menu(9) πŸŽ€ mwah πŸ’‹

πŸ“¦ where this page comes from