Programming and posix - February 2001

February 10, 2001
Solution Symposium
Page 56
hp e3000
programming
and posix
signals
signal() & raise() are ANSI C, not POSIX.1
Use sigaction() instead
Signal is generated, pending, delivered
Signal not delivered if process is executing in system
code; signal is delivered upon exit of system code
Process can:
Ignore the signal
Execute a signal-handling function; process resumes
where it was interrupted
Restore the default action of the signal