cpp/utility/program/system: Difference between revisions
From cppreference.com
fmt, std:: in example |
m Shorten template names. Use {{lc}} where appropriate. |
||
| Line 7: | Line 7: | ||
Calls the host environment's command processor with command parameter. Returns implementation-defined value (usually the value that the invoked program returns). | 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 {{ | If command is {{|NULL}} pointer, checks if host environment has a command processor and returns nonzero value only if the command processor exists. | ||
===Parameters=== | ===Parameters=== | ||
{{ | {{begin}} | ||
{{ | {{| command | character string identifying the command to be run in the command processor. If NULL pointer is given, command processor is checked for existence}} | ||
{{ | {{end}} | ||
===Return value=== | ===Return value=== | ||
Implementation-defined value. If {{tt|command}} is {{ | Implementation-defined value. If {{tt|command}} is {{|NULL}} returns nonzero value only if command processor exists. | ||
===Example=== | ===Example=== | ||
| Line 32: | Line 32: | ||
===See also=== | ===See also=== | ||
{{ | {{begin}} | ||
{{ | {{see c | c/program/system}} | ||
{{ | {{end}} | ||
[[de:cpp/utility/program/system]] | [[de:cpp/utility/program/system]] | ||