46 virtual int dupWriteFD(
int newFd = -1,
bool closeExec =
true)
const = 0;
64 int dupWriteFD(
int newFd,
bool closeExec)
const override;
87 int dupWriteFD(
int newFd,
bool closeExec)
const override;
Stream that just redirects all the input to an internal memory buffer.
Definition DobbyStream.h:81
int dupWriteFD(int newFd, bool closeExec) const override
Returns a dup'd file descriptor for the write side of the stream.
Definition DobbyStream.cpp:174
std::vector< char > getBuffer() const
Reads all the data in the buffer.
Definition DobbyStream.cpp:222
Stream that just redirects all the input to /dev/null.
Definition DobbyStream.h:59
int dupWriteFD(int newFd, bool closeExec) const override
Returns a dup'd file descriptor for the write side of the stream.
Definition DobbyStream.cpp:86
Interface for all character streams used in the daemon.
Definition DobbyStream.h:41