Add comment.
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 16 Jun 2008 12:20:05 +0000 (12:20 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Mon, 16 Jun 2008 12:20:05 +0000 (12:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52313 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/System/Program.h

index ecb909c68eb69ce206b4c2b0af54fb91f757875b..290720b088dd5068bfeb41a2a69f73231cefffea 100644 (file)
@@ -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,