◐ Shell
clean mode source ↗

std::raise - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Definido no cabeçalho

<csignal>

int raise( int sig );

Envia um sinal de sig para o programa. O manipulador de sinal, especificados usando signal() é invocado.

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.

Se o usuário definiu a estratégia de manipulação de sinal não for definida pelo signal() ainda, que é definida pela implementação se o sinal será ignorado ou manipulador padrão será chamado.

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.

Parâmetros

sig -

o sinal a ser enviado. Ele pode ser um valor definido de implementação ou um dos valores seguintes:

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.

Valor de retorno

0 sobre sucesso, valor diferente de zero em caso de falha.

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.

Exemplo

Veja também

define um manipulador de sinal para o sinal particular

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.


(função) [edit]