We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
Study Groups By Subject code Wise (Click Below on your university link & Join Your Subject Group)
Looking For Something at vustudents.ning.com?Search Here
Question Marks 20
You are required to write a simple C language program to:
In the main() function, first of all you will establish a channel for processes to communicate through pipe system call. After successful creation of pipe, you will create child process through fork() system call.
In the child process, you will have to display your own student Id through the pipe or channel established between processes. In the parent process, you will have to display your own student name through the pipe or channel established between processes.
You will also print the status information of Parent and Child process by using user-defined function printInfo(). The status information includes Process Id and Parent Id in case of Child process and Process ID and Child Id in case of Parent process.
Compilation & Execution of Program:
You will compile your file with your student ID. For example, if your student ID is BC123456789 then you will compile the code according to following screenshot.
Share This With Friends......
Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>
For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.
For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.
Or visit this link
Please Click on the below link to see…
P.S: Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”
Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....
Its idea make it by ur self
pipe(wtmcodex);// creating pipe
pid=fork(); // child process
printf("Student ID: WTMCodex123\n");
printf("Student Name: WTMCodex Media\n");
close(wtmcodex); // Termenating the child process.
void printinfo(char pname)
printf("Process name: %s\n",pname);
printf("My process ID : %d\n", getpid());
printf("My parent's ID: %d\n", getppid());
i have facing problm while downloading these application so plz help me jazakAllah
Follow the links given in assignment.... Sir explained every thing you just need to write code then u can learn...
Can you please tell me how i can open the code file into inbuntu
You have to write code then it will work......
can send code for this assignment. email@example.com
No without wasting time you should learn and start writing code in this way you can learn and understand the subject....
Brother please send the solution