RAISE(3) Linux Programmer's Manual RAISE(3)

raise - send a signal to the calling process

#include <signal.h>

int raise(int sig);

The raise() function sends a signal to the calling process. It is equivalent to

kill(getpid(), sig);

0 on success, nonzero for failure.

C89, C99.

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

This page is part of release 2.78 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.

1995-08-31 GNU

Different Versions of this Page: