xbc_node_index(9)
π xbc_node_index β it's giving "where am I in the list" energy
okay so bestie, welcome to the xbc_node_index(9) page from the Kernel API Manual β yes we're reading kernel API docs for fun now, this is the personality era π
β¨ NAME β¨
xbc_node_index β literally just Get the index of XBC node. that's the whole vibe. you give it a node, it tells you its index. iconic, no notes π
πΈ SYNOPSIS πΈ
uint16_t xbc_node_index (struct xbc_node *node );
so it returns a uint16_t, and it takes one (1) struct xbc_node * β that's it, that's the whole signature π¦
π«Ά ARGUMENTS π«Ά
nodeβ A target node of getting index. like, this is the node you're being nosy about. you wanna know where this one sits in the list, so this is the one you hand over β¨
π DESCRIPTION π
Return the index number of node in XBC node list.
fr fr that's it β no side quests, no hidden behaviour, no "also it allocates memory" jumpscare. it just hands you back the index number of node in the XBC node list, and you go about your day π
π SEE ALSO π
Kernel file ./lib/bootconfig.c β go read it, it's right there, i believe in you π§
xbc_prepend_embedded_cmdline(9)xbc_embedded_cmdline_applied(9)bootconfig_cmdline_requested(9)xbc_get_info(9)xbc_root_node(9)xbc_node_get_parent(9)xbc_node_get_child(9)xbc_node_get_next(9)xbc_node_get_data(9)xbc_node_find_subkey(9)xbc_node_find_value(9)xbc_node_compose_key_after(9)xbc_node_find_next_leaf(9)xbc_node_find_next_key_value(9)xbc_snprint_cmdline(9)_xbc_exit(9)xbc_init(9)
like. the whole friend group. the way this page links out to everyone is highkey main character energy π
ngl this page is short and sweet β the way it should be. index in, index out, slay π
so anyway, this page lives in ./lib, it's dated October 2026, and yeah β we're still on xbc_node_index(9). bye bestie, go index some nodes πβ¨π
π¦ 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