LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-22-2011, 08:33 AM   #1
gayathriit@ymail.com
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
program using ipc technique in c


i need a program in c that forks parent and child process...first parent process sends a message with its id...then child process replies to parent and has to print its id like "My id is"and its parent id like "my parent id is"...
 
Old 03-22-2011, 10:46 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,504

Rep: Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992Reputation: 3992
Quote:
Originally Posted by gayathriit@ymail.com View Post
i need a program in c that forks parent and child process...first parent process sends a message with its id...then child process replies to parent and has to print its id like "My id is"and its parent id like "my parent id is"...
Ok, then by all means, go ahead and write one. We're not going to do your homework for you.

If you need help, we'll be glad to assist. Post what you've written, along with where you're stuck, and we'll help you out. Otherwise, I suggest reading your textbooks again, or checking Google.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPC using PIPE _C program chakki Linux - Newbie 9 12-08-2010 03:46 AM
Snapshot technique??? mohit_parihar Linux - General 3 11-27-2009 03:44 AM
Tissue technique Pedroski Linux - Hardware 1 11-07-2009 08:18 PM
IPC program sis650 Programming 1 04-27-2005 06:09 PM
IPC Memory Share - C Program - Why not exiting for(;;) ?? brunnopessoa Programming 4 09-05-2004 09:27 PM


All times are GMT -5. The time now is 08:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration