Read / Write pipe (Process stdin/stdout and IPC communication) More...
#include <File.h>
Public Member Functions | |
Result | createPipe (PipeOptions options={}) |
Creates a Pipe. | |
Result | close () |
Closes the pipe. | |
Public Attributes | |
FileDescriptor | readPipe |
The read side of the pipe. | |
FileDescriptor | writePipe |
The write side of the pipe. | |
Read / Write pipe (Process stdin/stdout and IPC communication)
Result SC::PipeDescriptor::close | ( | ) |
Closes the pipe.
Result SC::PipeDescriptor::createPipe | ( | PipeOptions | options = {} | ) |
Creates a Pipe.
File descriptors are created as blocking and non-inheritable
FileDescriptor SC::PipeDescriptor::readPipe |
The read side of the pipe.
FileDescriptor SC::PipeDescriptor::writePipe |
The write side of the pipe.