stc
Loading...
Searching...
No Matches
Public Member Functions | List of all members
stc::Unix::LowLevelWrapper Struct Referenceabstract

#include <Process.hpp>

Inheritance diagram for stc::Unix::LowLevelWrapper:
stc::Unix::PTY stc::Unix::Pipe

Public Member Functions

ssize_t writeToFd (const std::string &data, int fd)
 
ssize_t readFromFd (std::array< char, 4096 > &out, int fd)
 
ssize_t readFromFd (std::stringstream &out, int fd)
 
virtual int readFd ()=0
 

Member Function Documentation

◆ readFd()

virtual int stc::Unix::LowLevelWrapper::readFd ( )
pure virtual

Implemented in stc::Unix::Pipe, and stc::Unix::PTY.

◆ readFromFd() [1/2]

ssize_t stc::Unix::LowLevelWrapper::readFromFd ( std::array< char, 4096 > &  out,
int  fd 
)
inline

◆ readFromFd() [2/2]

ssize_t stc::Unix::LowLevelWrapper::readFromFd ( std::stringstream &  out,
int  fd 
)
inline

◆ writeToFd()

ssize_t stc::Unix::LowLevelWrapper::writeToFd ( const std::string &  data,
int  fd 
)
inline

The documentation for this struct was generated from the following file: