| www.delorie.com/gnu/docs/glibc/libc_518.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
struct sigaction
(see section 24.3.2 Advanced Signal Handling); it is used to specify signal actions
to the sigvec function. It contains the following members:
sighandler_t sv_handler
int sv_mask
int sv_flags
sv_onstack.
These symbolic constants can be used to provide values for the
sv_flags field of a sigvec structure. This field is a bit
mask value, so you bitwise-OR the flags of interest to you together.
sv_flags field of a sigvec
structure, it means to use the signal stack when delivering the signal.
sv_flags field of a sigvec
structure, it means that system calls interrupted by this kind of signal
should not be restarted if the handler returns; instead, the system
calls should return with a EINTR error status. See section 24.5 Primitives Interrupted by Signals.
sv_flags field of a sigvec
structure, it means to reset the action for the signal back to
SIG_DFL when the signal is received.
sigaction (see section 24.3.2 Advanced Signal Handling); it installs the action action for the signal signum,
returning information about the previous action in effect for that signal
in old-action.
EINTR. See section 24.5 Primitives Interrupted by Signals.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |