From 7e0f021a9aec35fd8e6725e87e3313b101d26f5e Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Sun, 27 Jan 2008 11:37:44 +0100 Subject: Initial import (2.0.2-6) --- reference/C/FUNCTIONS/system.html | 67 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 reference/C/FUNCTIONS/system.html (limited to 'reference/C/FUNCTIONS/system.html') diff --git a/reference/C/FUNCTIONS/system.html b/reference/C/FUNCTIONS/system.html new file mode 100644 index 0000000..3f508de --- /dev/null +++ b/reference/C/FUNCTIONS/system.html @@ -0,0 +1,67 @@ +system function + + + + + + +
+
+

system function

+
+
+

+The system function is used to issue a command. +Execution of your program will not continue until the command has completed. +

+ +

+Library:   stdlib.h
+
+Prototype: int system(const char *cmd);
+
+Syntax:    system( "cat /etc/hosts");
+
+Notes:
+	   In Unix systems, the command is passed to "/bin/sh -c" for 
+           execution. I do not know what handles the command in DOS systems.
+           
+
+ + example program. +

+


+

See Also:

+ +

+ + +

+ +


+

+

+ + + + +
+ Top + + Master Index + + Keywords + + Functions +
+
+

+


+
Martin Leslie +

+ + -- cgit v1.2.3-54-g00ecf