Copyright (c) 1993 by Thomas Koenig (firstname.lastname@example.org) and Copyright (C) 2008 Michael Kerrisk <email@example.com> %%%LICENSE_START(VERBATIM) Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distrib...
NAMEraise - send a signal to the caller
#include <signal.h> int raise(int sig);
DESCRIPTIONThe raise() function sends a signal to the calling process or thread. In a single-threaded program it is equivalent to
In a multithreaded program it is equivalent to
If the signal causes a handler to be called, raise() will return only after the signal handler has returned.
RETURN VALUEraise() returns 0 on success, and nonzero for failure.
ATTRIBUTESFor an explanation of the terms used in this section, see attributes(7).