std::system
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
Defined in header <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.
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.
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返すコマンドプロセッサが存在する場合にのみ、0以外の値の場合は.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.
[編集] 例
This section is incomplete Reason: no example |
[編集] 参照
C documentation for system
|