xbc_node_compose_key_after(9)
π NAME π
okay so bestie, welcome to the xbc_node_compose_key_after(9) page from the Kernel API Manual β she's here to explain the whole XBC-node-key-composing situation, and yes, she ate. The official NAME tea is:
xbc_node_compose_key_afterβ Compose partial key string of the XBC node
β¨ SYNOPSIS β¨
like, the signature is literally:
int xbc_node_compose_key_after (struct xbc_node *root , struct xbc_node
*node , char *buf , size_t size );
π ARGUMENTS π
rootβ Root XBC node. the starting-point girlie for the partial keynodeβ Target XBC node.bufβ A buffer to store the key.sizeβ The size of thebuf.
π¦ DESCRIPTION π¦
okay so the actual vibe: compose the partial key of the node into buf, and that partial key starts right after root β and bestie, root is not included. If root is NULL, this returns full key words of node. The return value is the total length of the key stored in buf.
now the error girlies, because we respect them:
- It returns
-EINVALifnodeisNULL, or ifrootis not the ancestor ofnode, or ifrootisnode. - It returns
-ERANGEif the key depth is deeper than max depth.
This is expected to be used with xbc_find_node to list up all (child) keys under given key. iykyk β that's the whole point, bestie.
π SEE ALSO π
Kernel file ./lib/bootconfig.c is right there, and the whole friend group is:
xbc_prepend_embedded_cmdline(9)xbc_embedded_cmdline_applied(9)bootconfig_cmdline_requested(9)xbc_get_info(9)xbc_root_node(9)xbc_node_index(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_find_next_leaf(9)xbc_node_find_next_key_value(9)xbc_snprint_cmdline(9)_xbc_exit(9)xbc_init(9)
mwah π β source path ./lib, date October 2026, page xbc_node_compose_key_after(9) β bye 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