From mboxrd@z Thu Jan 1 00:00:00 1970 From: mohit89mlnc@gmail.com (mohit verma) Date: Sat, 19 Mar 2011 02:42:26 +0530 Subject: Common signal handler system call In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Sat, Mar 19, 2011 at 2:00 AM, Manish Katiyar wrote: > On Fri, Mar 18, 2011 at 1:11 PM, mohit verma > 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 ? > Yes i did. > > > 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. > Ok. i think these messages are for debugging purpose. But anyway let it be common. :) > > > > 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 at kernelnewbies.org > > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > > > > > > > -- > Thanks - > Manish > -- ........................ *MOHIT VERMA* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110319/4f887c4c/attachment-0002.html