aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-06-16 12:20:05 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-06-16 12:20:05 +0000
commit8c1d6e8cb23ba0265883fa70b94c4bf6c35d8d03 (patch)
tree3e2234179d923b65232f59557519f29585b448bf
parentfb155475069e48d454746362cf9f9e41722d011d (diff)
downloadexternal_llvm-8c1d6e8cb23ba0265883fa70b94c4bf6c35d8d03.zip
external_llvm-8c1d6e8cb23ba0265883fa70b94c4bf6c35d8d03.tar.gz
external_llvm-8c1d6e8cb23ba0265883fa70b94c4bf6c35d8d03.tar.bz2
Add comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52313 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/System/Program.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/System/Program.h b/include/llvm/System/Program.h
index ecb909c..290720b 100644
--- a/include/llvm/System/Program.h
+++ b/include/llvm/System/Program.h
@@ -65,6 +65,9 @@ namespace sys {
///< should have a size of at least three. If the pointer in the array
///< are not null, then the inferior process's stdin(0), stdout(1),
///< and stderr(2) will be redirected to the corresponding Paths.
+ ///< When an empty Path is passed in, the corresponding file
+ ///< descriptor will be disconnected (ie, /dev/null'd) in a portable
+ ///< way.
unsigned secondsToWait = 0, ///< If non-zero, this specifies the amount
///< of time to wait for the child process to exit. If the time
///< expires, the child is killed and this call returns. If zero,