Click here to Skip to main content
15,888,293 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Create a parent process and a child process and using the concept of pipe write a program to pass the first 8 characters of “Hey there! WhatsApp is using me” from the child process to the parent process.

What I have tried:

C
#include<pthread.h>;
#include<stdio.h>;
#include<unistd.h>;
#include<stdlib.h>;
#include<sys wait.h="">;
int main()
{
....
}
Posted
Updated 3-Apr-20 4:39am
v3
Comments
Richard MacCutchan 3-Apr-20 11:53am    
Replace the four dots with the code required in your homework question.

1 solution

Didn't you even bother of Googling[^] for?
 
Share this answer
 
v2
Comments
[no name] 3-Apr-20 11:13am    
sir, need an accurate answer! after googling and doing everything I came here for an answer...
CPallini 3-Apr-20 11:43am    
Do you think the linked page presents inaccurate info?
jeron1 3-Apr-20 12:25pm    
Quote:I came here for an answer...

42.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900