lab5 Pipe Signals
  • Introduction
  • Signals
    • kill() system call
    • Custom signal handler
  • Knowing about pipe
    • Pipe Overview
    • System call pipe()
  • Learn to use pipe
    • Pipe Creation
    • Pipe with fork
    • Exercise 1
  • Connecting two programs with pipe
    • Implement ls | less in C
  • Shell Examples
    • Get Current Path
    • Change Directory
    • Change Environment Variables
  • Reference
Powered by GitBook
On this page

Was this helpful?

  1. Knowing about pipe

System call pipe()

PreviousPipe OverviewNextLearn to use pipe

Last updated 5 months ago

Was this helpful?

In Linux, pipe is created by system call pipe(). Type in terminal to see details.

man 2 pipe

When you read the manual page, try to answer the following questions:

  • Q5:

    What is used for the parameter "int pipefd[2]"?

  • Q6:

    What will be returned by pipe()?