* Refactoring.
This commit is contained in:
@@ -181,6 +181,15 @@ public:
|
||||
~AutoCloseFD();
|
||||
void operator =(int fd);
|
||||
operator int();
|
||||
void close();
|
||||
bool isOpen();
|
||||
};
|
||||
|
||||
class Pipe
|
||||
{
|
||||
public:
|
||||
AutoCloseFD readSide, writeSide;
|
||||
void create();
|
||||
};
|
||||
|
||||
class AutoCloseDir
|
||||
|
||||
Reference in New Issue
Block a user