The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 2 of 2
Search took
0.00
seconds.
Search:
Posts Made By:
mariaro
Forum:
Programming
04-30-2008
3
fork multiple shells
6,518
Posted By
mariaro
I'm rewriting my post... It seems it got lost...
I'm rewriting my post... It seems it got lost somehow.
Check the line while(--count). The "While" loop will exit when count is 1, as --count is evaluated to 0, so the child from childpids[0] isn't...
Forum:
Programming
04-30-2008
3
fork multiple shells
6,518
Posted By
mariaro
Hello, You are getting zombies, because the...
Hello,
You are getting zombies, because the child from childpids[0] isn't killed.
See in while(--count) : When count is 1 -> --count gives 0 and loop exits. The program "forget" to kill first...
Showing results 1 to 2 of 2
Member Badges and Information Modal
×