diff options
Diffstat (limited to 'src/libutil/file-descriptor.hh')
-rw-r--r-- | src/libutil/file-descriptor.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/file-descriptor.hh b/src/libutil/file-descriptor.hh index a83bc028f..7270b73b5 100644 --- a/src/libutil/file-descriptor.hh +++ b/src/libutil/file-descriptor.hh @@ -66,10 +66,10 @@ public: }; /** - * Close all file descriptors except those listed in the given set. + * Close all file descriptors except stdio fds (ie 0, 1, 2). * Good practice in child processes. */ -void closeMostFDs(const std::set<int> & exceptions); +void closeExtraFDs(); /** * Set the close-on-exec flag for the given file descriptor. |