Index Index for
Section 9r
Index Alphabetical
listing for P
Bottom of page Bottom of
page

psignal(9r)

NAME

psignal - General: Sends a signal to a process

SYNOPSIS

void psignal( struct proc *process, int signal );

ARGUMENTS

process Specifies a pointer to a proc structure. signal 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)

Index Index for
Section 9r
Index Alphabetical
listing for P
Top of page Top of
page