Lolly 1.4.28
|
#include <spawn.hpp>
Public Types | |
enum | Direction { CHOUT = 0 , CHIN = 1 } |
Public Member Functions | |
Channel (int s=2048) | |
void | Init (int fd, Direction d) |
void | Init (Direction d) |
void | redirect () |
int | getPipe () const |
void | read (std::string *str) |
int | write (void *data, int lenght) |
void | close () |
void | closeUnused () |
void | wait () |
~Channel () | |
Public Attributes | |
const int | sz |
Private Member Functions | |
enum Direction | otherDirection (Direction t) |
void | restore () |
Private Attributes | |
int | toBeClosed |
int | origin |
int | saved |
int | fd |
std::string * | str |
uintptr_t | tid |
Friends | |
unsigned int | bkgread (void *) |
Channel::Channel | ( | int | s = 2048 | ) |
Channel::~Channel | ( | ) |
void Channel::redirect | ( | ) |
|
inline |
void Channel::close | ( | ) |
void Channel::closeUnused | ( | ) |
|
private |