diff options
Diffstat (limited to 'base/process_util.h')
-rw-r--r-- | base/process_util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/process_util.h b/base/process_util.h index f00016e..ec858bd 100644 --- a/base/process_util.h +++ b/base/process_util.h @@ -67,9 +67,9 @@ ProcessHandle GetCurrentProcessHandle(); int GetProcId(ProcessHandle process); #if defined(OS_POSIX) -// Returns the maximum number of files that a process can have open. -// Returns 0 on error. -int GetMaxFilesOpenInProcess(); +// Sets all file descriptors to close on exec except for stdin, stdout +// and stderr. +void SetAllFDsToCloseOnExec(); #endif #if defined(OS_WIN) |