commit | 25262f9bdee522e3058644dd70d3aa2cb8634d58 | [log] [tgz] |
---|---|---|
author | Casey Dahlin <sadmac@google.com> | Thu Nov 12 14:52:13 2015 -0800 |
committer | Casey Dahlin <sadmac@google.com> | Wed Nov 18 12:01:24 2015 -0800 |
tree | a6c29f32b9f864ee82c83caf94192ab970094ce0 | |
parent | 4dc451ead26a2899ad3eac0cc3d595be85cb742f [diff] |
Introduce unique_fd unique_fds are wrappers for integer file descriptors that automatically close when they go out of scope. They are movable but not copyable and generally mimic the semantics of std::unique_ptr Change-Id: I0657b848b6536d5ad9fc06686e240ea5c387b0ac Test: Considerable exercise in new AIDL integration tests Bug: None Signed-off-by: Casey Dahlin <sadmac@google.com>