📖 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
▶ See it animated:IPC: Pipes & FIFOs — Unidirectional Byte Streams Between Processes →
What this book covers
- 01Talking between processes
- 02pipe() + fork() — run it
- 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.