system
Da cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
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.
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.
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.
You can help to correct and verify the translation. Click here for instructions.
[editar] Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar] Veja também
C++ documentation for system
|