Dobby
3.0
Dobby “Docker based Thingy” is a tool for managing and running OCI containers using crun
|
Stream that just redirects all the input to /dev/null. More...
#include <DobbyStream.h>
Public Member Functions | |
int | dupWriteFD (int newFd, bool closeExec) const override |
Returns a dup'd file descriptor for the write side of the stream. More... | |
Stream that just redirects all the input to /dev/null.
This simply returns the fd for /dev/null in the dupWriteFD call.
|
overridevirtual |
Returns a dup'd file descriptor for the write side of the stream.
If the file descriptor newfd was previously open, it is silently closed before being reused. If newFd is -1 then the lowest-numbered unused file descriptor number is used.
[in] | newFd | The number to give the new file descriptor. |
[in] | closeExec | If true the O_CLOEXEC flag is set on the new fd |
Implements IDobbyStream.