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 ]
|