Пространства имён
Варианты
Действия

std::system

Материал из cppreference.com

 
 
 
Коммунальные услуги Программа поддержки
Программа прекращения
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.
abort
exit
quick_exit(C++11)
_Exit(C++11)
Взаимодействие с окружающей средой
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
Сигналы
Original:
Signals
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Сигнал типа
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.
SIGABRT
SIGFPE
SIGILL
SIGINT
SIGSEGV
SIGTERM
Нелокальные переходы
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.
setjmp
longjmp
Типы
Original:
Types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
jmp_buf
 
Заголовочный файл <cstdlib>
int system( const char *command );
Звонки командный процессор хост-окружение с параметром команды. Возврат реализации определенного значения (обычно значение, вызванной возвращается программы).
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.
Если команда NULL указатель, проверяет, является ли хост окружающей среды имеет командный процессор и возвращает ненулевое значение, только если командный процессор существует.
Original:
If command is NULL pointer, checks if host environment has a command processor and returns nonzero value only if 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.

Содержание

[править] Параметры

command -
символьная строка определения команды, которая будет работать в команде процессора. Если NULL указателя дано, командный процессор проверяется на существование
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.

[править] Возвращаемое значение

Осуществление определенной стоимости. Если command является NULL возвращает ненулевое значение, только если командный процессор существует.
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.

[править] Пример

[править] См. также