Currently At: Programming Reference > C Reference > Other standard C functions > system()

system()


Syntax:
#include <stdlib.h>
int system( const char *command );


Description:
The system() function runs the given command as a system call. 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()


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions