pipe_full(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pipe_full(9) β€” like, the kernel API manual, but make it make sense πŸ’–

okay so bestie, listen up β€” this one lives in the Kernel API Manual and it's called pipe_full, and honestly? the name is the whole plot. it tells you if the pipe is full. that's it. that's the function. no cap. 🫢


✨ NAME ✨

pipe_full β€” return true if the pipe is full πŸŽ€

like literally, that's the whole job. she's a vibe check for your pipe. πŸ’…


🌸 SYNOPSIS 🌸

bool pipe_full (unsigned int head , unsigned int tail , unsigned int limit );

yes she takes three unsigned ints and hands you back a bool. icon behaviour. πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • head β€” the pipe ring head pointer. the front of the line, the main character of the ring buffer, iykyk. ✨
  • tail β€” the pipe ring tail pointer. the end of the line, standing behind head like a loyal bestie. πŸ’œ
  • limit β€” the maximum amount of slots available. the ceiling. the final boss. the "no more room at the sleepover" number. 🌈

🧚 SEE ALSO 🧚

the whole friend group, fr fr β€” and heads up, the first one is a kernel file at ./include/linux/pipe_fs_i.h:


go read pipe_empty(9) after this one, it's giving sibling energy πŸ“

and that's the tea, bestie πŸ§‹ β€” this little page ships from the ./include/linux directory, dated October 2026, and it's filed under pipe_full(9). mwah, slay, periodt. πŸ’–πŸ”₯πŸ’…

πŸ“¦ where this page comes from