Namespaces
Variants
Views
Actions

raise

From cppreference.com
< c‎ | program
Revision as of 18:34, 2 November 2012 by P12bot (Talk | contribs)

Defined in header <signal.h>
int raise( int sig );

Sends signal sig to the program. The signal handler, specified using Template:rlpf is invoked.

If the user-defined signal handling strategy is not set using Template:rlpf yet, it is implementation-defined whether the signal will be ignored or default handler will be invoked.

Contents

Parameters

sig - the signal to be sent. It can be an implementation-defined value or one of the following values: Template:c/program/dcl list SIG types


Return value

0 upon success, non-zero value on failure.

Example

See also

Template:c/program/dcl list signal