1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 13:06:01 +01:00

* Refactoring.

This commit is contained in:
Eelco Dolstra 2004-06-15 13:49:42 +00:00
parent 1bc6afefac
commit 0b70231b9d
3 changed files with 57 additions and 83 deletions

View file

@ -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