diff options
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r-- | src/libutil/util.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh index 85952535db29..743d238611fc 100644 --- a/src/libutil/util.hh +++ b/src/libutil/util.hh @@ -151,9 +151,9 @@ MakeError(EndOfFile, Error) /* Read a file descriptor until EOF occurs. */ -string drainFD(int fd); +string drainFD(int fd, bool block = true); -void drainFD(int fd, Sink & sink); +void drainFD(int fd, Sink & sink, bool block = true); /* Automatic cleanup of resources. */ |