[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    raise(3C) manual page Table of Contents

Name

raise - send signal to program

Synopsis

#include <signal.h>

int raise(int sig);

MT-Level

MT-Safe

Description

raise() sends the signal sig to the executing program.

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(3C) for a list of signals.

Return Values

raise() returns zero if the operation succeeds. Otherwise, raise() returns -1 and errno is set to indicate the error.

See Also

getpid(2) , kill(2) , signal(3C)


Table of Contents