subprocess  0.1.0
Modernsubprocesslibraryforc++
Namespaces | Functions
pipe.cpp File Reference
#include "pipe.hpp"
#include <thread>
#include <fcntl.h>
Include dependency graph for pipe.cpp:

Namespaces

 subprocess
 

Functions

bool subprocess::pipe_set_inheritable (PipeHandle handle, bool inherits)
 
bool subprocess::pipe_close (PipeHandle handle)
 
PipePair subprocess::pipe_create (bool inheritable)
 
ssize_t subprocess::pipe_read (PipeHandle handle, void *buffer, size_t size)
 
ssize_t subprocess::pipe_write (PipeHandle handle, const void *buffer, size_t size)
 
std::string subprocess::pipe_read_all (PipeHandle handle)
 
void subprocess::pipe_ignore_and_close (PipeHandle handle)