system Function

Execute a command.

Include

<stdlib.h>

Prototype

int system(const char *s);

Argument

s command to be executed

Default Behavior

As distributed, this function acts as a stub or placeholder for your function. If s is not NULL, an error message is written to stdout and the program will reset; otherwise, a value of -1 is returned.