Sends a signal to a process.
Item | Description |
---|---|
pid | Specifies the process ID of the receiving process. |
sig | Specifies the signal to send. |
The pidsig kernel service sends a signal to a process. The pid parameter must be the process identifier of the process to be sent the signal. The sig parameter specifies the signal to send. See the sigaction subroutine for a list of the valid signals.
Device drivers can get the value for the pid parameter by using the getpid kernel service. This value is the process identifier for the currently executing process.
The pidsig kernel service can be called from an interrupt handler execution environment if the process ID is known.
The pidsig kernel service can be called from either the process or interrupt environment.
The pidsig service has no return values.