0% found this document useful (0 votes)
35 views1 page

Pipe

This document outlines a C program to implement interprocess communication using pipes. The program creates a pipe using the pipe() system call, creates a child process, and if successful, writes a message to the pipe from the child process. The parent process then reads the message from the pipe and displays it, verifying that interprocess communication was achieved using pipes.

Uploaded by

bharathimanian
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views1 page

Pipe

This document outlines a C program to implement interprocess communication using pipes. The program creates a pipe using the pipe() system call, creates a child process, and if successful, writes a message to the pipe from the child process. The parent process then reads the message from the pipe and displays it, verifying that interprocess communication was achieved using pipes.

Uploaded by

bharathimanian
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

PIPE Aim : To write a C Program to implement interprocess communication using Pipe

Algorithm: 1. 2. 3. Start the program Create a pipe using pipe() system call Create a child process.If the child process is created successfully then write the message into the queue otherwise goto step2 4. 5. Read the message from the pipe and display the message Stop the program

Result :

The program for inter process communication using Pipe is implemented and hence verified.

You might also like