system [C++ Reference]
Keywords: c,other,system
Date: 2008-10-14T15:42:02-0700

[[system]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## system

Syntax:

        #include <cstdlib>
        int system( const char *command );

The system() function runs the given command by passing it to the default command interpreter. The return value is usually zero if the command executed without errors. If command is NULL, system() will test to see if there is a command interpreter available. Non-zero will be returned if there is a command interpreter available, zero if not.

Related Topics: exit, getenv

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •