fork(fork()) is it possible...!!!
if it is possible how it works..???
|
I do not really understand what do you want to achieve. It is possible in general.
|
have you tried it?
why shouldn't it work. Code:
#!/bin/bash |
It is posssible, albeit with some complaints from the C compiler since fork() does not take an argument, but what are you trying to accomplish? The process tree you would end up with after fork(fork()) is
Code:
parent |
All times are GMT -5. The time now is 05:28 PM. |