On Mon, 22 Nov 2004 14:35:24 +0530, Jagadeesh Bhaskar P <[EMAIL PROTECTED]> wrote: > On Mon, 2004-11-22 at 14:27, Yogesh Bute wrote: > > hi, > > u need to inform the shell that the signal is handled - so u need to > > SIG_IGN the singal ie. signal (signum, SIG_IGN) once u have done with > > handling the signal > > or u could send SIG_DFL, so that default singal handler will handle the > > signal, after your specific signal handler code.
Doing that will probably put you in infinite loop. Infact, the is no way to go further unless you resolve the cause of the exception. For playing with Signals, you can generate SIGUSR1 kill(pid, SIGUSR1) and catch. -- Manish Regmi - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
