Search Results

Search: Posts Made By: anilchowdhury
Forum: Programming 02-25-2008
4,902
Posted By anilchowdhury
thanx for ur explanations.....!! i m not...
thanx for ur explanations.....!!
i m not interested in making zombies unreapable..all i wanted to hav an idea that whether its possible or not to do it...

If u look at the code above in first...
Forum: Programming 02-24-2008
4,902
Posted By anilchowdhury
thanx for ur reply sir , i had already done my...
thanx for ur reply sir , i had already done my assignment with this logic....:)
but i think the child process was supposed to stay as zombie after the termination of main program not its...
Forum: Programming 02-22-2008
4,902
Posted By anilchowdhury
zombie to exist after the termination of main program..
main()
{
pid_t child;
child=fork();

if(child > 0)

{sleep(60);
}

else
{exit(0);
}

}

the above code will create zombie process,which will be adopted by init as soon as parent...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 04:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy