bio_chain_and_submit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– bio_chain_and_submit(9) πŸ’–

okay bestie, so we're in the Kernel API Manual today and this page is about one little function that does a lot of quiet heavy lifting. it's giving "small but iconic". let's get into it ✨


🌸 NAME 🌸

bio_chain_and_submit β€” literally what it says on the tin: you submit a bio after you chain it onto another one. chain first, submit second, no cap 🫢


πŸŽ€ SYNOPSIS πŸŽ€

struct bio * bio_chain_and_submit (struct bio *prev , struct bio *new );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • prev β€” the bio you're gonna chain and submit. yes, it's doing both jobs, main character energy fr πŸ’…
  • new β€” the bio that prev gets chained onto. it's the one being chained to, iykyk

⭐ DESCRIPTION ⭐

so here's the whole tea: if prev is non-NULL, you chain it to new and then submit it. that's it. that's the function. lowkey elegant, highkey useful 🌈

and if prev is NULL? then there's nothing to chain and nothing getting submitted here β€” the condition is doing all the work, so pay attention to it πŸ‘‘


πŸ”₯ RETURN πŸ”₯

returns new. just new. that's the whole return value, bestie β€” it hands you back the bio you passed in as new πŸ’œ


πŸ‘‘ SEE ALSO πŸ‘‘

and now the friend group 😭 β€” the kernel file ./block/bio.c is where this whole squad lives, and here's everyone:


ngl, that's a long guest list, but every single one of them earned their invite πŸ’€ go read bio_chain(9) next if you wanna see the chaining part on its own β€” it's the prequel 🧚

and that's the whole page!! this little darling comes to you from the source ./block, dated October 2026 β€” mwah, sending you off with a kiss and a struct bio * πŸ“πŸ’–βœ¨

πŸ“¦ where this page comes from