diff options
Diffstat (limited to 'nix/libutil/util.hh')
| -rw-r--r-- | nix/libutil/util.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nix/libutil/util.hh b/nix/libutil/util.hh index a07c3be6eb6..ab2395e959f 100644 --- a/nix/libutil/util.hh +++ b/nix/libutil/util.hh | |||
| @@ -173,6 +173,8 @@ MakeError(EndOfFile, Error) | |||
| 173 | /* Read a file descriptor until EOF occurs. */ | 173 | /* Read a file descriptor until EOF occurs. */ |
| 174 | string drainFD(int fd); | 174 | string drainFD(int fd); |
| 175 | 175 | ||
| 176 | void waitForMessage(int fd, const char *message); | ||
| 177 | |||
| 176 | 178 | ||
| 177 | 179 | ||
| 178 | /* Automatic cleanup of resources. */ | 180 | /* Automatic cleanup of resources. */ |
| @@ -300,6 +302,9 @@ void closeMostFDs(const set<int> & exceptions); | |||
| 300 | /* Set the close-on-exec flag for the given file descriptor. */ | 302 | /* Set the close-on-exec flag for the given file descriptor. */ |
| 301 | void closeOnExec(int fd); | 303 | void closeOnExec(int fd); |
| 302 | 304 | ||
| 305 | /* Clear the close-on-exec flag for the given file descriptor. */ | ||
| 306 | void keepOnExec(int fd); | ||
| 307 | |||
| 303 | /* Common initialisation performed in child processes. */ | 308 | /* Common initialisation performed in child processes. */ |
| 304 | void commonChildInit(Pipe & logPipe); | 309 | void commonChildInit(Pipe & logPipe); |
| 305 | 310 | ||
