difference bet sigset, sigaction and signal
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > difference bet sigset, sigaction and signal




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    difference bet sigset, sigaction and signal  
ravi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-04 07:51 AM

can anyone explain what is the differece between sigaction, sigset and
signal? what are the places where a fn. can be used and where cannot be
used?






[ Post a follow-up to this message ]



    Re: difference bet sigset, sigaction and signal  
Torgny Lyon


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-19-04 10:57 PM

> can anyone explain what is the differece between sigaction, sigset and
> signal? what are the places where a fn. can be used and where cannot be
> used?

They are all used to modify the signal dispositions. signal() is the
is the old interface from V7 (which only supported unreliable signals).
sigset() is found on System V which supports reliable signals and
sigaction() is the POSIX equivalent. I guess a good advice would be to
stick to the POSIX implementation of signals where ever possible and
stay away from signal() since you never know what is hidden beneath.

--
Torgny Lyon <torgny@enterprise.hb.se>
PGP Public Key: http://enterprise.hb.se/~torgny/pgpkey.asc





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:05 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register