◐ Shell
clean mode source ↗

raise — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Déclaré dans l'en-tête

<signal.h>

int raise( int sig );

Envoie un signal sig au programme. Le gestionnaire de signal, spécifié en utilisant signal() est invoquée .

Original:

Sends signal sig to the program. The signal handler, specified using signal() is invoked.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Si la stratégie définie par l'utilisateur manipulation signal n'est pas réglée à l'aide signal() encore, il est défini par l'implémentation si le signal est ignoré ou gestionnaire par défaut sera invoquée .

Original:

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

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Paramètres

sig -

le signal à envoyer. Elle peut être mise en oeuvre définie par une valeur ou une des valeurs suivantes:

Original:

the signal to be sent. It can be an implementation-defined value or one of the following values:

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Retourne la valeur

0 en cas de succès, une valeur non nulle en cas d'échec .

Original:

0 upon success, non-zero value on failure.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Exemple

Voir aussi

définit un gestionnaire de signal pour un signal particulier

Original:

sets a signal handler for particular signal

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction) [edit]