Pipes and FIFOs

 

๐Ÿ“ฆ Chapter 44: Pipes and FIFOs
Complete Tutorial Series โ€” TLPI Chapter 44 | EmbeddedPathashala
๐Ÿ“„ 2 HTML Files
๐Ÿ’ป 5 Code Examples
๐ŸŽฏ 15 Interview Qs
๐Ÿง Linux IPC

About This Chapter

Chapter 44 of The Linux Programming Interface covers Pipes and FIFOs โ€” the oldest and most fundamental IPC mechanism in UNIX. This tutorial series breaks the chapter into focused parts with theory, diagrams, code examples, and interview questions for each topic.

๐Ÿ“– Part 1 โ€” Pipes Overview (Section 44.1)

Understand what a pipe is, how it got its name, and all its fundamental properties.

What is a Pipe? Byte stream Unidirectional PIPE_BUF atomicity Pipe capacity (65536) F_SETPIPE_SZ FIFO vs Pipe ls | wc -l explained

๐Ÿ”ง Part 2 โ€” Creating and Using Pipes (Section 44.2)

Hands-on: creating pipes with pipe(), connecting processes with fork(), implementing shell-style piping with dup2().

pipe() syscall filedes[0] and [1] pipe() + fork() pattern Close unused ends EOF detection dup2() for redirection Two-pipe bidirectional Shell pipe simulation SIGPIPE

EmbeddedPathashala

Free Linux System Programming Tutorials for Embedded Engineers

Visit Website

Leave a Reply

Your email address will not be published. Required fields are marked *