summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Process.h.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-12-05 16:53:17 (GMT)
committerBrad King <brad.king@kitware.com>2003-12-05 16:53:17 (GMT)
commited853b5d70649465370f161b774cf91735a822b3 (patch)
tree23a96d8eba86efd8aa124fd49ca3319689ba02ae /Source/kwsys/Process.h.in
parent97b469537bffbedf2cfbc9c58f208b2641b1544a (diff)
downloadCMake-ed853b5d70649465370f161b774cf91735a822b3.zip
CMake-ed853b5d70649465370f161b774cf91735a822b3.tar.gz
CMake-ed853b5d70649465370f161b774cf91735a822b3.tar.bz2
ENH: Removed pipe selection argument from WaitForData method in kwsysProcess. This greatly simplifies its use.
Diffstat (limited to 'Source/kwsys/Process.h.in')
-rw-r--r--Source/kwsys/Process.h.in13
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/kwsys/Process.h.in b/Source/kwsys/Process.h.in
index 16ccddd..0583c0c 100644
--- a/Source/kwsys/Process.h.in
+++ b/Source/kwsys/Process.h.in
@@ -213,13 +213,9 @@ kwsysEXPORT const char* kwsysProcess_GetErrorString(kwsysProcess* cp);
kwsysEXPORT void kwsysProcess_Execute(kwsysProcess* cp);
/**
- * Block until data are available on a requested pipe, a timeout
- * expires, or the child process terminates. Arguments are as
- * follows:
+ * Block until data are available on a pipe, a timeout expires, or the
+ * child process terminates. Arguments are as follows:
*
- * pipes = Flags for the child output pipes of interest to the caller.
- * Possible values are Pipe_STDOUT and Pipe_STDERR. Multiple
- * pipes may be specified by using the bitwise OR operator '|'.
* data = If data are read, the pointer to which this points is
* set to point to the data.
* length = If data are read, the integer to which this points is
@@ -241,9 +237,8 @@ kwsysEXPORT void kwsysProcess_Execute(kwsysProcess* cp);
* call. Time elapsed has been subtracted from timeout
* argument.
*/
-kwsysEXPORT int kwsysProcess_WaitForData(kwsysProcess* cp, int pipes,
- char** data, int* length,
- double* timeout);
+kwsysEXPORT int kwsysProcess_WaitForData(kwsysProcess* cp, char** data,
+ int* length, double* timeout);
enum kwsysProcess_Pipes_e
{
kwsysProcess_Pipe_STDOUT=1,