raise(3C) DG/UX R4.11MU05 raise(3C)
NAME
raise - send signal to program
SYNOPSIS
#include <signal.h>
int raise (int sig);
DESCRIPTION
raise sends the signal sig to the executing program.
raise returns zero if the operation succeeds. Otherwise, raise
returns -1 and errno is set to indicate the error. raise uses kill
to send the signal to the executing program:
kill(getpid(), sig);
See kill(2) for a detailed list of failure conditions. See signal(2)
for a list of signals.
Considerations for Threads Programming
+---------+-----------------------------+
| | async- |
|function | reentrant cancel cancel |
| | point safe |
+---------+-----------------------------+
|raise | Y N N |
+---------+-----------------------------+
SEE ALSO
getpid(2), kill(2), signal(2), reentrant(3).
Licensed material--property of copyright holder(s)