Amiga Unix — 68040 · 68060

Manual pages › C library (3C)

raise(3C)

send signal to program

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

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.

SEE ALSO

getpid(2), kill(2), signal(2).