about summary refs log tree commit diff
path: root/src/libutil/util.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-12T13·35+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-12T13·35+0100
commit28f22b4653bfcf1be41b042c8068b6513dd3e931 (patch)
tree9eadec69bd2e6b35c204976e752bccd48bb07df8 /src/libutil/util.hh
parent5a2d45164899479cb3dfe94cb7659fd522163acc (diff)
Ensure we're writing to stderr in the builder
http://hydra.nixos.org/build/17862041
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r--src/libutil/util.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index 09eb4d6e2b5e..352b83e709f5 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -171,6 +171,7 @@ extern void (*_writeToStderr) (const unsigned char * buf, size_t count);
    requested number of bytes. */
 void readFull(int fd, unsigned char * buf, size_t count);
 void writeFull(int fd, const unsigned char * buf, size_t count);
+void writeFull(int fd, const string & s);
 
 MakeError(EndOfFile, Error)