Search Results

Search: Posts Made By: sushil_shalin
Forum: Programming 10-07-2010
18,273
Posted By sushil_shalin
Yes, Find below the code.. :) #include...
Yes, Find below the code.. :)

#include <stdio.h>
#include <signal.h>
#include <stdlib.h>
pid_t pid;
void sigHandler(int signo)
{
printf("[%d]signal received \n",getpid());
pid = fork();...
Forum: Programming 10-07-2010
18,273
Posted By sushil_shalin
Hi , As parent will die after 10 mins, i...
Hi ,

As parent will die after 10 mins, i have a requirement where by now child will have to receive SIGHUP signal and repeat the process by creating further child of it.
As soon this grand child...
Forum: Programming 10-06-2010
18,273
Posted By sushil_shalin
Fork and then exec problem with signals
Hi All,

In my program i am handling SIGHUP signal. In the handler i fork and then exec on child process same binary file which is running. Parent process will die after 10 mins.
Now my child...
Showing results 1 to 3 of 3

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