Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can a parent and child process communicate?

Answer Posted / yogesh warad

Parent and child processes can communicate with unnamed pipe,
but the pipe should be created before creating the
child(i.e. forking).
After forking the process, child process inherits all
properties of parent, hence pipe also. This pipe can ce used
to communicate between parent and child process. But if one
wants to use exec(s), then this technique is not useful. The
user have to use named pipe or Message-Queue.



Is This Answer Correct ?    35 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is i-node numbers?

1220


What is unix ipc?

1068


Tell me set-user-id is related to (in unix)?

965


Explain the system calls used for process management?

1029


What are the various schemes available in ipc?

1032


How to write the program on full-duplex communication on bidirectional?

1094


What are the various schemes available?

1006


Explain a zombie?

1102


How to get or set an environment variable from a program?

1025


Please explain fork() system call?

1046


What is daemon?

1087


What is ln(linking)?

1085


What is the full form of ipc?

1188


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

1056


What is the very first process created by kernel?

1107