menu_get_men..._parent_menu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the menu_get_men..._parent_menu(9) page from the Kernel API Manual. This one is lowkey a tiny little menu helper, and it's giving β€œparent menu or the menu itself” energy. ✨


✨ NAME ✨

menu_get_menu_or_parent_menu β€” return the parent menu or the menu itself

🌸 SYNOPSIS 🌸

struct menu * menu_get_menu_or_parent_menu (struct menu *menu );

πŸŽ€ ARGUMENTS πŸŽ€

  • menu β€” pointer to the menu. literally the struct menu * you're handing over, bestie.

πŸ¦‹ RETURN πŸ¦‹

the parent menu. If the given argument is already a menu, return itself.

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ β€” this page is brought to you by ./scripts/kconfig, October 2026, and the menu_get_men..._parent_menu(9) bestie energy. 🫢

πŸ“¦ where this page comes from