C program signal

In Progress Posted Apr 16, 2012 Paid on delivery
In Progress Paid on delivery

Write a C/C++ program called [login to view URL] that waits a brief period of time (10 seconds; using the sleep function) to simulate a daemon process initializing and then waiting for an incoming request.

After this period, the parent process should fork/exec (don't use the system() function call) a child process (call it [login to view URL]). The parent process should then sleep for a longer period of time (2 minutes).

The parent process should determine when the child process exits. The parent process should report the child's PID and it's return/exit status.

The child process should also sleep for a period of time (30 seconds) to simulate a child process performing some work on behalf of the user. After the child process wakes up, it should simply exit with a value of 53.

At each step, both processes should output an informational message to help us understand what is happening, such as the following:

parent: forking child

child: going to sleep

etc.

(This information would typically be written to a log file; you may simply write to stdout.)

C Programming

Project ID: #1568577

About the project

8 proposals Remote project Active Apr 17, 2012

8 freelancers are bidding on average $59 for this job

minhtridn2001

I'm C, C++ expert! I will do it perfectly! Please accept my bid and we start now

$40 USD in 1 day
(22 Reviews)
4.7
pkcoder

Hi sir. I am a qualified programmer. i can do this task. kindly check pmb. Thank you

$35 USD in 0 days
(26 Reviews)
4.6
aleexaibi

hi i am qualified programmer in c,c++ i can handle this job ..!!!

$30 USD in 7 days
(2 Reviews)
1.8
abbasitech

Hi there, chk private message Thanks and Regards, ABBASITECH (IT SOLUTIONZ ISB)

$30 USD in 0 days
(1 Review)
1.8
coderz01

Hello. I am ready to help you with this easy task.

$30 USD in 1 day
(1 Review)
1.6
ChickenSoup

Easy job! I will do it for you

$30 USD in 1 day
(0 Reviews)
0.0
mohitaswal

Hi i am experienced C/c++ programmer , i have working in this area from 3 years please check my PMB

$30 USD in 0 days
(0 Reviews)
0.0
Mp14SKy6D

Pls check PMB.

$250 USD in 1 day
(0 Reviews)
0.0