Espaços nominais
Variantes
Acções

system

Da cppreference.com
< c‎ | program

 
 
Utilitários de apoio do programa
Término do programa
Original:
Program termination
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
Comunicando com o meio ambiente
Original:
Communicating with the environment
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
system
Sinais
Original:
Signals
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Tipos de sinais
Original:
Signal types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Não-locais saltos
Original:
Non-local jumps
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Tipos
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Definido no cabeçalho <stdlib.h>
int system( const char *command );
Chama o processador do ambiente de acolhimento de comando com o parâmetro de comando. Retorna aplicação definida valor (geralmente o valor que o programa retorna invocado).
Original:
Calls the host environment's command processor with command parameter. Returns implementation-defined value (usually the value that the invoked program returns).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Se o comando é NULL ponteiro, verifica se o ambiente de acolhimento tem um processador de comandos e retorna valor diferente de zero somente se o processador de comando existe.
Original:
If command is NULL pointer, checks if host environment has a command processor and returns nonzero value only if it the command processor exists.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Índice

[editar] Parâmetros

command -
cadeia de caracteres que identifica o comando a ser executado no processador de comando. Se o ponteiro NULL é dado, o processador de comando está marcada para a existência
Original:
character string identifying the command to be run in the command processor. If NULL pointer is given, command processor is checked for existence
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

Implementação valor definido. Se command é NULL retorna valor diferente de zero somente se o processador de comando existe.
Original:
Implementation-defined value. If command is NULL returns nonzero value only if command processor exists.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Exemplo

[editar] Veja também