Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (20 sloc) 0.365 kb
#ifndef GEARBOX_CORE_PIPE_H
#define GEARBOX_CORE_PIPE_H
namespace Gearbox {
class Pipe {
public:
Pipe();
~Pipe();
int fd(int ix);
void close(int ix);
private:
int filedes[2];
};
class ReadPipe: public Pipe {
public:
typedef Pipe super;
ReadPipe();
int fd();
};
}
#endif
Jump to Line
Something went wrong with that request. Please try again.