| www.delorie.com/gnu/docs/glibc/libc_480.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The simplest way to change the action for a signal is to use the
signal function. You can specify a built-in action (such as to
ignore the signal), or you can establish a handler.
The GNU library also implements the more versatile sigaction
facility. This section describes both facilities and gives suggestions
on which to use when.
24.3.1 Basic Signal Handling The simple signalfunction.24.3.2 Advanced Signal Handling The more powerful sigactionfunction.24.3.3 Interaction of signalandsigactionHow those two functions interact. 24.3.4 sigactionFunction ExampleAn example of using the sigaction function. 24.3.5 Flags for sigactionSpecifying options for signal handling. 24.3.6 Initial Signal Actions How programs inherit signal actions.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |