aboutsummaryrefslogtreecommitdiff
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
commit069f42a058f5e126b7ba1cbb56e357ea3cf83605 (patch)
tree3e2234179d923b65232f59557519f29585b448bf
parent4bd3225088551cab39c71a6a673b10a765c6459d (diff)
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 ecb909c68e..290720b088 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,