pipe_occupancy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this page is pipe_occupancy(9) from the Kernel API Manual β€” and it’s literally right there in the name: we’re checking the number of slots used in the pipe. no cap, that’s the whole assignment. πŸ’…

pipe_occupancy β€” Return number of slots used in the pipe ✨

🌸 SYNOPSIS 🌸

unsigned int pipe_occupancy (unsigned int head , unsigned int tail );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • head β€” The pipe ring head pointer. πŸ‘‘
  • tail β€” The pipe ring tail pointer. πŸŽ€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/pipe_fs_i.h β€” this is the source-file bestie, and the whole squad is linked below:


mwah πŸ’‹ β€” this one is filed under ./include/linux, dated October 2026, and signed pipe_occupancy(9). that’s the whole page, bestie; go be iconic with your pipe slots 🫢✨

πŸ“¦ where this page comes from