Installs a new signal handler for a specific signal.
This system call is maintained for backwards compatibility and has been superseded by sys_sigaction.
Arguments
eax |
48 |
ebx |
Signal to handle. It can be any valid signal except SIGKILL and SIGSTOP. |
ecx |
Pointer to a user specified function or one of the following values:
SIG_IGN |
Ignore the signal. |
SIG_DFL |
Perform the default action associated with the signal. |
|
|
Return values
If the system call succeeds the return value is the previous value of the signal handler.
If the system call fails the return value is one of the following errno values:
-EINVAL |
Invalid signal specified in ebx. |
-ERESTARTNOINTR |
*to be documented* |
|
Remarks
n/a
Compatibility
n/a |