Syntax | #include <signal.h> int sigstack (struct sigstack *ss, struct sigstack *oss); | |
Description |
A signal stack is specified by a sigstack structure which contains the following elements: char *ss_sp; / * pointer of signal stack */ int ss_onstack; / * current status */ ss_sp is the start address of the stack. If the ss_onstack field is non-zero, the signal stack is If ss is not a null pointer, | |
Return val. | 0 -1 | if successful. if an error occurs. |
Errors |
| |
Notes | Signal stacks are not automatically enlarged like normal stacks. Therefore, an overflow of Portable applications should use Programs should not terminate a signal-handling routine with |