📖 Book · ipc · high

🔗 IPC: pipes & fork

A unidirectional kernel byte-stream between a forked parent and child — closing ends, EOF, SIGPIPE.

Inter-process communication with pipes: the unidirectional kernel byte stream, pipe() + fork() with shared inherited fds (runnable — it really forks), why you close the unused ends, how EOF and SIGPIPE work, and where pipes sit among the IPC options.

3 chapters▶ runnable code✦ in-depth animation

What this book covers

  1. 01Talking between processes
  2. 02pipe() + fork() — run it
  3. 03Buffering, EOF & SIGPIPE

Read it in full — runnable C++ + step-through animations

Every chapter of IPC: pipes & fork ships complete, editable code you compile and run in the browser, plus the same in-depth animations as the lessons.