UNION PIPE_INDEX(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’– union pipe_index(9) ๐Ÿ’–

straight outta the Kernel API Manual, it's union pipe_index(9) โ€” the page all about pipe indeces (yes, spelled like that, and we're keeping it because it's iconic). ๐Ÿ’…

๐Ÿฆ‹ NAME ๐Ÿฆ‹

union pipe_index โ€” pipe indeces.

โœจ SYNOPSIS โœจ

okay so here's the whole struct, bestie, copied exactly:

union pipe_index {
    unsigned long head_tail;
    struct {
      pipe_index_t head;
      pipe_index_t tail;
    };
 };

๐ŸŒธ Members ๐ŸŒธ

the field breakdown, no cap:

  • head_tail โ€” an unsigned long union of head and tail โ€” one field carrying the whole situation.
  • {unnamed_struct} โ€” anonymous. no name, just mystery and vibes.
  • head โ€” the point of buffer production. periodt.
  • tail โ€” the point of buffer consumption. also periodt.

๐Ÿ”ฎ SEE ALSO ๐Ÿ”ฎ

the whole friend group is right here:


signed off with love from ./include/linux โ€” October 2026 edition ๐ŸŽ€โœจ

๐Ÿ“ฆ where this page comes from