Re: Common signal handler system call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 18, 2011 at 1:11 PM, mohit verma <mohit89mlnc@xxxxxxxxx> wrote:
> Hi  folks,
> AFAIK there is not particular system call in Linux  systems that can
> register a number of signals (signal numbers) at once and provide a common
> signal handler for all of the assembled signals.

Did you try giving a common signal handler for two different signals ?

> I know doing this may be
> hardly required in practice.

Why not....for example... I want to print "quitting...." error msg if
I get SIGINT or SIGQUIT.


> But i think this type of system call should be
> in Linux systems which can serve handler functionality on some of signals.
> Please tell me the flaws proposing something like this. i want to work on
> this tiny problem. :)
> --
> ........................
> MOHIT VERMA
>
>
>
> --
> ........................
> MOHIT VERMA
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



-- 
Thanks -
Manish

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux