Sends a signal to all of the processes in a process group.
Item | Description |
---|---|
pid | Specifies the process ID of a process in the group of processes to receive the signal. |
sig | Specifies the signal to send. |
The pgsignal kernel service sends a signal to each member in the process group to which the process identified by the pid parameter belongs. The pid parameter must be the process identifier of the member of the process group to be sent the signal. The sig parameter specifies which signal to send.
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 sigaction subroutine contains a list of the valid signals.
The pgsignal kernel service can be called from either the process or interrupt environment.
The pgsignal service has no return values.