[llvm-commits] [llvm] r52313 - /llvm/trunk/include/llvm/System/Program.h

Matthijs Kooijman matthijs at stdin.nl
Mon Jun 16 05:20:06 PDT 2008


Author: matthijs
Date: Mon Jun 16 07:20:05 2008
New Revision: 52313

URL: http://llvm.org/viewvc/llvm-project?rev=52313&view=rev
Log:
Add comment.

Modified:
    llvm/trunk/include/llvm/System/Program.h

Modified: llvm/trunk/include/llvm/System/Program.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/Program.h?rev=52313&r1=52312&r2=52313&view=diff

==============================================================================
--- llvm/trunk/include/llvm/System/Program.h (original)
+++ llvm/trunk/include/llvm/System/Program.h Mon Jun 16 07:20:05 2008
@@ -65,6 +65,9 @@
           ///< 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,





More information about the llvm-commits mailing list