Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:docs:fapi:dossetsighandler [2021/09/18 15:01] – prokushev | en:docs:fapi:dossetsighandler [2021/09/18 15:04] (current) – prokushev | ||
---|---|---|---|
Line 12: | Line 12: | ||
===== Parameters ===== | ===== Parameters ===== | ||
- | ;Routine (PFNSIGHANDLER) - input : Address of the entry point of routine that receives control when a signal equal to SigNumber is received. | + | * Routine (PFNSIGHANDLER) - input : Address of the entry point of routine that receives control when a signal equal to SigNumber is received. |
- | ;PrevAddress (PFNSIGHANDLER FAR *) - output: Address of the previous signal handler. This operand may be coded as null (= 0), then it is ignored. | + | |
- | ;PrevAction (PUSHORT) - output : Address of the previous signal action. Only values 0 to 3 are returned. This operand may be coded as null (= 0), then it is ignored. | + | |
- | ;Action (USHORT) - input : Indicates what action to take when the specified signal is received: | + | |
- | ''' | + | |
- | | + | ^ Value ^ Definition |
- | | + | | 0 | The system default action is installed for the signal. |
- | | + | | 1 | The signal is to be ignored. |
- | | + | | 2 | The routine receives control when the SigNumber occurs. |
- | | + | | 3 | It is an error for any program to signal this SigNumber to this process. |
- | ; SigNumber (USHORT) - input : Signal number to be intercepted by this signal handler. The signal numbers defined are: | + | | 4 | The current signal is reset without affecting the disposition of the signal. |
- | ''' | + | |
- | | + | * SigNumber (USHORT) - input : Signal number to be intercepted by this signal handler. The signal numbers defined are: |
- | | + | |
- | | + | ^ Value ^ Definition |
- | | + | | 1 | Ctrl-C (SIGINTR) |
- | | + | | 3 | Program terminated (SIGTERM) |
- | | + | | 4 | Ctrl-Break (SIGBREAK) |
+ | | 5 | Process flag A (SIGPFA) | ||
+ | | 6 | Process flag B (SIGPFB) | ||
+ | | 7 | Process flag C (SIGPFC) | ||
''' | ''' | ||
| |