cpp/utility/program/system: Difference between revisions
From cppreference.com
m Text replace - "{{cpp|" to "{{c|" |
m r2.7.3) (Robot: Adding es, fr, ja, ru, zh |
||
| Line 23: | Line 23: | ||
| output= | | output= | ||
}} | }} | ||
Revision as of 02:11, 5 May 2012
Template:cpp/utility/program/sidebar
| Defined in header <cstdlib>
|
||
int system( const char *command );
|
||
Calls the host environment's command processor with command parameter. Returns implementation-defined value (usually the value that the invoked program returns).
If command is NULL pointer, checks if host environment has a command processor and returns nonzero value only if it the command processor exists.
Parameters
| command | - | character string identifying the command to be run in the command processor. If NULL pointer is given, command processor is checked for existence |
Return value
implementation-defined value. If command is NULL returns nonzero value only if command processor exists.
Example
| This section is incomplete Reason: no example |