Advanced Search
Stay Signed In
Don't have an account yet?
Start a Free Trial
Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The Linux Programming Interface
A common use for pipes is to execute a shell command and either read its output or send it some input. The popen() and pclose() functions are provided to simplify this task.
#include <stdio.h> FILE *popen(const char *command, const char *mode);
You are currently reading a PREVIEW of this book.
Get instant access to over $1 million worth of books and videos.