Re: [LIP] signal ( ) versus sigaction ( )

Arun Sharma <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
On Fri, Feb 20, 2004 at 11:25:54PM +0530, Shantanu Kumar wrote:
> Hi,
> 
> Could anybody please explain the difference between signal() and
> sigaction() function calls? I have found independent instances where
> these two are used for identical tasks and any potential differences
> weren't obvious to me.

signal is unreliable. Use sigaction whenever you have a choice.

	-Arun


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.