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/popen.html | 88 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 reference/C/FUNCTIONS/popen.html (limited to 'reference/C/FUNCTIONS/popen.html') diff --git a/reference/C/FUNCTIONS/popen.html b/reference/C/FUNCTIONS/popen.html new file mode 100644 index 0000000..ac93bec --- /dev/null +++ b/reference/C/FUNCTIONS/popen.html @@ -0,0 +1,88 @@ +popen function + + + + + + +
+
+

popen function

+
+
+

+popen is used to read and write to a unix pipe.

This function is NOT +included in 'C Programming Language' (ANSI) but can be found in 'The Standard +C Library' book. + +

+Library:   stdio.h
+
+Prototype: FILE *popen(const char *command, const char *type);
+
+Syntax:    FILE *fp;
+	   fp = popen( "ls -l", "r");
+
+Notes:
+	command - is the command to be issued.
+	type    - r - read O/P from command.
+                - w - Write data as I/P to command.
+
+
+
+

Examples:

+ + example program.

+ +


+

Notes:

+ +
+

See Also:

+ + + +

+ +


+

+

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

+


+
Martin Leslie +

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