Question

How it is possible for the child process to have access to the same pipe which...

How it is possible for the child process to have access to the same pipe which was created and later is used by the parent

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Pipe is one-way communication that means only one process can write at a time and other process can read from file no other process can write when 1 process is writing

pipe is a special file with no extention and it follows FIFO method to read write data.

sometimes pipe is also called "shared communication channel"
in which all the process do share thier data from the one end to in and from another end to out.

pipe can be created by child or by parent and it can be created only once which ever process execute first that will create a pipe using mkfifo() system call if the pipe is already exist then it will not create again but will check the status and share it to exchange data.

if you have any doubt then please ask me without any hesitation in the comment section below , if you like my answer then please thumbs up for the answer , before giving thumbs down please discuss the question it may possible that we may understand the question different way and we can edit and change the answers if you argue, thanks :)

Add a comment
Know the answer?
Add Answer to:
How it is possible for the child process to have access to the same pipe which...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT