menu_get_parent_menu(9)
π menu_get_parent_menu(9) β Kernel API Manual
okay bestie, welcome to the little corner of the kernel docs where we talk about menus π β yes, this is menu_get_parent_menu from the Kernel API Manual, and honestly? She's short, she's sweet, she does exactly one thing. Let's get into it π
β¨ NAME β¨
menu_get_parent_menu β literally just returns the parent menu, or NULL. that's it. that's the whole gig π
β¨ SYNOPSIS β¨
struct menu * menu_get_parent_menu (struct menu *menu );
no cap, that's the entire signature. one argument, one pointer back out π¦
β¨ ARGUMENTS β¨
menuβ pointer to the menu π«Ά that's the one you're asking about, the main character of this whole operation.
β¨ RETURN β¨
the parent menu β or NULL if there is no parent π so like, if you get NULL back, she's an orphan, she's root, she's got no one above her. vibe check accordingly π
β¨ SEE ALSO β¨
and all of these live in the kernel file ./scripts/kconfig/menu.c πΈ go read the source, iykyk π§
fr fr this one is a tiny function, so don't overthink it β grab the parent, check for NULL, move on with your life π
mwah π that's the page! this cutie came out of ./scripts/kconfig and she's dated October 2026 β see you in the next manpage, bestie πβ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms