mirror of
https://github.com/NixOS/nix
synced 2025-06-27 08:31:16 +02:00
* Refactoring.
This commit is contained in:
parent
1bc6afefac
commit
0b70231b9d
3 changed files with 57 additions and 83 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue