xbc_node_find_subkey(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 xbc_node_find_subkey β€” Kernel API Manual energy ✨

okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is xbc_node_find_subkey. she's a little lookup function and honestly she eats πŸ’…


✨ NAME ✨

xbc_node_find_subkey β€” find a subkey node which matches a given key πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

struct xbc_node * xbc_node_find_subkey (struct xbc_node *parent , const
       char *key );

πŸ’– ARGUMENTS πŸ’–

  • parent β€” an XBC node. yeah, just a node. she's the starting point 🫢
  • key β€” a key string. the thing you're hunting for πŸ”

πŸ”₯ DESCRIPTION πŸ”₯

so what she does is: she searches for a key node under parent that matches key. literally that's the whole vibe ✨

and here's the cute part β€” the key can contain several words jointed with '.'. yes, jointed, that's the word, we're keeping it fr fr 🌈

plot twist: if parent is NULL, she doesn't just give up β€” she searches the node from the whole tree. main character energy, she expands her search radius πŸ˜ŒπŸ‘‘

and if no node is matched? she returns NULL. no match, no node, that's the rule πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

kernel file ./lib/bootconfig.c and all her besties:


and that's the page bestie πŸ’œ she lives in ./lib and she's stamped October 2026 β€” go forth and find those subkeys, ily, slay 🧚🌸

πŸ“¦ where this page comes from