Namespaces
Variants

cpp/utility/program/system: Difference between revisions

From cppreference.com
fmt, std:: in example
P12bot (talk | contribs)
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 {{c|NULL}} pointer, checks if host environment has a command processor and returns nonzero value only if the command processor exists.
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===
{{param list begin}}
{{begin}}
{{param list item | command | character string identifying the command to be run in the command processor. If NULL pointer is given, command processor is checked for existence}}
{{| command | character string identifying the command to be run in the command processor. If NULL pointer is given, command processor is checked for existence}}
{{param list end}}
{{end}}


===Return value===
===Return value===
Implementation-defined value. If {{tt|command}} is {{c|NULL}} returns nonzero value only if command processor exists.
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===
{{dcl list begin}}
{{begin}}
{{dcl list see c | c/program/system}}
{{see c | c/program/system}}
{{dcl list end}}
{{end}}


[[de:cpp/utility/program/system]]
[[de:cpp/utility/program/system]]

Revision as of 04:17, 1 June 2013