Chapter 18. Pipes and Processes

One of the strengths of UNIX is its ability to reuse different process components. The shell demonstrates this by connecting the output of one process to the input of another, using pipes in an almost effortless manner. This chapter will focus on how programs create pipes to other processes using popen(3) and how to use the system(3) function to invoke external processes.

Get Advanced UNIX Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.