psignal - General: Sends a signal to a process
void psignal(
struct proc *process,
int signal );
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.
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.
None
Routines: gsignal(9r)
psignal(9r)
[ Back ] |