psignal(9r) psignal(9r)
NAME
psignal - General: Sends a signal to a process
SYNOPSIS
void psignal(
struct proc *process,
int signal );
ARGUMENTS
Specifies a pointer to a proc structure. Specifies the signal that you want to send to the specified process. You can specify any of the
signals defined in /usr/sys/include/sys/signal.h.
DESCRIPTION
The psignal routine posts a signal to the specified process. The posting of a signal causes that signal to be added to the set of pending
signals for the specified process. Depending on the state of the process and the state of the process's signals, the specified signal may
be ignored, masked, caught by a tracing parent, or caught by the actual target process. If the signal is to be delivered to the target
process, psignal examines and modifies the process state to prepare the execution of the appropriate signal handler.
RETURN VALUES
None
SEE ALSO
Routines: gsignal(9r)
psignal(9r)