Computing.Net > Forums > Unix > Fork trouble

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Fork trouble

Reply to Message Icon

Name: hummer350
Date: July 17, 2008 at 17:51:19 Pacific
OS: unix
CPU/Ram: 1
Product: UNIX
Comment:

I was wondering if someone could help me here. if it's too much trouble then i'm sorry i asked lol...

I am new at creating forks...i know they can fork several times and a child process can use fork to spawn children of it's own. What i need to know is i need to create two subprocesses, from there each subprocess should create one subprocess of it's own. after each fork each parent should use printf to display the process ids of it's offspring.

i hope that makes sense, thanks alot for your help doing this i hope it isn't alot of code, and my prof has been no help !

my email - hummer350z@gmail.com



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: July 17, 2008 at 20:15:09 Pacific
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Fork trouble

Fork Troubles www.computing.net/answers/unix/fork-troubles/7313.html

Trouble compiling with gcc www.computing.net/answers/unix/trouble-compiling-with-gcc/5338.html

Having troubles with PERL www.computing.net/answers/unix/having-troubles-with-perl/6743.html